Passkeys vs passwords
Not every capability described on this wiki is available today.
Quick answer
A password is a secret you type and the website stores a version of. A passkey is a key pair where the private key stays on your device and the website holds only a public key. Passkeys resist phishing and server breaches in ways passwords cannot.
Summary
Passwords fail because they are shared secrets that people reuse, attackers guess and fake sites collect. Passkeys use public-key cryptography from the FIDO2 standards, so there is no shared secret to steal. This page compares the two, explains synced and device-bound passkeys, and covers the trade-offs, including account recovery.
Key takeaways
- A passkey is a FIDO credential made of a private key on your device and a public key on the website.
- Passkeys are bound to the real website, so a fake site cannot use them.
- A breach of a website's database does not expose anything that can be used to sign in.
- Synced passkeys copy across your devices, and device-bound passkeys never leave one device.
- Your fingerprint or face unlocks the passkey locally and is not sent to the website.
- Account recovery and fallback sign-in methods are the weak points to check.
Introduction
Passwords have been the default way to sign in for decades, and most account takeovers still start with a stolen, guessed or phished password. Passkeys were designed to remove the shared secret that makes those attacks work.
At a glance
| Password | Passkey | |
|---|---|---|
| What it is | A secret string you remember or store | A key pair created for one website |
| What the website stores | A hash of the password | A public key |
| Phishing | A fake site can collect it | Bound to the real site, so a fake site gets nothing usable |
| Server breach | Stolen hashes can be cracked | Public keys are useless to an attacker |
| Reuse across sites | Common | Not possible, since each site gets its own key pair |
| Guessing | Possible for weak passwords | Not practical |
| How you sign in | Type it, often plus a code | Unlock with fingerprint, face or screen lock |
| Recovery | Reset by email or phone | Restore from a passkey provider or use a backup method |
| Support | Everywhere | Most modern devices and browsers, not every site |
Main concepts
How a passkey sign-in works
- Registration. Your device creates a new key pair for the website. The public key goes to the site. The private key stays in your device or passkey provider.
- Challenge. When you sign in, the site sends a random challenge.
- Local unlock. You approve with a fingerprint, face or screen lock. This check never leaves the device.
- Signature. The device signs the challenge with the private key and includes the site’s identity.
- Verification. The site checks the signature with the public key it stored.
Because the signature includes the website’s identity, a response made for a fake site is rejected by the real one. This is what “phishing-resistant” means.
Synced and device-bound passkeys
| Synced passkey | Device-bound passkey | |
|---|---|---|
| Where the private key lives | In a passkey provider that copies it across your devices | On one device or hardware security key |
| Losing a device | Restored from the provider | Lost, so a backup credential is needed |
| Main dependency | Security of the passkey provider account | Physical possession of the device |
| Typical use | Consumer accounts | Higher-assurance and workplace accounts |
US federal guidance in NIST SP 800-63B-4 recognizes both kinds and sets conditions for when synced passkeys meet its assurance levels.
The standards behind passkeys
FIDO2 is the name for two specifications that work together. WebAuthn, from the W3C, is the interface websites and apps call. CTAP, from the FIDO Alliance, lets a browser talk to an external authenticator such as a security key or a phone.
Real-world examples
- Consumer sign-in. A shopper creates a passkey on a phone. On a new laptop, the passkey is already there through the phone maker’s passkey provider.
- Workplace access. An employer issues hardware security keys with device-bound passkeys for administrator accounts, as part of a zero trust approach.
- Cross-device sign-in. A person signs in on a shared computer by scanning a QR code with their phone. The phone must be physically nearby, which blocks remote attackers.
Benefits
- Resistance to phishing, credential stuffing and password guessing.
- Nothing reusable is stored on the website’s servers.
- Faster sign-in with no password to remember or type.
- Fewer password resets for support teams.
Challenges
- Recovery. If every passkey is lost and no recovery method exists, the account can be locked. If the recovery method is weak, it becomes the easiest way in.
- Provider dependence. Synced passkeys are as secure as the passkey provider account that holds them.
- Uneven support. Not every website, app or older device supports passkeys.
- Shared and borrowed devices. A passkey on a shared device can be used by anyone who can unlock it.
- Moving between providers. Transferring passkeys from one provider to another is still maturing.
Best practices
For individuals:
- Turn on passkeys where they are offered, starting with email and financial accounts.
- Protect the passkey provider account with a strong device lock and its own recovery setup.
- Register a second passkey or hardware key for important accounts.
- Use a strong screen lock, since it unlocks your passkeys.
For organizations:
- Offer passkeys as the default and remove weaker fallbacks over time.
- Treat account recovery as part of the sign-in design, with the same level of protection.
- Use device-bound passkeys where higher assurance is required.
- Ask for a fresh check before sensitive actions, not only at sign-in.
Common mistakes
- Adding passkeys but keeping a password and text-message code as an equal alternative, which leaves the old attacks open.
- Assuming the biometric is the credential. It only unlocks the key.
- Having a single passkey on a single device with no backup.
- Designing recovery as an afterthought, such as a reset link sent to an unprotected email account.
How Mitra OS fits
This section is about Mitra OS, not about passkeys in general. Mitra OS uses passwordless, device-bound sign-in with passkeys, and money, health data and irreversible bookings need a fresh biometric step-up confirmation. Account recovery details are not documented yet.
References
- Passkeys, FIDO Alliance.
- Web Authentication: An API for accessing Public Key Credentials, W3C.
- NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management, National Institute of Standards and Technology.
- More than a Password, Cybersecurity and Infrastructure Security Agency.
Frequently asked questions
People also ask
- What is a passkey? (Passkeys)
- Why are passkeys safer than passwords? (Passkeys)
- What if I lose my device? (Passkeys)
- When does Mitra ask me to confirm? (Step-up confirmation)
- Is being signed in enough? (Step-up confirmation)