LanguageEnglish
Build →

Learn · QuorumAuth

Passkeys vs passwords

Passkeys replace a shared secret with a key pair bound to one website, which removes the main ways passwords and one-time codes get stolen.

Updated

What each method trusts

Password

  • The server keeps a hash of a secret you also know
  • A fake site can ask for it and replay it anywhere
  • Reused across sites, leaked in breaches
  • You remember it and type it

Passkey

  • The server keeps only a public key
  • The browser ties the signature to the real site, so a look-alike gets nothing usable
  • One key pair per site, so nothing to reuse
  • You unlock your device with a biometric or PIN

In short On security the comparison is not close; the trade-offs sit in rollout and recovery.

Two columns compare a password with a passkey. A password is a shared secret the server stores as a hash, easy to phish and reuse, typed by the user. A passkey keeps the private key on the device, the server stores only a public key, the browser binds the signature to the real site, and the user unlocks with a biometric or PIN.

A password is a secret both sides know; a passkey is a key pair where the secret never leaves your device.

Passwords have been the default for sign-in for decades, and most of their problems come from one property: a password is a secret that both the user and the server know. Anyone who learns it can use it. Time-based one-time codes added a second secret, but one a person still types. Passkeys change the model. The user’s device holds a private key, the server holds a public key, and nothing a person could type into a fake site is ever exchanged.

Comparing passkeys with TOTP codes rather than passwords? TOTP vs passkeys answers which is safer and which one to require, for whom. This page compares passkeys with passwords.

Passkeys vs passwords at a glance

Password Password + TOTP Passkey
What the server stores Password hash Hash plus shared TOTP seed Public key only
Phishing Easily phished Code can be relayed in real time Resistant: browser binds to the site’s origin
Server breach Hashes can be cracked offline Seeds leak too Public keys are useless to attackers
Reuse across sites Possible, and hard to prevent Password part still reused Impossible: one key pair per site
Credential stuffing Main attack vector Blocked by second factor Not applicable
User effort Remember and type Type, then open app and copy code Unlock device with biometric or PIN
Lost-device recovery Reset by email Recovery codes Synced passkeys restore; otherwise backup passkey or recovery path
Standard None for the secret itself RFC 6238 W3C WebAuthn and FIDO CTAP

The comparison is not close on security. The trade-offs sit in rollout and recovery.

How each method works

A password is checked by hashing what the user typed and comparing it with a stored hash. If the user types it into a phishing page, the attacker can replay it anywhere.

TOTP adds a six-digit code derived from a shared seed and the current time. It defeats stolen-password attacks, but a phishing page can ask for the code too and relay it within its validity window.

A passkey is created by the user’s authenticator for one relying party. At sign-in the server sends a challenge, the authenticator signs it after the user unlocks the device, and the server verifies the signature. The WebAuthn API in the browser includes the page’s origin in what gets signed, so a signature made on a look-alike site does not verify.

When passwords or TOTP still make sense

  • Older or locked-down devices that cannot create passkeys.
  • Shared terminals where a personal passkey is not appropriate.
  • Migration periods, while users register their first passkey.
  • Second factor for existing passwords, where passkeys are not yet possible.

Even then, treat them as fallbacks under policy, not equal options. To decide which groups may keep TOTP and which must move, see TOTP vs passkeys: what to require.

A practical migration plan

  1. Offer passkey registration after a successful sign-in. Users are already authenticated, so enrollment is one prompt.
  2. Use email-first or autofill sign-in. Browsers can suggest a discoverable passkey from the username field, so users do not have to choose a method.
  3. Keep recovery strong. Recovery codes or a second passkey, not SMS.
  4. Tighten policy by group. Require passkeys for administrators first, then widen.
  5. Remove weaker fallbacks on failure. A failed passkey sign-in should not quietly drop to a weaker method the policy no longer allows.

With QuorumAuth, you run this migration per organization, with its sign-in policy deciding which fallbacks remain.

Pitfalls

  • Fallback to SMS or email codes. Attackers target the weakest path you leave open.
  • Forcing passkeys before recovery exists. Lockouts erode trust faster than phishing does.
  • Treating TOTP as phishing-resistant. It is not; it stops password reuse, not real-time relays.
  • One-size policy. Administrators and occasional users carry different risk; set different requirements.

How QuorumAuth handles passkeys and passwords

QuorumAuth supports passwords, TOTP, and passkeys side by side, governed by an organization’s sign-in policy. In its tested behaviour:

  • Email-first sign-in continues with the user’s registered passkey, and conditional autofill can start a passkey sign-in without typing an email.
  • Registering a passkey does not break the member’s password sign-in, and the last compliant method is offered first on that browser.
  • A failed sign-in never exposes a weaker fallback the policy disallows. A browser without passkey support uses a standards-based fallback.
  • When a password is correct but a confirmed second factor exists, the response is a challenge, not a session; the session starts only after the correct code.
  • TOTP enrollment returns an otpauth URI and secret, and confirming it returns ten recovery codes.
  • A new member whose organization requires a factor they lack enters an enrollment-only mode until they meet the policy.
  • Sign-up with email and passkey verifies the email before enrollment, and an abandoned passwordless sign-up creates no active account.
Are passkeys safer than passwords?

Yes, against the common attacks. Passkeys cannot be phished onto a fake site, reused across sites, or recovered from a server breach.

Should I still use TOTP if I have passkeys?

TOTP is a reasonable fallback or second factor, but it is phishable. Where users have passkeys, they are the stronger choice.

Can I remove passwords entirely?

A service can, once most of its users have a passkey and a recovery path. Others keep passwords as a policy-controlled option during migration.

Do passkeys work on every device?

Current major browsers and operating systems support them. Plan a fallback for older browsers and shared or locked-down devices.

Talk to sales about QuorumAuth.

QuorumAuth is sold through our sales team. The Build page shows the drop-in sign-in on your origin and how to reach sales about your stack.

Go to Build and contact sales →