Passkey
How it works
1) Registration: when a credential is created, the authenticator generates a unique key pair for the service origin. The private key stays in the device's secure storage, and the public key is sent to and stored by the Relying Party together with a credential ID. 2) Authentication: the server issues a random challenge. The user unlocks the private key locally with device biometrics or a PIN (user verification). The authenticator signs the challenge with the private key and returns the signature. 3) Verification: the server validates the signature using the stored public key. The private key never leaves the device. The browser and operating system bind the credential to the service origin, so it cannot be used on a phishing site. In WebAuthn, a credential that allows username-less sign-in is called a discoverable credential (resident key).
Problem solved
It addresses the systemic weaknesses of password-based authentication: susceptibility to phishing, mass breaches of password databases, password reuse across services, replay attacks and weak passwords. Because the server stores only the public key, a breach of it does not let an attacker impersonate the user.
Components
The secret key of the pair, kept in the device's secure storage; unlocked locally with biometrics or a PIN.
The public key of the pair, stored by the service along with a credential ID. Leaking it does not allow user impersonation.
A hardware or software component (platform, e.g. phone/laptop, or roaming, e.g. a security key) responsible for generating keys and signing challenges.
Official
The W3C-standardised browser API mediating between the service and the authenticator (the create and get ceremonies).
Part of FIDO2; defines communication between the client (browser/OS) and a roaming authenticator (e.g. a security key).
Implementation
With device-bound passkeys, losing the device can lock the user out; recovery mechanisms or backup credentials are required.
Phishing resistance relies on correct server-side validation of the origin and Relying Party ID; misconfiguration weakens security.
Passkey behaviour differs across operating systems, browsers and password managers, complicating a consistent UX and cross-ecosystem portability.
Evolution
On 4 March 2019 the W3C publishes WebAuthn Level 1 — the public-key credential API that is the technical foundation of passkeys.
On 8 April 2021 the W3C publishes WebAuthn Level 2, extending the public-key credential specification.
In March 2022 the FIDO Alliance publishes a white paper on multi-device FIDO credentials, outlining the synced-passkey concept.
In 2022 Apple, Google and Microsoft announced expanded support for passkey sign-in across their platforms and browsers, popularising the "passkey" branding.
On 25 August 2026 the W3C publishes WebAuthn Level 3, the latest version of the public-key credential specification.
Hyperparameters (configurable axes)
platform (built into the device) or cross-platform / roaming (external hardware key).
Whether the credential is discoverable (enables username-less sign-in): required / preferred / discouraged.
Requirement for local identity confirmation (biometrics/PIN): required / preferred / discouraged.
The credential's cryptographic algorithm encoded in COSE, e.g. ES256 (ECDSA P-256) or RS256.
Whether the credential is synced across devices (synced passkey) or bound to one device (device-bound).