</>CodexBash
All articles
Security

Passkeys and WebAuthn

How passkeys replace passwords: public-key credentials created with WebAuthn, why they cannot be phished, registration and sign-in step by step, synced and device-bound passkeys, what the server stores, and how to roll them out without locking people out.

CodexBash, , 5 min read

Passwords have two weaknesses that no rule about symbols and length can fix: people reuse them, and people type them into convincing fake websites. Passkeys remove both. A passkey is a pair of cryptographic keys created by your device for one website: the website keeps the public key, your device keeps the private key, and signing in means proving you hold the private key, unlocked with your fingerprint, face or device PIN. Nothing secret is ever typed or sent. This article explains how passkeys work, using the browser standard behind them, WebAuthn.

Sign in to read the rest

The whole 5 minute article is free with an account, along with every problem, lesson and tutorial. No card.