Skip to content

Implement versioned unlock-key encryption - #354

Merged
exe-dev-github-integration[bot] merged 1 commit into
mainfrom
GEN-2828-versioned-unlock-encryption
Nov 11, 2026
Merged

exe-dev-github-integration[bot] merged 1 commit into
mainfrom
GEN-2828-versioned-unlock-encryption

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

  • Add browser-compatible unlock-key generation and a versioned AES-256-GCM envelope.
  • Derive non-exportable per-use AES keys with HKDF-SHA-256 and authenticate owner, record ID/type, destination, and revision as associated data.
  • Add deterministic Node and Chromium vectors plus fail-closed and randomized nonce coverage.

Validation

  • Focused Node: node --test test/unlock-crypto.test.mjs (from packages/app).
  • Focused Chromium: npm exec --workspace=factorize-app -- playwright test --config=playwright.functional.config.mjs test/functional/unlock-crypto.spec.mjs.
  • Full required suite: /usr/bin/time -p timeout --signal=TERM --kill-after=5s 590s npm test (189.81s; Node 24.12.0/npm 11.19.0).

@linear

linear Bot commented Nov 11, 2026

Copy link
Copy Markdown

GEN-2828

@asselstine
asselstine force-pushed the GEN-2828-versioned-unlock-encryption branch from 25b90be to 9cf45c8 Compare November 11, 2026 03:31
@exe-dev-github-integration
exe-dev-github-integration Bot merged commit 33fcd8b into main Nov 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant