Status: built (2026-10-05). Tests: apps/id/tests/recovery.test.ts, apps/auth-broker/tests/recovery-level.test.ts. The usual way back into an account without its passkeys is a code sent to the person's email — which makes the mailbox the weakest door to every account it can reach. Passkin ID lets a person close it.
| Level | An emailed code alone… | Losing every passkey and the password… |
|---|---|---|
| Standard (default) | signs the person in, as before | is solved by an emailed code |
| Strong | does not sign anyone in | starts a recovery: it waits, tells everyone, can be cancelled |
Chosen at Passkin ID → Security → Account recovery (needs a proof from the last ten minutes; a notice goes to the person). It can be chosen only when the account has a passkey or a password to sign in with instead — or the person would lock themselves out — and if the last of them is later removed the emailed code works again, so a strong account is never left with no way in.
What a strong account does
An emailed code is sent as always (so nothing differs for someone probing which accounts are strong), and entering the right one starts a recovery instead of signing in:
- It waits — 72 hours by default (
RECOVERY_DELAY_HOURS, 1–720). - Everyone is told. Every verified address on the account gets a mail (in the person's language) saying when the recovery can be finished and how to cancel it; every signed-in Passkin ID session shows a banner on Overview and Security with a Cancel button.
- Anyone who still has the account can cancel it: the link in the mail (it opens a confirmation page first — a mail scanner opening the link cancels nothing), the banner, or simply signing in with a passkey or a password (the owner does not need a recovery, and whoever started one must not be allowed to finish it). A cancel is on the activity, and everyone is told.
- Only the browser that started it can finish it. It holds a secret (a
__Host-cookie; the database keeps its hash). After the wait, that browser's Recover your account page offers Finish recovery, which sends a fresh code to the primary address; entering it completes the recovery once, inside a week of it becoming available. - What finishing does: every other Passkin ID session and every product session of the account is ended (and the products told, as for This wasn't me), the person is signed in with method
recovery(which is not multi-factor and carries noamr: mfato products), every address is told, it is on the activity, and the person is sent to Security to add a new passkey and remove what they lost. Passkeys and second factors are not removed for them: they know what they lost.
At most three recoveries may be started for one account in a day.
The hosted sign-in
A product's sign-in page (auth.passk.in) does not take an emailed code from a strong account either: it says "This account has strong protection… sign in with your passkey or password — or recover the account at Passkin ID", and issues nothing. Recovery lives only at Passkin ID, where it waits and can be cancelled.
What it does not cover — read this before relying on it
- Social sign-in. Someone who controls the person's Google or GitHub account still gets in with it. A second factor on the account (an authenticator app, a phone number) is asked after every first factor but a passkey — including Google — so for the strongest setting use strong protection and a second factor.
- Sign in with Apple / native Google at a product (the phone's own sheet): not an emailed code, unchanged.
- A person whose email and recovery are both compromised and who has no cancel path: the notices go to every address on the account, so add a second address that is not the same mailbox.
- Time-of-check: an attacker who controls the mailbox can cancel nothing but can read the notices; they can finish the recovery after the wait unless the owner cancels, which is why the wait and the notices exist. A person who never reads their mail and has no signed-in session loses this race. The wait is the operator's to lengthen.
Not built
Recovery contacts (a trusted person who approves or cancels, as Apple offers); a verified-identity recovery (a document or video check — VERIFIED.md is optional and gated, and this does not use it); push notices to a phone (mail only until Passkin ID has an app); the level per product (it is the person's, for the account); forcing strong protection on people by a product's policy; a text-message notice (mail to every address is what is built); hardware-key-only mode (Google's "Advanced Protection" also refuses passwords: here a password is a way in); and a longer wait for accounts that were never seen from the requesting browser's country.