What it means
A passkey replaces a password with a key pair. When you register, your authenticator creates a private key and a public key for that one site. An authenticator is a security key, a phone or a laptop. The site keeps the public key. To sign in, the site sends a random challenge. Your browser adds the address of the site it is really on. The authenticator signs both with the private key, and the site verifies the signature. The standards behind this are FIDO2 and WebAuthn. Nothing reusable is typed or sent, so a fake page has nothing to capture.
See the idea / Identity
A passkey signs only for the site that made it.
Follow one passkey sign-in at the real site. Then send the same person to a look-alike site and see why there is nothing to steal.
Priya signs in to Meridian with a device-bound passkey on a FIDO2 security key, so its private key never leaves the key. The real site is chronos.orbital. An origin is the scheme and host of a page’s address, such as https://chronos.orbital. The look-alike is login.chronos-orbital.net, a phishing proxy that relays what it receives to the real site. C41 and C42 are labels for random challenges.
01 / 04
Register
Priya has already registered her security key at chronos.orbital. The key holds a private key for that site, and the site stores the matching public key.
More about this step
At registration the key made a new key pair for the site name chronos.orbital and gave the site the public half. The site keeps no password and no secret for this credential. The private half stays inside the key. This step happened once, before the sign-in that follows.
Step through at your own pace.
Keep in mindOne security key and one sign-in. Attestation, PIN or fingerprint checks on the key, and passkeys that a provider syncs between devices are not shown. A passkey does not protect a session after sign-in. A weak recovery path, such as a reset code sent by text message, can still go around it.
Read the visual, step by step
Real site
- Register. Priya has already registered her security key at chronos.orbital. The key holds a private key for that site, and the site stores the matching public key. At registration the key made a new key pair for the site name chronos.orbital and gave the site the public half. The site keeps no password and no secret for this credential. The private half stays inside the key. This step happened once, before the sign-in that follows.
- Challenge. Priya opens the real sign-in page. The site sends a fresh random challenge, C41. The browser notes the origin it is really on. A challenge is a random value used once, so an old answer cannot be sent again. The browser, not the page, writes the origin into the data that will be signed. Here that origin is https://chronos.orbital. The browser then asks the key for a signature from a credential scoped to chronos.orbital.
- Sign. Priya touches the key. It finds its credential for chronos.orbital and signs the challenge and origin with the private key. The key signs its own data, which includes a hash of the site name, together with a hash of the browser's record of the challenge and origin. The private key is used inside the key and is not sent. The browser returns the signature to the site in the next step.
- Verify. The site receives the signature and checks that the origin is its own, the challenge is C41, and the signature verifies with Priya’s stored public key. She is signed in. These three checks, among others in the standard, must all pass. The origin shows which site the browser was on. The challenge shows the answer is fresh. The signature shows the answer came from the key registered for Priya. The site never saw a secret that could be reused somewhere else.
Look-alike site
- Register. Priya has already registered her security key at chronos.orbital. The key holds a private key for that site, and the site stores the matching public key. At registration the key made a new key pair for the site name chronos.orbital and gave the site the public half. The site keeps no password and no secret for this credential. The private half stays inside the key. This step happened once, before the sign-in that follows.
- Challenge. A lure sends Priya to login.chronos-orbital.net, a proxy for the real site. It relays a real challenge, C42. The browser notes the origin it is really on. The proxy fetches C42 from the real site and shows Priya a copy of the sign-in page. It can copy the page. It cannot change what the browser reports. The origin is https://login.chronos-orbital.net, and the browser will not let that page ask for a chronos.orbital credential, because chronos.orbital is not its own domain or a parent of it.
- No match. Priya touches the key. It holds no credential for the look-alike’s site name, so it signs nothing. The page can only ask for a credential that belongs to its own site name. The key has one credential, and it is for chronos.orbital. No signature is made, so the proxy has nothing to pass to the real site. Priya being fooled by the page does not change this.
- No session. The real site receives no answer to C42 and opens no session. The proxy gained nothing it can use. With a password and a one-time code, the proxy would have relayed both and received the session. Here there was nothing to relay. The lure still happened, and it should still be reported.
One security key and one sign-in. Attestation, PIN or fingerprint checks on the key, and passkeys that a provider syncs between devices are not shown. A passkey does not protect a session after sign-in. A weak recovery path, such as a reset code sent by text message, can still go around it.
Flow references: W3C Web Authentication Level 3: origin, challenge and signature checks
AN ILLUSTRATIVE SCENARIO
A look-alike page gets no signature
Priya, the propulsion lead at Meridian, signs in with a passkey on a security key. A lure sends her to login.chronos-orbital.net, a proxy that copies the real page. Her browser reports that address, not chronos.orbital. The key holds a credential for chronos.orbital only, so it signs nothing. The proxy has nothing to pass on, and the real site opens no session.
Put it to work
- List the accounts that would hurt most if taken over, and check which of their sign-in pages accept passkeys or security keys.
- Register two authenticators for each of those accounts in advance. Then one lost device does not push you to a weaker recovery path.
- Find every other way into the same account, such as a password, a text message code or a service desk reset. Remove or strengthen each one.
How to check your work
From a test account, try to sign in with only the old password, then try the recovery path. Confirm that neither gets in without the passkey or an equally strong check, and that the attempt is logged.
Connect the ideas
- MFA
Authentication that requires more than one factor, such as something you know plus something you have.
- Phishing
Social engineering that tricks a person into revealing authenticators or approving a transaction they did not intend.
- Authentication
The act of verifying a claimed identity with authenticators such as passwords, passkeys, or certificates.
- Account recovery
The process for restoring account access when required authenticators are unavailable, using an approved recovery method.