What is a passkey?
A passkey is a login credential based on public-key cryptography that replaces a password. It is stored on the user's device or password manager and unlocked with a biometric or PIN.
Also called: Passkeys, FIDO2 credential, WebAuthn credential
How it works
Passkeys use the FIDO2 and WebAuthn standards. When a user creates a passkey, their device makes a key pair. The website keeps only the public key, and the private key stays on the device or in a synced password manager. To log in, the site sends a challenge, the device signs it with the private key after the user unlocks it with a face, fingerprint or PIN, and the site checks the signature.
Because the site never stores a secret that could log someone in, a data breach of the site does not expose usable credentials.
Why it resists phishing
Each passkey is bound to the domain of the site that created it. If a user visits a fake site, the device will not offer the passkey for that domain, so there is nothing for the attacker to steal. This makes passkeys much stronger than passwords and one-time codes against phishing and credential stuffing.
Example
A hypothetical user receives a convincing email that links to a fake login page for their bank. The page asks them to sign in, but their phone does not offer the bank's passkey because the domain does not match. The user cannot hand over a credential even by mistake.
Limits
Passkeys protect the login, not everything after it. Attackers can still try to take over the account recovery process, steal session cookies, or trick the real user into approving a payment through social engineering. Account recovery is often the weak point, so it needs its own strong checks.
Related terms
- WebAuthnWebAuthn is a W3C web standard that lets websites log users in with public-key credentials, such as passkeys and security keys, instead of passwords.
- Multi-factor authentication (MFA)Multi-factor authentication (MFA) requires two or more different kinds of proof to log in or approve an action, such as something you know, something you have, and something you are.
- PhishingPhishing is a scam where attackers pose as a trusted company or person, by email, text, call or fake website, to trick people into sharing credentials, codes or money.
- Account takeover (ATO)Account takeover is when someone other than the owner gains control of a real user's account, usually with stolen credentials, and uses it to steal money, data or rewards.
- Credential stuffingCredential stuffing is an automated attack that tries large lists of stolen usernames and passwords on a login page, betting that people reuse the same password across sites.
- Step-up authenticationStep-up authentication asks a user for an extra proof of identity only when an action or session looks risky, instead of asking every user for the same checks every time.