logicsrc/apps/pwa/test
Anthony Ettinger 6ff3089088
feat(recovery): assisted recovery, no old email: one-time code + passkey or CoinPay (CLI 0.18.0) (#305)
Email recovery needs the recovery code from the enrollment email. People who
delete their mail lose it, and with it the only way back in.

`logicsrc vault recovery enable --assisted` (opt-in) replaces that code with a
fresh sign-in: recovery asks for the one-time code emailed at that moment and a
confirmation in the browser with a passkey of the account or its connected
CoinPay identity (bound by subject, never by email, never creating an account,
no session made).

- Server: U is kept sealed under VAULT_ESCROW_KEY in vault_recovery_assisted
  (migration 015) only for accounts that ask. A step-up
  (vault_recovery_stepups) is single use, lives ten minutes, names no account
  and is approved only by a proof belonging to the account being recovered.
  The second proof is checked before the one-time code, so a missing
  confirmation never spends it. A claim without a confirmed step-up never
  returns U. disable and a plain re-enroll delete the stored U.
- CLI: `passwd --email` and `vault recover --email` print the link, wait for
  the confirmation, then ask for the one-time code. The re-arm keeps the mode.
- This mode is custodial: the server holds everything that opens the vault.
  docs/opencreds/security.md says so; accounts that do not opt in keep the
  split-key scheme unchanged.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 22:17:56 -08:00
..
app-grants.test.mjs App grants: one secret sealed to an external app (key hub phase 1) (#286) 2026-11-11 05:16:37 -08: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
auto-rotation.test.mjs feat(rotation): buy automatic rotation, $29 per team per 30 days (CoinPay) (#272) 2026-10-29 05:12:01 +00: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-share.test.mjs feat(keyring): revocable share link for SSH public keys (#267) 2026-10-29 01:57:47 +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: keep signing keys out of deployable team vaults (CLI 0.13.0) (#264) 2026-10-28 19:31:28 +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 Use the latest shared footer (#277) 2026-10-31 07:14:35 +00:00
rotation.test.mjs feat(rotation): buy automatic rotation, $29 per team per 30 days (CoinPay) (#272) 2026-10-29 05:12:01 +00:00
seo.test.mjs app.logicsrc.com: sitemap.xml + robots Sitemap line (public pages only) (#294) 2026-11-22 08:03:57 -08:00
signing-keys.test.mjs security: keep signing keys out of deployable team vaults (CLI 0.13.0) (#264) 2026-10-28 19:31:28 +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 Add one-click unlock for all granted vaults 2026-10-30 22:51:34 +00:00
vault-recovery.test.mjs feat(recovery): assisted recovery, no old email: one-time code + passkey or CoinPay (CLI 0.18.0) (#305) 2026-12-02 22:17:56 -08:00