logicsrc/apps/pwa/test
Anthony Ettinger 1bff3e975c feat(keyring): end-to-end encrypted keyring for SSH keys and key pairs, optional cloud sync (CLI 0.12.0)
`logicsrc keyring` (alias `kr`; `keys` is API keys): add/gen/list/show/restore/
rm/export --pub/sync/status. A keyring is an OpenCreds user-profile vault (same
PBKDF2-600k + HKDF + AES-256-GCM scheme as `logicsrc vault`, recovery key);
each private key is an OpenCreds `key` item envelope, public halves stay
readable. Works fully local under ~/.config/logicsrc/keyring; `keyring sync`
pushes ciphertext to the account. restore writes the default file name,
600/644, refuses a different existing key without --force and backs it up
first; private keys are printed only with --print-private.

- apps/pwa: /api/keyring (person Bearer key; session read-only; machine keys
  refused), additive migration 008_keyring, server refuses any upload that
  carries plaintext private key material (incl. base64'd PEM "ciphertext");
  /keyring page lists public halves and decrypts in the browser (WebCrypto,
  same derivation) for download.
- logicsrc-mcp: list/show/export_authorized_keys/add (sealed only)/remove/
  restore instructions; never returns a private key.
- docs/keyring.md served at /docs/keyring.
- Tests: crypto round trip, ssh-keygen fingerprint parity, AAD binding,
  restore perms + overwrite guard + backup, two-machine sync, server stores
  ciphertext only, browser decrypt opens CLI-sealed envelopes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:45:46 +00:00
..
appbar.test.mjs fix(pwa): unbreak sign-out, and stop echoing $PUBLIC_ORIGIN in the CLI hint (#108) 2026-07-30 10:56:36 -07:00
cli-hint.test.mjs feat(credentials): link directories to team secrets (#129) 2026-08-04 17:17:04 -07:00
credshare-rekey.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
credshare-vaults.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
identity-hardening.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
keyring.test.mjs feat(keyring): end-to-end encrypted keyring for SSH keys and key pairs, optional cloud sync (CLI 0.12.0) 2026-10-28 18:45:46 +00:00
machine-keys.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
opencreds-sync.test.mjs vault: autosync the personal vault to the logicsrc account (#226) 2026-10-04 03:45:25 -07:00
origin.test.mjs fix(pwa): return the caller's own host in the CLI device-flow URLs (#105) 2026-07-30 09:19:37 -07:00
ring-footer.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
signup-profile.test.mjs feat(pwa): signup profile fields via @profullstack/profile (#256) 2026-10-26 04:24:44 -07:00
team-members.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
vault-page.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00