RandomKeygen
13 min read
GUIDEPASSWORDS

Passkeys vs Passwords: A Technical Guide

Passkeys replace shared secrets with origin-bound public-key cryptography. Here is how FIDO2/WebAuthn stops modern phishing proxies, where synced passkeys differ from hardware keys, and the real-world limitations that still matter in 2026.

The short answer: Passkeys are strictly stronger than passwords—and even stronger than passwords paired with SMS or TOTP 2FA—because no shared secret ever leaves your device or crosses the network. However, passkeys do not eliminate account recovery risks, cross-ecosystem friction, or the need for a strong master passphrase protecting your root vault.

The short answer: what passkeys actually solve

A password is a shared secret: you prove your identity by typing the exact same string the server already knows (in hashed form). That symmetry creates three structural failures that no password-complexity policy can cure:

  • Credential stuffing: Reuse a password across two sites, and a breach at a low-security forum compromises your email or brokerage.
  • Server-side breach exposure: Even properly salted password hashes can be attacked offline if a database leaks and users picked predictable passwords.
  • Real-time phishing proxies: A convincing look-alike website can capture both your password and your 6-digit authenticator code and immediately sign in as you.

Passkeys—built on the FIDO2 standards (WebAuthn in the browser and CTAP2 between the OS and external authenticators)—eliminate all three failure modes by switching authentication from shared secrets to per-site asymmetric public-key cryptography. This guide is independently written from W3C, FIDO Alliance, and NIST specifications with zero affiliate links.

Under the hood: FIDO2, WebAuthn, and CTAP2

Despite the consumer branding, a passkey is simply a discoverable FIDO2 credential(also called a resident key) composed of an asymmetric keypair—most commonly ECDSA over NIST P-256 (ES256) or Ed25519 (EdDSA)—bound to a specific Relying Party identifier (rpId, such as github.com).

Two protocols work together to complete a login:

  • WebAuthn (W3C standard): The browser JavaScript API (navigator.credentials.create() for registration andnavigator.credentials.get() for sign-in) that mediates between the website and the operating system or password manager.
  • CTAP2 (Client to Authenticator Protocol): The binary protocol used when the operating system talks to an external authenticator over USB, NFC, or Bluetooth Low Energy (caBLE / hybrid transport, the QR-code scan flow that lets your phone sign into a nearby desktop browser).
WebAuthn authentication protocol
# WebAuthn / FIDO2 Assertion Flow (Authentication)
1. Relying Party (example.com) sends:
   challenge = 32 random bytes (single-use)
   rpId      = "example.com"

2. Browser inspects the true URL bar origin and builds clientDataJSON:
   {
     "type": "webauthn.get",
     "challenge": "<base64url-nonce>",
     "origin": "https://example.com"   // Browser-enforced; cannot be spoofed by JS
   }

3. Authenticator (iCloud / 1Password / YubiKey) verifies User Verification (UV)
   (Face ID, Touch ID, Windows Hello, or hardware PIN), looks up the private key
   strictly bound to rpId = "example.com", and signs:
   signature = Sign(privateKey, authenticatorData || SHA-256(clientDataJSON))

4. Server verifies signature with stored publicKey, checks rpIdHash == SHA-256("example.com"),
   checks challenge freshness, and verifies UV/UP flags.
   // SECURE: Private key never leaves the authenticator. Nothing reusable crosses the wire.

Notice two critical security properties of this exchange:

  1. Single-use cryptographic challenge: The server sends a fresh 32-byte random nonce on every sign-in. Replaying an intercepted signature fails immediately.
  2. User Presence (UP) and User Verification (UV) flags:The signed authenticatorData explicitly states whether a human tapped the authenticator and verified locally via biometric or device PIN. Because biometric verification happens strictly inside the local OS or secure enclave, your fingerprint or face template isnever sent to the website.

Developers testing WebAuthn flows can inspect or generate credential IDs and challenge nonces locally with our WebAuthn credential & challenge generator.

Origin-bound cryptography: why AiTM proxies fail

Over the last several years, attacker toolkits like Evilginx andModlishka turned traditional 2FA into a solved problem for phishers. TheseAdversary-in-the-Middle (AiTM) reverse proxies sit on an attacker-controlled domain—say, github-security-check.com—and proxy live HTTP traffic to the realgithub.com.

When a victim types their password and 6-digit TOTP or SMS code into the phishing page, the proxy forwards both to GitHub in milliseconds, receives a valid authenticated session cookie, and hands that session to the attacker. Even a 20-character random password from a password manager can be stolen if the user manually copies and pastes it into a convincing look-alike page.

Passkeys break the AiTM kill chain at the protocol layer:

  • The browser—not the webpage—reads the true address-bar origin (https://github-security-check.com) and refuses to let that page claimrpId: "github.com".
  • Because your authenticator indexes passkeys strictly by rpId, it will not even offer your GitHub passkey on the phishing domain.
  • Even if an attacker somehow coerced a signature on their own origin, the signedclientDataJSON.origin and rpIdHash inside the assertion prove the signature was generated for github-security-check.com, so the realgithub.com server rejects it cryptographically.

This is why NIST SP 800-63B Rev. 4 classifies FIDO2/WebAuthn authenticators asphishing-resistant, whereas passwords plus SMS or TOTP are not. Read our full breakdown of NIST SP 800-63B password and authentication guidelines for the exact assurance levels.

Synced passkeys vs device-bound hardware keys

Not all passkeys share the same threat model. FIDO2 distinguishes between two classes of passkeys via explicit flags in authenticatorData (BE for Backup Eligibility and BS for Backup State): multi-device synced passkeysand device-bound hardware passkeys.

DimensionPassword (+ TOTP)Synced PasskeyDevice-Bound Hardware Key
Cryptographic secretShared secret (both user and server verify the same string)Asymmetric keypair (ES256/Ed25519); private key synced E2EE in vaultAsymmetric keypair locked inside non-exportable FIDO2 Secure Element
Server database breachExposes password hashes (offline cracking risk if weak or poorly hashed)Exposes public keys only — useless to attackersExposes public keys only — useless to attackers
AiTM phishing (Evilginx)Vulnerable (even with TOTP or SMS 2FA)Resistant — browser binds signature to exact rpId / originResistant — browser binds signature to exact rpId / origin
Device loss & recoveryRecoverable from password manager or reset flowSurvives device loss via E2EE cloud sync (iCloud, Google, 1Password, Bitwarden)No backup — requires enrolling at least two physical keys per account
Enterprise attestationNoneLimited (provider AAGUID, multi-device backup flag set)Full hardware attestation (proves exact FIPS/certified physical token)
Best fitLegacy sites, vault master passphrases, CLI/API workflowsEveryday consumer & cross-device logins at scaleRoot email, password manager MFA, cloud admin, banking & high-risk accounts

Synced passkeys (consumer & cross-device scale)

Synced passkeys live inside an end-to-end encrypted credential manager—either a platform vault (Apple iCloud Keychain, Google Password Manager) or a cross-platform password manager (1Password, Bitwarden, Proton Pass). If you drop your phone in a lake, your passkeys survive because they sync to your laptop or new phone once you re-authenticate to your encrypted vault.

ProviderPlatform reachUnderlying vault securityPortability status
Apple Passwords (iCloud Keychain)iOS, iPadOS, macOS, visionOS, Windows (iCloud app)E2EE via iCloud Keychain trusted device circle + HSM-protected escrowSupports FIDO CXF/CXP import/export on modern Apple OS releases
Google Password ManagerAndroid, Chrome (desktop), ChromeOS; iOS via ChromeE2EE via Google Password Manager PIN / Android screen lock escrowRolling out FIDO Credential Exchange interoperability
1PasswordmacOS, Windows, Linux, iOS, Android, all major browsersE2EE vault protected by Account Password + 128-bit Secret Key (2SKD)Co-author of FIDO CXF/CXP; cross-platform synced passkeys
BitwardenmacOS, Windows, Linux, iOS, Android, browser extensions, self-hostedE2EE vault protected by Master Password (Argon2id/PBKDF2)Active FIDO CXF/CXP contributor; supports passkey storage and PRF
Proton PassmacOS, Windows, Linux, iOS, Android, browser extensionsE2EE vault with AES-256-GCM per-item keys inside Proton accountCross-platform passkey autofill across mobile and desktop browsers

Device-bound hardware keys (YubiKey / Google Titan)

A hardware security key generates and stores the private key inside a tamper-resistantSecure Element chip. The private key can never be exported, synced, or extracted by desktop malware. Hardware keys also support cryptographic attestation(via an embedded AAGUID certificate), allowing enterprise identity providers like Okta, Entra ID, or Google Workspace to enforce a hard policy: “Only allow FIPS-certified physical hardware keys for production AWS/GCP admin logins; reject synced passkeys.”

The trade-off is operational: because hardware keys cannot be backed up, you must buy and enroll at least two physical keys (one on your keychain or laptop, one in a fireproof safe) for every critical account.

Passkey portability and FIDO Credential Exchange (CXF/CXP)

Between 2022 and 2025, the biggest valid criticism of passkeys was ecosystem lock-in. Unlike passwords, you cannot—and should not—dump passkey private keys into an unencrypted CSV file on your Downloads folder. Early adopters who saved 80 passkeys in iCloud Keychain or Google Password Manager had no clean way to move them to 1Password, Bitwarden, or another OS without manually re-enrolling on every website.

To solve this, the FIDO Alliance published two open specifications co-authored by Apple, Google, Microsoft, 1Password, Bitwarden, and Dashlane:

  • Credential Exchange Format (CXF): A standardized, encrypted JSON container schema capable of representing passkeys (private key material, rpId, user handle, credential ID), traditional passwords, TOTP seeds, and notes—designed to replace unsafe plaintext CSV exports altogether.
  • Credential Exchange Protocol (CXP): A secure, OS-mediated transfer handshake that authenticates the user and streams a CXF payload directly from one credential manager to another on-device without ever writing plaintext secrets to disk.

In 2026, CXF/CXP adoption is rolling out across major operating systems and dedicated managers, meaning vendor lock-in is steadily shrinking. Still, before migrating your entire household into a platform-locked manager like Apple Passwords, verify that your exact OS versions and target apps support passkey export—see our Apple Passwords vs 1Password comparison for cross-platform trade-offs.

Five real limitations of passkeys today

Marketing copy often claims “passwords are dead.” In production security engineering, five concrete limitations remain:

1. Account recovery fallbacks quietly downgrade your security

Enabling a passkey on a website means very little if the same site leaves an unhardened “Sign in another way” flow backed by an SMS code, a weak password, or an email magic link to an unprotected inbox. An attacker simply clicks “Try another way” and bypasses your phishing-resistant passkey entirely. Always check whether the service lets you remove SMS fallback and protect your recovery email with hardware-backed MFA.

2. Cross-ecosystem friction still bites mixed-device users

If you use an iPhone, a Windows gaming PC, and a Linux workstation, storing passkeys inside Apple Passwords forces you to scan QR codes over Bluetooth hybrid transport (caBLE) whenever you sign in on Windows or Linux—which breaks on desktops without Bluetooth or corporate networks blocking FIDO tunnel relays. Storing synced passkeys inside a cross-platform password manager (1Password, Bitwarden, or Proton Pass) largely eliminates this friction.

3. The vault bootstrap problem

Synced passkeys are only as secure as the vault that holds them. If your Google Account, Apple Account, or password manager is breached—or permanently locked out—you lose access to every passkey inside it. That root account still depends on a high-entropy master passphrase, phishing-resistant MFA, and printed offline backup codes.

4. Uneven Relying Party adoption and buggy UX

Many banks, healthcare portals, government sites, and enterprise SaaS apps still do not support passkeys—or implement them poorly (treating a passkey only as a second factor, limiting users to one passkey, or rejecting cross-platform password manager extensions).

5. Shared credentials and team offboarding

Consumer platform vaults (iCloud, Google) are built around individual accounts. Teams that need shared vendor logins, audit logs, and instant employee offboarding still need dedicated enterprise vaults or federated SSO (SAML/OIDC) backed by hardware-bound passkeys.

A pragmatic 2026 authentication strategy

You do not need to choose between passkeys and a password manager—the strongest architecture combines both in a clear hierarchy:

  1. Anchor your root tier with hardware keys + strong master passphrase: Protect your primary email account (Gmail/Fastmail/Proton), your Apple/Google cloud account, and your dedicated password manager with a 5–6 word EFF Diceware master passphrase plus two physical FIDO2 hardware keys (e.g., YubiKey 5 Series), and store printed backup codes in your Emergency Kit.
  2. Store everyday passkeys in a cross-platform password manager: Whenever a site supports passkeys, enroll one inside 1Password, Bitwarden, or Proton Pass (or Apple Passwords if you are strictly Apple-only) so it syncs seamlessly across every browser and phone.
  3. Disable weak fallbacks on high-value accounts: After enrolling passkeys on email, cloud, GitHub, and financial accounts, turn off SMS 2FA and remove legacy passwords if the provider supports passkey-only sign-in.
  4. Use unique 20+ character random passwords everywhere else: For the hundreds of sites that have not adopted WebAuthn yet, unique generated passwords stored in a zero-knowledge vault remain the gold standard. See how to choose a password manager and password manager cryptography explained.

Primary standards and documentation

Frequently asked questions

Why can passkeys stop Evilginx and adversary-in-the-middle phishing when 2FA codes cannot?

An adversary-in-the-middle (AiTM) proxy sits on a look-alike domain and relays your username, password, and 6-digit TOTP or SMS code straight to the real site in real time. With a passkey, the browser binds the cryptographic challenge to the exact domain in the address bar. The authenticator will not match a passkey registered for example.com on example-login.com, and any forged origin fails server-side signature verification.

What is the difference between a synced passkey and a YubiKey hardware passkey?

A synced passkey stores its private key inside an end-to-end encrypted cloud vault (such as Apple iCloud Keychain, Google Password Manager, 1Password, or Bitwarden) so it works across your devices and survives losing a phone. A device-bound passkey on a YubiKey or Google Titan key keeps the private key locked inside a non-exportable hardware secure element, offering higher assurance and cryptographic attestation at the cost of carrying physical backup keys.

Can I move passkeys between Apple Passwords, 1Password, and Bitwarden?

Historically passkeys were locked to the platform that created them, because plaintext CSV exports are unsafe for private keys. The FIDO Alliance Credential Exchange Format (CXF) and Credential Exchange Protocol (CXP) now define an encrypted, user-authenticated transfer mechanism between participating credential managers, though support still varies by OS version and vendor.

Do passkeys eliminate the need for a password manager?

No. In fact, dedicated cross-platform password managers are the primary way to sync passkeys across Windows, macOS, Linux, iOS, and Android simultaneously. You also still need a password manager for legacy websites, API keys, WiFi passwords, recovery codes, and unique passwords wherever passkeys are not yet supported.

Why do I still need a strong master password and backup codes if I use passkeys?

Synced passkeys inherit the security of the vault or cloud account that syncs them. If you lose all trusted devices, recovering that root account or password manager still relies on a high-entropy master passphrase, Secret Key, or offline recovery codes. Additionally, many websites still allow password or email fallback recovery, which becomes the real weak link if left unsecured.