A passkey is a pair of cryptographic keys. The private key stays on your device and the website keeps the public key. You unlock it with a fingerprint, face or PIN, and it only works on the real site, so phishing cannot steal it.
Table of contents 7 sections
- A passkey is a key pair: the private key never leaves your device and the site stores only the public key.
- It is bound to the real website address, so a lookalike login page gets nothing.
- You unlock it with a fingerprint, face scan or device PIN instead of typing a password.
- Synced passkeys follow you across devices; device-bound ones stay on a single security key.
- Keep a recovery method current before you delete any old password.
If you want to understand how passkeys work, start with what they replace. A password is a shared secret: you know it, the website stores a version of it, and anyone who learns it can sign in as you. A passkey removes the shared secret. Your device holds a private key that never leaves it, and the website keeps only a matching public key that is useless to anyone else.
How passkeys work, step by step
Creating a passkey generates a pair of cryptographic keys. The private key stays on your phone, laptop or in your password manager. The public key goes to the website.
When you sign in later, the site sends your device a random challenge. Your device asks you to prove you are present with a fingerprint, a face scan or your screen PIN, then signs the challenge with the private key. The site checks the signature against the public key you registered. If it matches, you are in. No secret travels across the internet, so there is nothing to intercept and nothing for the site to leak.
The standards underneath are open. Passkeys build on WebAuthn, a web standard from the W3C, and on the FIDO2 specifications from the FIDO Alliance. That is why a passkey on your phone can sign you in on a laptop made by a different company. The developer-run site passkeys.dev covers the technical detail for anyone who wants it.
Why a fake login page cannot steal a passkey
Phishing works because people type passwords into convincing fakes. A passkey is tied to the exact web address it was created for. If you land on a lookalike domain, your browser finds no matching passkey and has nothing to offer. You cannot be tricked into handing over something that the software refuses to hand over.
That is the main security gain, and it is why security agencies single out this kind of sign-in as phishing-resistant. The lures that still work against passwords are covered in our guide on how to spot a phishing email. For the wider picture on extra sign-in checks, see CISA's guidance on multifactor authentication.
Synced passkeys and device-bound passkeys
There are two kinds, and the difference matters when something goes wrong.
- Synced passkeys live in an account such as Apple's iCloud Keychain, Google Password Manager or a third-party password manager, and are copied to your other devices with encryption. Lose a phone, sign in on a new one, and the passkeys return.
- Device-bound passkeys live on one piece of hardware, usually a physical security key, and cannot be copied. They suit people who need the tightest control and are willing to manage a spare key.
How to set up a passkey
- Open the security or sign-in settings of an account that offers passkeys. Google, Microsoft and GitHub all do.
- Choose the option to create a passkey.
- Confirm with your fingerprint, face or device PIN when prompted.
- Next time you sign in, pick the passkey at the prompt instead of typing a password.
- Keep a recovery method current, such as printed recovery codes stored somewhere safe.
Start with the accounts that unlock all the others: your main email, your Apple or Google account and your bank.
What happens if you lose your phone
With synced passkeys, restoring your account on a new device brings them back. With a device-bound key, register a second key before you need it. Either way, do not delete an old password until you have checked that the passkey works on a second device.
The limits of passkeys today
- Not every website offers them yet, so you will still manage some passwords for a while.
- Moving passkeys from one provider to another has been awkward, although the industry is working on a standard way to export and import them.
- A shared or public computer is a poor place to create one. Use the option to sign in with your phone instead.
- A passkey protects the sign-in, not the recovery path. If the recovery email or phone number is weak, an attacker simply goes around the front door.
Should you switch to passkeys?
Yes, wherever the option exists. They are easier than passwords and harder to attack, which is rare in security. Where a site does not offer them, keep a long, unique password in a password manager and add an authenticator app or security key as the second step.
0 comments
No comments yet — be the first.