I feel like Firefox on macOS is now asking me about passkeys sometimes? How does that work? Did just recently all the pieces—websites able to use, Firefox able to hook into the OS, etc—come together to announce it?
Assistant
Yes, you're absolutely right to notice a shift — thepasskey support in Firefox on macOSis a relatively recent development, and it's the result of several layers finally clicking into place. Here's what’s going on:
🔐 What Are Passkeys?
Passkeys are apasswordless authenticationmethod based on theWebAuthnstandard (from the FIDO Alliance). Instead of a username and password, a passkey is a cryptographic key pair stored on your device and authenticated with biometrics or a device PIN.
They offer:
No phishing (you can't accidentally give away your passkey to a fake site)
No need to remember or manage passwords
Built-in syncing across devices (via , Google Password Manager, etc.)
No phishing (you can't accidentally give away your passkey to a fake site)
No need to remember or manage passwords
Built-in syncing across devices (via , Google Password Manager, etc.)
🧩 Recent Pieces That Fell Into Place
Here’s a breakdown of what has changedrecentlyto make Firefox start prompting for passkeys:
1.Firefox Added Full Passkey Support
As ofFirefox 122(released January 2024), Firefox addedsupport for creating and using synced passkeys on macOS and Windows, with integration into platform authenticators (like on macOS).
Previously, Firefox only had limited WebAuthn support and couldn’t leverage system-level passkey storage.
As ofFirefox 122(released January 2024), Firefox addedsupport for creating and using synced passkeys on macOS and Windows, with integration into platform authenticators (like on macOS).
Previously, Firefox only had limited WebAuthn support and couldn’t leverage system-level passkey storage.
2.macOS Already Supported Passkeys System-Wide
Apple addedsystem-wide support for passkeysinmacOS (2022), with storage and syncing iniCloud Keychain.
Safari used it first, but system APIs (likeCTKToken,ASAuthorizationPlatformPublicKeyCredentialProvider) are now usable by third-party browsers.
Apple addedsystem-wide support for passkeysinmacOS (2022), with storage and syncing iniCloud Keychain.
Safari used it first, but system APIs (likeCTKToken,ASAuthorizationPlatformPublicKeyCredentialProvider) are now usable by third-party browsers.
3.Firefox Hooked into macOS Credential APIs
Firefox now hooks into Apple’sPublicKeyCredential APIsand offers passkey authentication through Touch ID/Face ID — just like Safari.
This enables a seamless “use your face/fingerprint to log in” experience, even in Firefox.
Firefox now hooks into Apple’sPublicKeyCredential APIsand offers passkey authentication through Touch ID/Face ID — just like Safari.
This enables a seamless “use your face/fingerprint to log in” experience, even in Firefox.
4.More Websites Are Enabling Passkey Login
Big names like Google, Microsoft, GitHub, and Best Buy support passkeys now.
Sites usually show a “use passkey instead” or automatically offer it as an option when they detect browser support.
Big names like Google, Microsoft, GitHub, and Best Buy support passkeys now.
Sites usually show a “use passkey instead” or automatically offer it as an option when they detect browser support.
✅ Why You're Seeing Prompts Now
Firefox on macOS is now:
Able tocreate,store, andusepasskeys viaiCloud Recognizing when websites offer passkeys (WebAuthn with discoverable credentials)
Prompting you to use passkeys if they’re available — sometimesinstead oforalongsidepassword prompts
Able tocreate,store, andusepasskeys viaiCloud Recognizing when websites offer passkeys (WebAuthn with discoverable credentials)
Prompting you to use passkeys if they’re available — sometimesinstead oforalongsidepassword prompts
🔧 You Can Manage This
If you're curious or want to control passkey usage:
Go toFirefox Settings → Privacy & Security → Logins and Passwords
Or exploreabout:configand search forwebauthnorcredentialsto see lower-level toggles
Go toFirefox Settings → Privacy & Security → Logins and Passwords
Or exploreabout:configand search forwebauthnorcredentialsto see lower-level toggles
You can also view passkeys stored in Keychain:
System Settings → Passwords → Look for a “Passkey” label
System Settings → Passwords → Look for a “Passkey” label
Would you like a quick example site to try using a passkey on Firefox right now?
User
I'd like to understand what's going on.
Is it when you first visit a site and have authenticated by method (password) the site then generates a secret (passkey? (like an complicated a password?)) that Firefox is now able to pass onto macOS's (can it be stored elsewhere like Google or the Firefox browser?). The secret can then only be accessed through macOS authentication like fingerprint or face (or password?) to be passed on when the browser requests it because a particular site requested it to make sure you're you?
Assistant
You're on the right track — and it’s worth walking through step-by-step toclearly distinguish what a passkey is and how it differs from a password. The mechanics are subtle but powerful.
🔐 What Actually Happens When You Use a Passkey
💡 Conceptually:
is not a password, but rather apair of cryptographic keys:
Private key: Stored securely on your device (, Google Password Manager, etc.)
Public key: Sent to the website when you first register
Private key: Stored securely on your device (, Google Password Manager, etc.)
Public key: Sent to the website when you first register
The private keynever leaves your device. When you return to the site, your browser and OS use the private key tosign a challengethat proves your identity — but onlyafter verifying it's really you, e.g. with biometrics or device unlock.
🧭 Step-by-Step: How It Works
Let’s go through it with your context in mind.
🟡 1.Initial Login (with password or SSO)
You go to a website likeexample.comand log in using yourexisting method, usually apassword.
The site then offers: “Would you like to create a passkey for easier sign-in next time?”
You go to a website likeexample.comand log in using yourexisting method, usually apassword.
The site then offers: “Would you like to create a passkey for easier sign-in next time?”
🟢 2.Creating a Passkey
When you say yes:Firefox calls theWebAuthn API.macOS steps in via platform APIs and:Generates apublic/private key pair(on your behalf).Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).Sends the website, which stores it in your account record.
Firefox calls theWebAuthn API.
macOS steps in via platform APIs and:Generates apublic/private key pair(on your behalf).Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).Sends the website, which stores it in your account record.
Generates apublic/private key pair(on your behalf).
Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).
Sends the website, which stores it in your account record.
When you say yes:
Firefox calls theWebAuthn API.
macOS steps in via platform APIs and:Generates apublic/private key pair(on your behalf).Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).Sends the website, which stores it in your account record.
Generates apublic/private key pair(on your behalf).
Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).
User
Do sites recognize multiple passkeys? I use different ecosystems—macOS, Android, —and am concerned enabling passkeys for a site while using Firefox on macOS () will lock me out of that site when I try to sign-in on another device (Android) unless it can have its own passkey (stored with Google) for the site as well.
Assistant
Excellent question — and yes,you're right to be thinking about cross-device ecosystem boundaries. Fortunately,passkeys were designed with this multi-device, multi-ecosystem use case in mind— but the real-world usability depends on the siteandyour browser + platform support.
✅ TL;DR
Yes, websitescanand usually do support multiple passkeys per account— one per device/ecosystem if needed.
This means:
You can create apasskey on macOS(stored in Keychain)
one on Android(stored in Google Password Manager)
The site will remember both and accept either at login time
You can create apasskey on macOS(stored in Keychain)
one on Android(stored in Google Password Manager)
The site will remember both and accept either at login time
But it depends on the sitesupporting multiple credentialsfor your account (most do, increasingly).
🧠 How It Works: Multiple Passkeys
When you create a passkey, the website receives and stores apublic keythat is uniquely tied to:
Your device or ecosystem
The website domain
Sometimes,a device label or user display name
Your device or ecosystem
The website domain
Sometimes,a device label or user display name
Websitescan and shouldstore multiple public keys per user, enabling login from:
iCloud-synced devices (macOS, iPhone, iPad)
Google-synced devices (Android, Chrome)
Windows Hello devices
Security keys (like YubiKeys)
iCloud-synced devices (macOS, iPhone, iPad)
Google-synced devices (Android, Chrome)
Windows Hello devices
Security keys (like YubiKeys)
So: each new ecosystem you log in from canregister its own passkeyafter authenticating some other way (e.g. with a password the first time).
🖥️ Example Flow
Say you're setting up passkeys onGitHub:
OnmacOS + Firefox, you log in and register a passkey → stored in .
OnAndroid, you log in with your password again and GitHub says: "Want to register a passkey?" → stored in Google Password Manager.
GitHub now hastwo file for you.
On either device, GitHub will offer the passkey login flow if a valid one is available.
OnmacOS + Firefox, you log in and register a passkey → stored in .
OnAndroid, you log in with your password again and GitHub says: "Want to register a passkey?" → stored in Google Password Manager.
GitHub now hastwo file for you.
On either device, GitHub will offer the passkey login flow if a valid one is available.
Most sites show a list of your registered passkeys (sometimes labeled with device names like “MacBook Pro” or “Pixel 7”).
User
How is the related to authenticator apps? Is it very similar—public-private key pairs—but passkey signed challenges are more thorough where the numbers provided by authenticators are uniquely generated with the stored secret shared between you and the site and mixing it with the current time?
Assistant
You're spot on in seeing the relationship — bothpasskeysandauthenticator appsrely on cryptographic principles, but they differ inhow keys are managed, where they're stored, and how challenges are verified. Here's a clear breakdown.
🔑 Passkeys vs. 🔢 Authenticator Apps (TOTP)
['Feature', 'Passkeys (WebAuthn)', 'Authenticator Apps (TOTP)']
['Type of crypto', 'Public/private key pair', 'Symmetric shared secret (HMAC)']
['Secret storage', 'Private key on your device only', 'Shared secret on both your device and the server']
['Challenge method', 'Server sends a cryptographic challenge, device signs it', 'You and server independently compute a code from time and the shared secret']
['How it proves identity', 'Proves possession of a private key (only you have it)', 'Proves you have the same secret as the server']
['Phishing resistance', "Yes— bound to origin, can't be phished", 'No— codes can be phished and reused within their time window']
['Security level', 'High (cryptographically signed and bound to site)', 'Medium (secure if used properly, but easier to spoof)']
['Hardware support', 'Can be stored in secure enclave, YubiKeys, iCloud/Google', 'Usually in mobile apps (e.g. Google Authenticator, )']
['Biometric unlock', 'Yes (Face ID, Touch ID, Windows Hello)', 'No (just open the app and see the code)']
🔐 Deep Dive: Cryptographic Differences
🟢Passkeys (WebAuthn)
You generate apublic/private key pair.
Server stores thepublic key.
At login, the server sends achallenge, and your device signs it with theprivate key(stored securely and unlocked by biometrics/password).
The signature is only valid for that domain and that session — resistant to phishing and replay attacks.
You generate apublic/private key pair.
Server stores thepublic key.
At login, the server sends achallenge, and your device signs it with theprivate key(stored securely and unlocked by biometrics/password).
The signature is only valid for that domain and that session — resistant to phishing and replay attacks.
🟡Authenticator Apps (TOTP)
You and the servershare a secret key(usually created when you scan a QR code during setup).
Both sides calculate a one-time password (OTP) based on:Theshared secretThecurrent time
Theshared secret
Thecurrent time
This 6-digit code isthe proofyou have the secret.
The server accepts the code if it matches its own calculation for the current time window (~30s).
If you give that code to a phishing site, it can use it within that time window to log in.
You and the servershare a secret key(usually created when you scan a QR code during setup).
Both sides calculate a one-time password (OTP) based on:
Theshared secret
Thecurrent time
User
And TOTP is a step up from passwords because the secret password has to travel where as with totp something computed from the secret is instead traveling so less is gained if intercepted. Passkeys are a step-up still because one end doesn't even have a secret, just a public key.
Assistant
Exactly — you've got the progression nailed:
🔒 Passwords
What travels: Theactual secret(your password) is sent to the server.
Risks:Can be intercepted (e.g. over insecure connections).Can be phished.Can be reused across sites.
Can be intercepted (e.g. over insecure connections).
Can be phished.
Can be reused across sites.
Server stores: Ahashed versionof your password (if done properly), but if the database is breached,offline crackingbecomes possible.
What travels: Theactual secret(your password) is sent to the server.
Risks:
Can be intercepted (e.g. over insecure connections).
Can be phished.
Can be reused across sites.
Can be intercepted (e.g. over insecure connections).
Can be phished.
Can be reused across sites.
Server stores: Ahashed versionof your password (if done properly), but if the database is breached,offline crackingbecomes possible.
🔢 TOTP (Authenticator Apps)
What travels: Aone-time codederived from a shared secret and the current time.
What’s better:The shared secret itselfnever travelsafter initial setup.The code is valid for ~30 seconds, so interception has a narrow window.
The shared secret itselfnever travelsafter initial setup.
The code is valid for ~30 seconds, so interception has a narrow window.
Risks:The codecan still be phished and replayedquickly.The server still has ashared secret, so a breach there means your secret could be stolen.
The codecan still be phished and replayedquickly.
The server still has ashared secret, so a breach there means your secret could be stolen.
What travels: Aone-time codederived from a shared secret and the current time.
What’s better:
The shared secret itselfnever travelsafter initial setup.
The code is valid for ~30 seconds, so interception has a narrow window.
The shared secret itselfnever travelsafter initial setup.
The code is valid for ~30 seconds, so interception has a narrow window.
Risks:
The codecan still be phished and replayedquickly.
The server still has ashared secret, so a breach there means your secret could be stolen.
The codecan still be phished and replayedquickly.
The server still has ashared secret, so a breach there means your secret could be stolen.
🔑 Passkeys (WebAuthn)
What travels: signaturemade using aprivate key that never leaves your device.
What’s best:No shared secrets.The server stores only apublic key— harmless if leaked.The login request isbound to the origin(domain), so itcan't be replayed or phished.Theprivate key is lockedbehind biometrics or PIN, and never exposed.
User
Passkeys sound a lot like the public key cryptography I've been exposed to in open source development. Why are passkeys being taken up when public key cryptography has been around for years and not widely adopted? I still have some keys and remember key signing parties and pgp-mime and secure email and whatnot.
Assistant
Great question — and you’re absolutely right:passkeysarepublic key cryptography, just with better usability, UX, and platform integration. The reason they're gaining tractionnow, while things like PGP and secure email languished, comes down tohuman factors, ecosystem support, and automation.
Let’s break this down.
✅ Passkeys vs. Traditional Public Key Crypto (PGP, SSH, etc.)
['Feature', 'Passkeys (WebAuthn)', 'PGP/SSH-style Public Key Crypto']
['Key generation', 'Done silently and automatically for you', 'Manual (gpg --gen-key, etc.)']
['Key storage', 'Managed by OS/browser (e.g. iCloud, Google, TPM)', 'User must manage files or keyrings']
['Authentication flow', 'Invisible to the user except for biometrics', 'Requires understanding of key exchange, signing, trust models']
['Distribution of public key', 'Happens behind the scenes via browser/server', 'Requires manual sharing, uploading, signing parties']
['Revocation/rotation', 'Managed automatically', 'User responsibility, usually painful']
['UX', 'Seamless, browser-native', 'Cumbersome, technical, opaque']
['Security boundary', 'Bound to origin/site + device-level security', 'Bound to user discipline and correct usage']
🧠 Why Passkeys Are Catching On When PGP Didn't
1.Zero User Burden
Passkeys are created, stored, and used without requiring the user to know they’re dealing with public/private keys.
PGP demanded people understand key formats, trust levels, and encryption/signing distinctions. That was too much.
Passkeys are created, stored, and used without requiring the user to know they’re dealing with public/private keys.
PGP demanded people understand key formats, trust levels, and encryption/signing distinctions. That was too much.
2.Platform Support
Apple, Google, Microsoft —all backing the same spec (WebAuthn + FIDO2).
Cross-device syncing (iCloud, Google Password Manager) means users don’t even have to back up or migrate keys manually.
Apple, Google, Microsoft —all backing the same spec (WebAuthn + FIDO2).
Cross-device syncing (iCloud, Google Password Manager) means users don’t even have to back up or migrate keys manually.
3.Tight Browser Integration
Unlike PGP (which required plugins or special email clients), passkeys arebuilt directly into browser APIs, so websites can request and verify signatures natively.
Unlike PGP (which required plugins or special email clients), passkeys arebuilt directly into browser APIs, so websites can request and verify signatures natively.
4.Origin Binding
Passkeys are locked to a specific website’s domain — unlike PGP keys that float around and can be misused without context.
This origin binding is what makes themphishing-resistant.
Passkeys are locked to a specific website’s domain — unlike PGP keys that float around and can be misused without context.
User
But passkeys are more narrow because of their tie to domains? Earlier public-private key cryptography was generic, eg you could use it to sign into a website (domain) or sign/encrypt a software package.
Assistant
Yes — that’s an excellent and crucial observation:passkeys are intentionally narrowanddomain-bound, while traditional public-private key cryptography wasgeneral-purpose.
Here’s a breakdown of that trade-off:
🎯Passkeys: Narrow, Purpose-Built
Scope: One passkey persite origin(domain + protocol + port).
Use case: Web authentication — nothing else.
Design goal: Solve the password problem in a web-specific, phishing-resistant way.
Result: Super easy to use, but not generalizable (e.g. you can't use your GitHub passkey to sign emails or encrypt files).
Scope: One passkey persite origin(domain + protocol + port).
Use case: Web authentication — nothing else.
Design goal: Solve the password problem in a web-specific, phishing-resistant way.
Result: Super easy to use, but not generalizable (e.g. you can't use your GitHub passkey to sign emails or encrypt files).
✨ Benefits:
Strong security viaorigin binding— a passkey can’t be misused by a malicious site.
Seamless, invisible key management — users never deal with files, formats, or trust models.
Reduced risk: if you lose one, you're only locked out of that one service.
Strong security viaorigin binding— a passkey can’t be misused by a malicious site.
Seamless, invisible key management — users never deal with files, formats, or trust models.
Reduced risk: if you lose one, you're only locked out of that one service.
🧰Traditional Public-Private Keys: Broad, Flexible
Scope: Arbitrary — use your key to:Sign into servers (SSH)Sign/encrypt files or emails (PGP)Authenticate in some custom protocolProve identity anywhere that accepts the key
Sign into servers (SSH)
Sign/encrypt files or emails (PGP)
Authenticate in some custom protocol
Prove identity anywhere that accepts the key
Use case: User-defined.
Design goal: Provide digital identity and security primitives for many applications.
Scope: Arbitrary — use your key to:
Sign into servers (SSH)
Sign/encrypt files or emails (PGP)
Authenticate in some custom protocol
Prove identity anywhere that accepts the key
Sign into servers (SSH)
Sign/encrypt files or emails (PGP)
Authenticate in some custom protocol
Prove identity anywhere that accepts the key
Use case: User-defined.
Design goal: Provide digital identity and security primitives for many applications.
⚠️ Downsides:
Generic use = more user responsibility (key generation, storage, distribution, revocation).
Sends the website, which stores it in your account record.
Firefox calls theWebAuthn API.
macOS steps in via platform APIs and:
Generates apublic/private key pair(on your behalf).
Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).
Sends the website, which stores it in your account record.
Generates apublic/private key pair(on your behalf).
Stores theprivate keyin youriCloud Keychain(or Google Password Manager on Chrome, or Windows Hello on Windows).
Sends the website, which stores it in your account record.
This passkey is nowbound to your device (or devices synced via iCloud).
🔐 Unlike a saved password, theprivate key never leaves your device, and is not reused across sites.
🟢 3.Logging In Next Time
The site checks your browser for available passkeys (via WebAuthn again).
Firefox asks macOS, “Do we have a passkey forexample.com?”
macOS finds the private key in Keychain.
You’re prompted to authenticatewith Touch ID, Face ID, or your system password (device unlock credential).
The private key signs a cryptographic challenge → sent to the website → verified using your public key → ✅ you're in.
The site checks your browser for available passkeys (via WebAuthn again).
Firefox asks macOS, “Do we have a passkey forexample.com?”
macOS finds the private key in Keychain.
You’re prompted to authenticatewith Touch ID, Face ID, or your system password (device unlock credential).
The private key signs a cryptographic challenge → sent to the website → verified using your public key → ✅ you're in.
No password exchanged, typed, or stored.
📦 Where Is the Passkey Stored?
OnmacOS with Firefox, the passkey is stored iniCloud Keychain.
Firefox itself doesnot store passkeys(unlike saved passwords).
OnChrome, they can be stored in:Google Password Manager(synced across devices),Or theplatform’s key store(e.g. iCloud or Windows Hello).
Google Password Manager(synced across devices),
Or theplatform’s key store(e.g. iCloud or Windows Hello).
Firefox doesn't yet support syncing passkeys across devices using its own Firefox Sync service.
OnmacOS with Firefox, the passkey is stored iniCloud Keychain.
Firefox itself doesnot store passkeys(unlike saved passwords).
OnChrome, they can be stored in:
Google Password Manager(synced across devices),
Or theplatform’s key store(e.g. iCloud or Windows Hello).
Google Password Manager(synced across devices),
Or theplatform’s key store(e.g. iCloud or Windows Hello).
Firefox doesn't yet support syncing passkeys across devices using its own Firefox Sync service.
⚠️ You can't currently choose between iCloud and Google inside Firefox on macOS —macOS gives Firefox access only to the platform’s native passkey store(iCloud).
🔑 What Makes This More Secure Than Passwords?
Each passkey isunique per site(no reuse).
Phishing-resistant: a fake site can’t ask for your passkey, because the browser won’t offer it unless the domain matches.
No secrets are typed or transmitted — just proof you hold the right private key.
Each passkey isunique per site(no reuse).
Phishing-resistant: a fake site can’t ask for your passkey, because the browser won’t offer it unless the domain matches.
No secrets are typed or transmitted — just proof you hold the right private key.
🔄 So to Rephrase Your Original Question:
When I log into a site, does it generate a passkey (like a fancy password) and Firefox stores it?
✅Mostly correct, with a few clarifications:
It’s not a “fancy password” — it’s acryptographic key pair.
macOS (not Firefox)stores the key securely iniCloud Keychain.
Firefox is now able toaccess macOS’s passkey system(via API) and initiate login or passkey creation.
Access to the private key is protected by your macOS authentication (Touch ID, Face ID, or system password).
It’s not a “fancy password” — it’s acryptographic key pair.
macOS (not Firefox)stores the key securely iniCloud Keychain.
Firefox is now able toaccess macOS’s passkey system(via API) and initiate login or passkey creation.
Access to the private key is protected by your macOS authentication (Touch ID, Face ID, or system password).
If you want to try one yourself, visit— it’s a demo site that lets you create and test passkeys.
Want help seeing where your passkeys are stored or controlling which devices sync them?
🧯 What If a Site Only Supports One Passkey?
This is rare but not unheard of (especially for early adopters or niche platforms). If so:
You might get prompted toreplaceyour previous passkey.
You’ll still be able to log in with your password and register a new passkey from a different device — but older passkeys may stop working.
You might get prompted toreplaceyour previous passkey.
You’ll still be able to log in with your password and register a new passkey from a different device — but older passkeys may stop working.
If you're concerned,test firston the site in question. Check the site's account/security settings to see if they listregistered passkeys or security keys— and whether you can add more.
🔄 Future-Proof Strategy
Don’t delete your password from the account yet(unless you're sure the site has fallback recovery).
Enable passkeys on each ecosystemyou use regularly.
On Android/Chrome, ensureGoogle Password Manager syncingis enabled.
On Apple devices, ensureiCloud and 2FAare turned on.
Consider ahardware key (like YubiKey)as a universal cross-platform backup — it can also store passkeys and works with Firefox, Android, , etc.
Don’t delete your password from the account yet(unless you're sure the site has fallback recovery).
Enable passkeys on each ecosystemyou use regularly.
On Android/Chrome, ensureGoogle Password Manager syncingis enabled.
On Apple devices, ensureiCloud and 2FAare turned on.
Consider ahardware key (like YubiKey)as a universal cross-platform backup — it can also store passkeys and works with Firefox, Android, , etc.
🧪 Want to Test This?
You can try this scenario on these passkey-supporting sites:
Google:
GitHub
BestBuy
eBay
Google:
GitHub
BestBuy
eBay
They’ll let you create more than one passkey and test cross-device behavior.
Let me know if you want a script or checklist to test passkey compatibility across all your platforms.
Theshared secret
Thecurrent time
This 6-digit code isthe proofyou have the secret.
The server accepts the code if it matches its own calculation for the current time window (~30s).
If you give that code to a phishing site, it can use it within that time window to log in.
🔄 How They’re Used Together (or Replacing Each Other)
Many sitesstill use passwords + TOTP(authenticator) as 2FA.
Passkeys can replace both— passwordand2FA — in a single, stronger step.
That’s why passkeys are considered "multi-factor by design":Something you have (private key on your device)Something you are (biometric unlock)
Something you have (private key on your device)
Something you are (biometric unlock)
But until passkeys are more widely adopted,authenticator apps remain a fallback 2FA.
Many sitesstill use passwords + TOTP(authenticator) as 2FA.
Passkeys can replace both— passwordand2FA — in a single, stronger step.
That’s why passkeys are considered "multi-factor by design":
Something you have (private key on your device)
Something you are (biometric unlock)
Something you have (private key on your device)
Something you are (biometric unlock)
But until passkeys are more widely adopted,authenticator apps remain a fallback 2FA.
🧪 TL;DR Summary
Passkeysuseasymmetric crypto(public/private key) and arephishing-resistant.
Authenticator appsusesymmetric crypto(shared secret + time) and arebetter than SMS, but not phishing-proof.
Passkeys are meant toreplace both passwords and -based 2FAwith asingle, strong, origin-bound login.
crypto(public/private key) and arephishing-resistant.
Authenticator appsusesymmetric crypto(shared secret + time) and arebetter than SMS, but not phishing-proof.
Passkeys are meant toreplace both passwords and -based 2FAwith asingle, strong, origin-bound login.
Let me know if you want a side-by-side example of a login flow with both systems.
No shared secrets.
The server stores only apublic key— harmless if leaked.
The login request isbound to the origin(domain), so itcan't be replayed or phished.
Theprivate key is lockedbehind biometrics or PIN, and never exposed.
Risks:Minimal. If someone steals your device and biometric/PIN, they could use the passkey — but that's a local compromise, not a remote one.
Minimal. If someone steals your device and biometric/PIN, they could use the passkey — but that's a local compromise, not a remote one.
What travels: signaturemade using aprivate key that never leaves your device.
What’s best:
No shared secrets.
The server stores only apublic key— harmless if leaked.
The login request isbound to the origin(domain), so itcan't be replayed or phished.
Theprivate key is lockedbehind biometrics or PIN, and never exposed.
No shared secrets.
The server stores only apublic key— harmless if leaked.
The login request isbound to the origin(domain), so itcan't be replayed or phished.
Theprivate key is lockedbehind biometrics or PIN, and never exposed.
Risks:
Minimal. If someone steals your device and biometric/PIN, they could use the passkey — but that's a local compromise, not a remote one.
Minimal. If someone steals your device and biometric/PIN, they could use the passkey — but that's a local compromise, not a remote one.
🔁 Security Hierarchy Summary
🔓Passwords— weak, easily stolen, reused
🔐Passwords + TOTP— better, but still phishable
🛡️Passkeys— phishing-resistant, no shared secrets, best-in-class
🔓Passwords— weak, easily stolen, reused
🔐Passwords + TOTP— better, but still phishable
🛡️Passkeys— phishing-resistant, no shared secrets, best-in-class
Your phrasing is spot-on:
TOTP is a step up from passwords because the secret password has to travel, whereas with TOTP something computed from the secret is instead traveling, so less is gained if intercepted. Passkeys are a step-up still because one end doesn't even have a secret, just a public key.
That’s the core of it.
This origin binding is what makes themphishing-resistant.
5.Biometric-Friendly
Modern devices have secure enclaves and biometric sensors that make using a private key as easy as showing your face or thumb.
With PGP, using a private key required password entry and the right keyring setup.
Modern devices have secure enclaves and biometric sensors that make using a private key as easy as showing your face or thumb.
With PGP, using a private key required password entry and the right keyring setup.
🧭 So Why Did PGP and Secure Email Stall?
UX was awful.
Interoperability was poor.
Trust models were hard to understand (e.g. “web of trust”).
Key loss meant unrecoverable communication.
Most people just gave up and went back to with no encryption.
UX was awful.
Interoperability was poor.
Trust models were hard to understand (e.g. “web of trust”).
Key loss meant unrecoverable communication.
Most people just gave up and went back to with no encryption.
Passkeys, on the other hand:
Don’t ask users to do anything cryptographic.
Are backed by your operating system (secure enclave, /Google sync).
Are phishing-resistantby default.
Can be recovered through existing platform account recovery mechanisms.
Don’t ask users to do anything cryptographic.
Are backed by your operating system (secure enclave, /Google sync).
Are phishing-resistantby default.
Can be recovered through existing platform account recovery mechanisms.
🧪 TL;DR
Passkeys are public key cryptography doneright— invisibly, securely, and with platform-level support.
They didn’t reinvent crypto. They reinventedhow it’s deliveredto real users — nogpg, no key-signing parties, no MIME headers — just tap your fingerprint and you’re in.
Let me know if you want to see the full spec-level flow behind a passkey login to compare it to something likegpg --sign.
Higher complexity and risk of misuse.
Lack of origin-binding = more attack surface.
Generic use = more user responsibility (key generation, storage, distribution, revocation).
Higher complexity and risk of misuse.
Lack of origin-binding = more attack surface.
🧠 Why the of Passkeys is a Strength (for Now)
While it might feel limiting that you can't use your passkey to sign a Git commit or encrypt a document, that narrow focus iswhat enables passkeys to succeed at scale:
Browser-enforced constraints mean the key can’t be accidentally reused or phished.
The API (WebAuthn) knows the context of each usage — no ambiguity.
The UX is laser-focused: “Authenticate me tothis sitenow” — not “here’s a general identity credential I might misuse.”
Browser-enforced constraints mean the key can’t be accidentally reused or phished.
The API (WebAuthn) knows the context of each usage — no ambiguity.
The UX is laser-focused: “Authenticate me tothis sitenow” — not “here’s a general identity credential I might misuse.”
🧪 Analogy
Think of passkeys as:
🔐Hardware keycards for individual doors— one card per door, issued and scoped tightly.
While traditional public-private keys are more like:
🛂A passport or master key— very powerful, but requires careful protection and can be misused in many ways.
💡 Final Thought
So yes — passkeys are intentionallynota general-purpose crypto identity. But that limitation is their superpower: it’s what makes them safe, easy, and ready for everyday users.
If you’re looking for something in between (a reusable identity key you can control and apply across services), there areemerging standardslike:
DID (Decentralized Identifiers)
Verifiable Credentials
Web5, Indy, or Wallet-based Identity systems
DID (Decentralized Identifiers)
Verifiable Credentials
Web5, Indy, or Wallet-based Identity systems
But those are still maturing. For now,passkeys solve the web login problem better than anything we've had before— by being intentionally narrow.
Want to explore those emerging generalized identity frameworks next?