How a passkey works
The FIDO Alliance defines a passkey as “an authentication credential based on FIDO standards, that can be stored on your phone or computer, or in a hardware security key.”1 When you create one, your device makes a new key pair and keeps the private key, and the public key is registered with the service. “A unique passkey is created for each domain and account.”2
To sign in, the site sends a challenge, you approve it with your fingerprint, face, PIN or pattern, and your device signs the challenge with the private key.1 Your fingerprint or face never leaves the device. The site checks the signature with the public key it holds, and since it is not computationally feasible to work out the private key from the public one, a leak of the site’s database gives an attacker nothing to sign in with.2
The standards underneath are FIDO2: WebAuthn in the browser and CTAP between your device and a security key.1 NIST counts this kind of sign-in as phishing-resistant, because the result is bound to the real site’s name.3
Synced and device-bound passkeys
Synced passkeys are copied between your devices through a cloud service, usually your password manager or your phone’s platform, so a new phone already has them. Device-bound passkeys never leave one device, such as a hardware security key.12 Synced passkeys are easier to live with. Device-bound ones are what high-assurance systems ask for, since NIST does not allow keys that can be exported at its highest assurance level.3
Passkey vs password
| Compared | Password | Passkey |
|---|---|---|
| What you use | Something you remember and type | Your device, unlocked with a fingerprint, face or PIN |
| What the site stores | A hash of the password | A public key |
| On a fake site | Can be typed in and stolen | Is not offered |
| Reused across sites | Often | Never, one per site and account |
For the longer story, with how to set passkeys up on your phone and what happens if you lose it, read our guide on the blog.
Related terms
Sources
- FIDO Alliance, Passkeys.
- FIDO Alliance, Passkey Central, How passkeys work.
- NIST, SP 800-63B-4: Authentication and Authenticator Management, sections 2.3.2 and 3.2.5.
Questions about passkeys
Is a passkey safer than a password?
Yes. A passkey can’t be guessed, reused or typed into a fake site, and the site only stores a public key, which is useless to anyone who steals it.
Is a passkey the same as a PIN?
No. The PIN or fingerprint only unlocks the passkey on your device and never leaves it. The passkey itself is a cryptographic key pair.
Is a passkey tied to one device?
It depends. Synced passkeys move between your devices through a cloud service such as your password manager. Device-bound passkeys, such as those on a security key, stay on one device.
Is a passkey better than 2FA?
A passkey can be your second factor, or replace the password and code in one step. It is the kind of 2FA that resists phishing, which text and app codes do not.
Can I use a passkey with Secria?
Yes. Every Secria account can add a second step at sign-in with an authenticator app, a passkey or a security key such as a YubiKey.