Skip to content

How Do Passkeys Work? No Password to Steal, Nothing to Type

How do passkeys work: phone and laptop showing a key and lock for a passkey login

You tap sign in. No password field. Your phone asks for your face, your laptop asks for a fingerprint, and you are in. It feels too easy to be the safer option. It is safer, and the reason is not the fingerprint, which never leaves your device. What changed is what the website holds, and what it asks you to prove.

What is a passkey, in plain terms?

A passkey is a pair of linked cryptographic keys made for one account on one site. Your device creates the pair and keeps the private key. The site keeps the public key. The two keys match each other and nothing else.

A password works the opposite way. You and the site share the same secret. Anyone who learns it can use it from anywhere. A passkey shares no secret. You prove you hold the private key without showing it, like opening a lock in front of someone without handing over the key.

Passkeys are built on the FIDO2 and WebAuthn standards, maintained by the FIDO Alliance and the W3C. WebAuthn is the browser API a site calls to create a credential or use one you already have.

How do passkeys work, step by step

Creating one and using one are two separate flows. WebAuthn guides call them ceremonies, which is a grand word for a short exchange.

Creating a passkey

  1. You sign in the old way once, then choose to create a passkey.
  2. The site sends your browser a fresh random challenge and its own domain details.
  3. Your device makes a new key pair for that site only. The public key goes to the site. The private key stays with the authenticator, the phone, computer, password manager or security key that made it.
  4. The site stores the public key next to your account. It has nothing secret to protect.

Signing in

  1. The site sends a new random challenge. Fresh each time, used once.
  2. Your device asks you to unlock the passkey with a fingerprint, face scan or device PIN. That check happens on the device. The site never sees your fingerprint or your face.
  3. The private key signs the challenge, along with data that names the real site you are on.
  4. The site checks the signature with the stored public key. If the maths lines up, and the challenge and site details match what it sent, you are signed in.

A captured signature is useless next time. The next login uses a different challenge, so a replay gets nowhere.

Why a fake login page gets nothing

Phishing works because a person can be fooled by a page that looks right. One letter off in the address, perfect logo, and you type the password anyway.

A passkey is bound to the domain it was created for, called the relying party ID. Your browser checks that binding for you. Land on a lookalike domain and the device will not offer the passkey for the real site. No code to read out, no secret to type into the wrong box.

That is the structural point in the passkeys vs passwords comparison. It is not a stronger password. It is a login where the reusable secret has been removed.

Passkeys vs passwords, side by side

Point Password Passkey
What the site stores A hash of your secret A public key
What you send at sign in The secret itself A signature over a one-time challenge
Reuse across sites Common, and risky Not possible, one pair per site
Phishing A fake page can capture it Bound to the real domain, so a fake page gets nothing usable
If the site is breached Hashes can be attacked and reused elsewhere Public keys alone do not sign anyone in
Recovery if you lose access Email reset or backup codes Usually email reset or another registered passkey

The last row matters. Lose every device with no synced copy and no second passkey, and you fall back to whatever recovery the site offers. That fallback can be the weakest part of the setup.

Synced vs device-bound passkeys

Two passkeys can behave very differently after you lose a phone.

Synced passkeys are copied, encrypted, through a provider such as Apple Passwords, Google Password Manager or a third party manager. Make one on your phone and it shows up on your laptop. Lose the phone and you can still sign in. The trade is plain: their safety now leans on the account that syncs them, so that account needs a strong login of its own.

Device-bound passkeys never leave one piece of hardware. A security key is the clearest case. Nothing syncs, nothing copies. Tighter guarantee, harsher failure. Lose the key with no backup registered and that credential is gone.

For everyday accounts, a synced passkey plus a second one registered elsewhere is a sane setup. For an account you cannot afford to lose, add a hardware key kept somewhere separate. The FIDO primer hosted by Okta sets out both forms.

What to do on your own accounts

Start where the offer appears. Banks, email, cloud storage and the password manager itself come first, because those unlock the rest. Create the passkey, then sign out and back in with it once while the old method still works. A passkey you have never tested is a hope, not a plan.

Register a second passkey where the site allows it. Keep the password if the site keeps it, but treat it as a leftover door. Check recovery before you need it at midnight with a dead phone.

The site holds a lock, your device holds the only key, and the key never travels. That one change is why a stolen database and a convincing fake page both come up empty.

Sources

Reddit
X
LinkedIn
Pinterest
Tumblr
[nextend_social_login]

Leave a Reply

Your email address will not be published. Required fields are marked *

Independent creator in Rotterdam and New York.

Explore

Work

Legal

Support the work

If this work has been useful, you can support the studio.

Support the work

© iamarchie.com | 2026