How do hardware security keys work? FIDO2 and WebAuthn in plain terms
A hardware security key is a small USB, NFC or Bluetooth device that proves your identity to a website using public-key cryptography. It's one of the strongest forms of two-factor authentication available to ordinary users.
How it works:
- When you register the key with a site, the key creates a new key pair just for that site. The site stores the public key; the private key never leaves the device.
- When you sign in, the site sends a random challenge.
- You touch the key (and sometimes enter a PIN), and it signs the challenge with the private key.
- The site verifies the signature with the stored public key.
Why it resists phishing. The browser tells the key which website is asking. A key registered for your real bank won't produce a valid response for a look-alike domain, so even a convincing fake login page gets nothing useful. Codes from SMS or authenticator apps can be typed into fake sites; security keys can't be tricked that way.
FIDO2 and WebAuthn. These are the open standards that make this work across browsers and platforms. Passkeys use the same underlying technology, sometimes stored on your phone or synced through a password manager instead of a separate device.
Practical tips:
- Register at least two keys so losing one doesn't lock you out.
- Keep account recovery options secure, since they can become the weak point.
Do you use a physical security key, passkeys, or both? Where do you keep your backup key?
Comments · 3
Buy two keys and register both. If you lose the only one, getting back into your accounts can be a long process, so a spare in a safe place is cheap insurance.
Do all websites support them? I keep seeing the option on a few accounts, but not everywhere.
Not yet everywhere, but support is growing fast. Many big email, social and banking services offer it, and you can check which ones at the sites that list supported services.