logicsrc/apps/pwa/test
Anthony Ettinger ef965b0aaa
feat(passwd): logicsrc passwd --email resets the vault and the keyring with one password (#302)
Email recovery reset the vault only. The SSH keyring kept its old passphrase,
so someone who had forgotten everything recovered the vault and was then
refused by `keyring restore` ("Wrong keyring passphrase").

- `logicsrc passwd --email`: opens the vault with the two emailed codes, then
  puts the vault and the keyring under one new password. New vault recovery
  key, email recovery re-armed, same end state as `vault recover --email`.
- Every `passwd` run stores the keyring's user key as an item in the vault
  (found by a stable id, verified against a keyring entry before use), so the
  vault's way back in is the keyring's too and nobody is asked a second secret.
- A keyring nothing opens is set aside (kept as keyring.bak-NNN) and started
  fresh; keys whose files are still under ~/.ssh with the same fingerprint are
  put back, the rest are named.
- The re-arm email after a recovery had the first-time wording ("run
  logicsrc vault recover --email"), which read as an instruction to recover
  again: three recoveries in five minutes on one account. It now says the
  recovery is complete and there is nothing to do. The CLI says so too.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 21:42:04 -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(passwd): logicsrc passwd --email resets the vault and the keyring with one password (#302) 2026-12-02 21:42:04 -08:00