How passkeys replace passwords without sending a secret to the site
Each service receives a public key; the private key remains under the authenticator or credential manager’s control and signs challenges after local unlocking.
R42 / SUMMARY
A passkey replaces a password with a cryptographic key pair tied to the service’s domain. The site stores only the public key; the private key remains under the control of an authenticator or credential manager and signs a unique challenge after local user verification. This reduces phishing and password-database risks, but it does not remove account-recovery abuse, session theft, or compromise of the device or legitimate service.
KEY POINTS
- A passkey is a public-key credential created for a service and bound to that service’s domain identifier.
- The server stores the public key; the private key is not sent to the site and signs unique authentication challenges.
- Biometrics, a PIN or a pattern authorize local use of the credential and are not delivered to the service.
- Domain binding prevents a fake page from requesting the legitimate passkey for another site.
- Synchronization improves recovery but places some trust in the provider; fallback passwords and SMS can remain the weak link.
Passwords operate as shared secrets: the user knows a string and the service keeps data that can validate it. Even when the database stores only a protected representation, authentication still depends on something that can be typed into the wrong page, reused, or captured. A passkey changes that relationship. Instead of sending a secret to the website, the device produces a signature that the server can verify.
The term describes a user experience rather than one isolated new algorithm. On the web, passkeys are implemented through WebAuthn and FIDO standards, coordinating the browser, operating system, authenticator, and service. The result may look simple — unlock with a face, fingerprint, PIN, or pattern — but the proof received by the site is cryptographic and separate from the local unlock method.
Registration creates two keys
When a user registers a passkey, the service sends creation parameters to the browser. The authenticator generates an asymmetric pair: a public key and a private key. The public key goes back to the service and is associated with the account. The private key is not sent to the site; it remains under the control of the authenticator or credential manager.
Each credential is also tied to a Relying Party ID, normally derived from the service’s domain. This separates credentials: a passkey created for one domain is not a universal key that any page can request. The service stores enough information to identify the credential and verify signatures, but it does not receive material that would let it create those signatures itself.
Signing in means signing a unique challenge
During authentication, the server sends an unpredictable challenge. The browser looks for a credential compatible with the domain and asks the user for authorization. After local verification, the authenticator uses the private key to sign data that includes the challenge and information about the operation’s context. The server checks that signature with the registered public key.
The challenge changes for every attempt. Copying an earlier response is therefore not enough to replay the login. The server never needs to reconstruct or know the private key; it only verifies whether the signature could have been produced by the matching credential.
Why a fake page loses its advantage
In a phishing attack, a page often imitates the real service to persuade a victim to surrender a password. With passkeys, the browser and operating system check the domain before offering the credential. A look-alike but different address does not match the identifier for which the passkey was created and cannot request the legitimate key.
This protection does not make the account invulnerable. Malicious code running within the legitimate origin, theft of an already authenticated session, compromise of the device, and abuse of account recovery remain separate risks. Phishing resistance chiefly describes the inability to reuse the credential on an impostor domain.
Biometrics only release the credential locally
Fingerprints and facial recognition are not sent to the service. They can be used by the device to verify that the person present is allowed to invoke the private key. A local PIN or pattern can serve the same purpose. To the website, the relevant result is a valid signature and, when required, an indication that user verification occurred.
This distinction also explains why changing a device’s unlock method does not require enrolling a new fingerprint with every website. The service knows the public key, not the face, finger, or code used to release the credential.
Synchronization trades isolation for recovery
Passkeys can remain bound to a device or be synchronized by a credential manager. Syncing makes it easier to sign in on a new device and reduces the risk of lockout after loss or damage. In return, protection of the provider account, its recovery process, and its synchronization system becomes part of the security model. Comparative research treats this concentration of trust as an important difference from keys kept only in hardware.
For credentials that are not synchronized, it is prudent to register more than one authenticator or confirm a recovery path before relying on a single key. WebAuthn itself does not define how services must restore accounts after every authenticator has been lost.
Migration does not automatically remove the weak link
Many services keep passwords, email, or SMS as alternatives while rolling out passkeys. This helps users recover access, but it can also preserve an easier route for attackers. The account’s practical security depends on the weakest remaining path capable of resetting or taking it over.
Passkeys solve a specific and meaningful problem: they remove a reusable secret that users must surrender to a website from everyday sign-in. The benefit is greatest when the service also protects recovery, sessions, and sensitive account changes, and when users keep their devices and credential managers secure.
Misael
Responsible for reporting and writing this story at Rota42.
R42 / FAQ
What is a passkey?
It is a credential based on public-key cryptography, usually created by a browser, operating system or credential manager for a specific service. It replaces typing a password with producing a cryptographic signature.
Is my fingerprint or face sent to the website?
No. A biometric, PIN or pattern locally unlocks use of the credential. The website receives a signed cryptographic proof, not the biometric data used by the device.
Why is a passkey more resistant to phishing?
The credential is bound to the service’s domain identifier. An impostor site on another domain cannot request the legitimate passkey, while a password can be typed into and surrendered to the wrong page.
What happens if I lose my phone?
It depends on how the passkey was stored. A synced credential may return after the credential manager is recovered; a device-bound credential requires another authenticator or a recovery method configured in advance.
Is a passkey the same as two-factor authentication?
Not exactly. A passkey can combine possession of the credential with local user verification in one flow, but how a service counts those factors depends on its policy and implementation. Extra checks may still be required for sensitive actions.