News for hackers. Stuff that matters.
Re:Passkeys are a trap. Do not use them by BadBadJellyBean on Sunday October 11, 2026 @07:00PM (#50048921)
You can put your passkey in another safe. I store mine in my vaultwarden. You can also do keepass with a plugin. You don't have to store it on your phone.
Re:Passkeys are a trap. Do not use them by embedding-shape on Sunday October 11, 2026 @07:34PM (#50049251)
> I store mine in my vaultwarden.

Can you export it from there? My main gripe with passkeys in 1Password is that seemingly you can't export them, unless you export it to "someone else", which isn't clear if that someone can be just "you".

Re:Passkeys are a trap. Do not use them by MrDrMcCoy on Sunday October 11, 2026 @08:44PM (#50049832)
Yes. I've done many imports/exports and have lost no passkeys with Vaultwarden.
Re:Passkeys are a trap. Do not use them by dizhn on Sunday October 11, 2026 @08:45PM (#50049844)
I do not know the answer to your question but mine are in Vaultwarden. This probably means I have access to them. The method to get them out might end up not being pretty but it should be possible.
Re:Passkeys are a trap. Do not use them by embedding-shape on Monday October 12, 2026 @04:43AM (#50053330)
> but it should be possible.

This was my expectation too, but since I haven't figured out 100% that it is actually possible, I haven't used any of it.

Re:Passkeys are a trap. Do not use them by limagnolia on Sunday October 11, 2026 @08:55PM (#50049930)
If your password vault supports https://fidoalliance.org/specifications-credential-exchange-... you can. (Bitwarden does)
Re:Passkeys are a trap. Do not use them by embedding-shape on Monday October 12, 2026 @04:42AM (#50053322)
Right, what if I don't know yet what password manager I want to move to? Can I just get the data or I'm only allowed to move this thing into something else I also don't actually own?
Re:Passkeys are a trap. Do not use them by limagnolia on Monday October 12, 2026 @03:54PM (#50062061)
I don't know about all password managers, but with Bitwarden you can export to a JSON file.
Re:Passkeys are a trap. Do not use them by rpwverheij on Monday October 12, 2026 @04:31PM (#50062609)
exactly, I'm storing passkeys in Bitwarden, free account, no lock in. Single password to access all my logins. Works on all my devices. I don't see the issue
Re:Passkeys are a trap. Do not use them by tennysont on Tuesday October 13, 2026 @07:46PM (#50080538)
This is a violation of the spec you cited above and criticized by FIDO devs here:

https://github.com/keepassxreboot/keepassxc/issues/10407#iss...

Re:Passkeys are a trap. Do not use them by tennysont on Tuesday October 13, 2026 @07:45PM (#50080529)
No, if your vault implements that then it can _not_ export to the user, as per §5.1.1.1:

  > Explicitly state that the orchestrating party only transmits the credential exchange data between the exporting provider and importing provider.
And, in accordance with the spec, 1Password (who is the _editor_ of that spec) refuses to export passkeys to the user in any file format.
Re:Passkeys are a trap. Do not use them by paulddraper on Monday October 12, 2026 @12:40AM (#50051459)
You can export them to Bitwarden and then export those to a file.

I agree that is annoying.

Re:Passkeys are a trap. Do not use them by BadBadJellyBean on Monday October 12, 2026 @10:12AM (#50056747)
Yes you can. I just tried it and it worked. I used the export functionality and exported my vault as json and the passkey is in there.
Re:Passkeys are a trap. Do not use them by eikenberry on Sunday October 11, 2026 @09:00PM (#50049968)
What if they meant a real safe? The big metal kind.
Re:Passkeys are a trap. Do not use them by RockRobotRock on Monday October 12, 2026 @12:28AM (#50051390)
There are many hardware keys that support webauthn, like YubiKey.
Re:Passkeys are a trap. Do not use them by Dagonfly on Monday October 12, 2026 @04:44AM (#50053336)
Passkeys are just a private key plus some metadata.

Bitwarden lets you export your vault, and the export contains the private key in plain text. There is virtually no difference to writing down a password on a piece of paper. Well, I guess a passkey is a lot longer than the avg password.

This changes if attestation ever becomes widespread. Which will only happen if Apple does a U-turn on their stance.

Re:Passkeys are a trap. Do not use them by mpyne on Monday October 12, 2026 @09:20AM (#50056073)
> There is virtually no difference to writing down a password on a piece of paper. Well, I guess a passkey is a lot longer than the avg password.

The big difference is not just that a passkey is a private key, it's that the server you register the passkey within holds only the corresponding public key. They don't have a copy of your password (long or otherwise), not even a hashed version of it that could be recovered from a password database dump of the server.

This is a big improvement compared to the days of having your "strong password" end up on the dark web somewhere.

Re:Passkeys are a trap. Do not use them by Dagonfly on Monday October 12, 2026 @11:20AM (#50057729)
Yeah, I was only talking about differences for backup.

As long as no attestation is used, you only have to store the private key, credentialId and userHandle (basically the server generated ids of the passkey and the user). That's not to different to writing down username and password.

Re:Passkeys are a trap. Do not use them by secabeen on Monday October 12, 2026 @01:10PM (#50059467)
Bitwarden is the only vendor I'm aware of that currently allows this, and it wouldn't surprise me if their new management takes this away in the medium term.

The FIDO alliance is trying very hard to squash any workflows that a scammer can use to convince an elderly retiree with $1mil in savings to wire their life savings to Russia. Unfortunately, nearly all of the export paths that we want as hackers overlap with these attack vectors. The drafts of the Credential Exchange format or Protocol assume that end-users and open-source tools are not valid targets.

Re:Passkeys are a trap. Do not use them by Dagonfly on Monday October 12, 2026 @03:13PM (#50061397)
Skimming through the exchange protocol draft it seems like a pretty standard diffie-hellman. Seems easy enough to write a FOSS script that requests an export and then dumps it to plaintext.
Re:Passkeys are a trap. Do not use them by secabeen on Tuesday October 13, 2026 @12:46PM (#50074701)
My read of it is that there won't be an endpoint for an FOSS script to connect to to make the request. All that stuff will be provider2provider on private channels that aren't publicly exposed.
Re:Passkeys are a trap. Do not use them by crote on Sunday October 11, 2026 @09:49PM (#50050328)
There is no truly secure options for this, unfortunately. Passkeys have to be online to enroll additional keys, so any kind of software or smartphone solution is going to depend completely on cloud sync. Any form of offline copy stored in a physical safe will quickly be outdated.

It gets even worse when you want to have separate passkeys, so that you have the possibility of knowing which one was compromised and doing a partial revocation: the cloud sync now requires every device to have access to every copy, so that you can individually enroll them during registration.

Yubikey of course suffers most from this, as their hardware tokens are physically incapable of any kind of sync, so a Yubikey passkey is very quickly a single-point-of-failure. They proposed[0] a system which would allow enrolling a "backup key" (which could then be safely locked in a vault, far away from day-to-day use), but with the various Big Tech companies pushing their own proprietary cloud-synced passkey implementations that of obviously went nowhere.

[0]: https://www.yubico.com/blog/yubico-proposes-webauthn-protoco...

Re:Passkeys are a trap. Do not use them by WorldMaker on Sunday October 11, 2026 @11:03PM (#50050862)
Most website implementations that support passkeys have to support multiple key enrollment. It's the only long-term reliable way for the many, many users that are cross-ecosystem, which especially means Windows users in the age of no Windows Phone. Every Windows user has either an Android or iPhone. You can bootstrap with Bluetooth LTE access to your phone for a Passkey, but it's a rough web experience if the user needs to do that every time they access a page, so most good flows ask the user the enroll a Windows PC passkey in addition to their phone's passkey and really good ones make use of a passkey auto-enrollment option designed for this scenario (Bluetooth passkey to "local" passkey auto-enrollment).

Perhaps surprisingly, Windows has helped keep Passkeys from being "proprietary" lock-in because Microsoft no longer has users in a single ecosystem.

There is no dedicated auto-enrollment for "backup" keys, but most consumer sites make it very easy to enroll "backup" keys yourself.

Also, Passkeys don't have to be "online" to enroll additional keys. Each key is independent, enrolling is just generating new keys. The trouble is that web browsers generate lots of Passkeys (at least one per domain, at the very least) so if you in theory want to print them all and store them in a physical vault it might be a hefty book you are printing.

Cloud sync isn't required. Most users want it so that they don't have a single-point-of-failure.

As an implementation detail some Passkeys have a master key that is then used in some key derivation function (KDF) to generate the hundreds or thousands of individual passkeys (at least one per domain), and that's what most Yubikey passkey implementations need to do because Yubikeys weren't designed to store lots of keys, so it is devices like Yubikey that makes it seem like Passkeys are less independent than they really are.

Re:Passkeys are a trap. Do not use them by cuu508 on Monday October 12, 2026 @02:09AM (#50051958)
I use Yubikeys for WebAuthn 2FA (not as passkeys). Keeping them in sync is not a big issue in practice: I just don't sign up for new services that often. There's a stable set of services I'm using and it is rare that I actively look for something new. Usually it is the other way around--how do I use this thingamajig without creating an account.
Re:Passkeys are a trap. Do not use them by palata on Monday October 12, 2026 @04:13AM (#50053064)
I am not sure I completely understand.

> so a Yubikey passkey is very quickly a single-point-of-failure

It is a single point of failure when there is one. As soon as you use two, then it's not a single point a failure anymore, is it?

The counter argument I usually read is: "Yeah but it is not practical, because you need 3 yubikeys: the first 2 with you, that you enroll everywhere, and one in a safe. And every time you add a new passkey, you need to go get the one in the safe, replace it by another one, and enroll the one of the safe. You can't spend your life driving between your desk and your safe".

But I have been using multiple Yubikeys for... 8 years now I think? I don't remember the last time I enrolled and important key. Sure, once in a while I add a website, and it is a bit annoying to have to enroll the other Yubikeys at a different time. But it really doesn't happen that often, and anyway most of those websites allow me to recover my account with my email. So it is actually practical to have a "convenience yubikey" for websites that don't matter so much, and in case this Yubikey dies... well those websites were not so important, and anyway I can recover from my email.

The difference for the important websites (and really, I don't think I have really important websites in my life that don't allow me to recover by going in person with my ID, but for the sake of the argument) is that I actually do have multiple Yubikeys, one of which is stored away.

Whereas the master password of my Bitwarden account is a single point of failure, and the security of my online Bitwarden account is as well.

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @04:28AM (#50053188)
> I have been using multiple Yubikeys for... 8 years now I think? I don't remember the last time I enrolled and important key.

This probably makes your use case somewhat unusual...

> I actually do have multiple Yubikeys, one of which is stored away.

...and this probably puts you in the 0.0001th or so percentile of users. It's really a great security strategy if you can pull it off, but practically almost nobody can.

Re:Passkeys are a trap. Do not use them by palata on Monday October 12, 2026 @05:18AM (#50053604)
Not sure what you mean. "Normal people" have to enroll important keys much more often, and cannot use multiple Yubikeys?

My feeling would be that "normal people" can always recover their accounts from their main email, which makes the main email the only "important" account. So having a Yubikey always plugged in is a "nice convenience".

Now to be honest, I would expect that "normal people" are absolutely fine with passkeys on their smartphone, and don't consider it a "trap".

I would just expect that people who consider it a trap are able to use a Yubikey the way I do.

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @07:35AM (#50054869)
> I would just expect that people who consider it a trap are able to use a Yubikey the way I do.

I think the people most likely to be hurt by it being a trap are unfortunately those least likely to be able to juggle multiple Yubikeys.

Re:Passkeys are a trap. Do not use them by BoppreH on Monday October 12, 2026 @09:50AM (#50056460)
That's a clever setup that I hadn't seen before. Some extra downsides:

- Relying on emails for account recovery prevents creation of anonymous accounts.

- Have you ever lost your "convenience yubikey"? People underestimate how painful mass account recovery can be.

- The cost of 3 yubikeys can be substantial for some demographics.

- Important accounts are not properly backed up until you drive to your safe. That can be many days for a bank deposit box, or even longer if you're traveling.

Overall that's a lot of compromises for what should have been just "put this recovery key/password in a safe and forget about it until needed", if the protocol was better. And definitely not something that can be widely recommended.

Re:Passkeys are a trap. Do not use them by degamad on Monday October 12, 2026 @11:26AM (#50057817)
> ... just "put this recovery key/password in a safe and forget about it until needed"...

Surely that is also impacted by:

> Important accounts are not properly backed up until you drive to your safe. That can be many days for a bank deposit box, or even longer if you're traveling.

Re:Passkeys are a trap. Do not use them by BoppreH on Monday October 12, 2026 @11:35AM (#50057941)
Nope! You could have one "master recovery key", the public part loaded on your device (to be registered during account creation) and the private part sitting in your safe. Or even a number of pre-generated recovery keys. You could also give those keys a higher "priority", since they're offline, so that they can revoke lesser keys in case of account compromise.

I wrote a proposal almost a decade ago: https://www.researchgate.net/publication/343318317_Privacy-a...

The problem is that the protocol prevents you from adding a (additional) key you don't currently control. This is what crote was referencing here:

> Passkeys have to be online to enroll additional keys, so any kind of software or smartphone solution is going to depend completely on cloud sync.

Re:Passkeys are a trap. Do not use them by palata on Monday October 12, 2026 @12:30PM (#50058813)
I actually do something like this with PGP: I have my master key stored securely somewhere, and I load subkeys on my Yubikeys.

Would be cool if I could do that with FIDO2!

Re:Passkeys are a trap. Do not use them by degamad on Tuesday October 13, 2026 @05:09PM (#50078810)
> You could have one "master recovery key", the public part loaded on your device (to be registered during account creation) and the private part sitting in your safe.

This is true, it's possible to have just the verification information present without the key itself.

However, a part of almost every credential enrollment process is verification that the credential is usable and controlled by the enrolling party.

For passwords it's simply "please type the password again", for TOTP it's generating the next number, for email/SMS it's entering a code sent to that address, so for adding a public key, it should include some way of verifying that you control the private key associated with that public key. It's hard to do that without having the private key available.

Re:Passkeys are a trap. Do not use them by BoppreH on Tuesday October 13, 2026 @05:23PM (#50078975)
> For passwords it's simply "please type the password again", for TOTP it's generating the next number, for email/SMS it's entering a code sent to that address

Those are strings typed by humans and frequent victims of typos, so the need is much higher. But you're right that it's still useful to prevent a user from accidentally using a bad key, or from selecting a maliciously formatted public key to mess with the protocol. I just don't think these benefits outweigh the lost ability of making offline backups.

Maybe allowing registration of multiple keys, but only requiring proof of possession of one key would be a good compromise.

Re:Passkeys are a trap. Do not use them by palata on Tuesday October 13, 2026 @05:58PM (#50079476)
> but only requiring proof of possession of one key would be a good compromise.

Prove that you possess one key, and sign the other public keys with that key you possess? That would prove that you possess the public keys, wouldn't it?

I guess my concern would be that I have the public key to my backup Yubikey on my computer, I enroll it everywhere but I never actually use the Yubikey because it is stored in a vault at the bank. Nothing prevents an attacker from replacing my public key with theirs, and suddenly I'm enrolling them everywhere without ever noticing.

Or am I missing something?

Re:Passkeys are a trap. Do not use them by BoppreH on Tuesday October 13, 2026 @08:14PM (#50080777)
> and suddenly I'm enrolling them everywhere without ever noticing

That's a clever attack and it indeed seems viable.

In my proposed protocol the public recovery key defines a "profile", and the account "username" is generated based on this key plus the service domain. So an attacker replacing this key would be reflected in the app as a completely new profile, and cause all your logins to fail. Not a perfect mitigation, but something.

I would be happy with that already, but I think even better solutions might exist.

Another issue of using one "master recovery keypair" naively with passkeys, is that you have to register the same recovery public key on every service, losing your pseudonymity. In my protocol that's not a problem because the recovery key pair is used for decryption, not signature.

(I'm not trying to advertise my protocol because I never figured out a good way to do multi-device sync without trusting the cloud or having bad ergonomics)

> Nothing prevents an attacker [...]

I mean, hopefully the device security does! That's as bad as someone adding a hidden forwarding rule to your email account, or adding a new device to your password manager cloud sync.

Re:Passkeys are a trap. Do not use them by Ferret7446 on Monday October 12, 2026 @04:23AM (#50053141)
> Passkeys have to be online to enroll additional keys

No they don't? A passkey is fundamentally just a private key pair, which can be copied around just like a very long password. Of course if you store it inside one hardware enclave and want to move it to another hardware enclave you have a problem, but for software implementations it's simply a client UX issue.

Re:Passkeys are a trap. Do not use them by BoppreH on Monday October 12, 2026 @07:48AM (#50054984)
"Online" in the sense of "loaded in a device", as opposed to "sitting in my safe". The protocol requires additional keys to sign a challenge during registration, so at best you have to load a pre-generated key from the safe when creating a new account. In practice, you generate a new account for every service, so between generating the key and storing it in your safe there's no backup but cloud sync.

This prevents using backup storage that is safer but inconvenient to access, and also prevents registering accounts on-the-go.

Re:Passkeys are a trap. Do not use them by mpyne on Monday October 12, 2026 @09:16AM (#50056013)
> "Online" in the sense of "loaded in a device", as opposed to "sitting in my safe".

The "device" can be entirely virtual. I've written a passkey-compatible OIDC provider for use on my homelab and it uses passkeys. But the passkeys are just in a SQLite database, which can be copied wherever.

That's not advisable for security, which is one reason I've not released the provider for others to use, but passkeys can operate just fine with that.

If I wanted, the private key itself just be in something like AWS KMS instead of a SQLite database, and it would all still work fine. Nothing about passkeys itself requires a hardware device or that the key be unexportable.

Re:Passkeys are a trap. Do not use them by BoppreH on Monday October 12, 2026 @09:24AM (#50056125)
> Nothing about passkeys itself requires a hardware device or that the key be unexportable.

That's all true, but also not the point of this thread (offline backups) or the post (attestation limiting user freedom).

Re:Passkeys are a trap. Do not use them by mpyne on Monday October 12, 2026 @12:27PM (#50058770)
All of which have solutions in this thread too. Nothing forces you to use a passkey provider that enforces attestation if that’s what your threat model worries about.
Re:Passkeys are a trap. Do not use them by BoppreH on Monday October 12, 2026 @12:41PM (#50059002)
I admit that the 1+2 yubikey rotation mentioned elsewhere was clever and new to me, but I'd argue that none of the solutions in this thread were good enough.

> Nothing forces you to use a passkey provider that enforces attestation if that’s what your threat model worries about.

I'm very confused by this statement.

For starters, attestation is unrelated to the topic of offline backups discussed in this thread.

Second, the whole problem of attestation, as described in the original post, is that it's not you who decides when to use it. And it's not the passkey provider who enforces attestation, as you said. It's the Relying Party, like Netflix, who can unilaterally decide the minimum security features of my passkey scheme, with all their drawbacks, and attestation ensures that they're followed.

Re:Passkeys are a trap. Do not use them by mpyne on Monday October 12, 2026 @10:34PM (#50065871)
> It's the Relying Party, like Netflix

So the problem, then, is with Netflix, not with passkeys. Breaking passkeys to try to prevent some different harm from befalling you does not make sense. And the passkey provider can enforce the lack of attestation by refusing to support it.

Netflix could force you to use a chosen authentication provider to restrict that scenario. But, we already live in that world today, nothing in principle stops them from forcing you to use Okta Verify or Microsoft Authenticator in principle. Yet I do not see people using that as a reason to write articles about how OIDC 2.0 or TOTP is a trap.

Re:Passkeys are a trap. Do not use them by BoppreH on Tuesday October 13, 2026 @03:46AM (#50068165)
> And the passkey provider can enforce the lack of attestation by refusing to support it.

Then you won't be able to use it with Netflix when they require attestation. How's that supposed to help?

> nothing in principle stops them from forcing you to use [...] Microsoft Authenticator

Did you read the article? The author explicitly compares passkeys with TOTP, and explains how relying parties cannot force you to use a specific TOTP provider, because TOTP providers are indistinguishable from the relying party perspective. You could do it with pen and paper and nobody could stop you.

> Yet I do not see people using that as a reason to write articles about how OIDC 2.0 [...] is a trap.

First, there's no such thing as OIDC "2.0". And yes, people do complain about the SSO "Log in with X" services, for precisely the same lock in problems:

https://jeangalea.com/hidden-cost-of-sign-in-with-google/

https://www.androidauthority.com/are-you-still-using-sign-in...

https://www.techlusive.in/features/i-used-sign-in-with-googl...

Sorry to be blunt, but if your account was not so old I would be reporting you as a possible bot or troll. In my 16 years on HN, this has been my most baffling conversation. I see your other comments on this same post, and you make good points there, I don't understand what's going wrong here.

Re:Passkeys are a trap. Do not use them by mpyne on Tuesday October 13, 2026 @07:49PM (#50080573)
> > And the passkey provider can enforce the lack of attestation by refusing to support it.

> Then you won't be able to use it with Netflix when they require attestation. How's that supposed to help?

That's my point. The issue is with Netflix forcing you to use passkeys + attestation, not with passkeys existing.

> The author explicitly compares passkeys with TOTP, and explains how relying parties cannot force you to use a specific TOTP provider, because TOTP providers are indistinguishable from the relying party perspective.

I used Okta Verify and MS Authenticator on purpose; they support “extensions” beyond their TOTP support which offer relying parties additional information about authentication events. If Netflix were willing to require atypical passkeys + attestation because passkeys were popular, they should logically be willing to require atypical TOTP + extensions because TOTP is popular. The apps to do this already exist.

I have government websites that already require me to use Okta Verify specifically, but I don’t go around saying this is the fault of TOTP for existing.

> In my 16 years on HN, this has been my most baffling conversation. I see your other comments on this same post, and you make good points there, I don't understand what's going wrong here.

We might just be talking past either other. I have been guilty of it before.

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @04:26AM (#50053175)
Why would cloud sync never be "truly secure" (no such thing btw – security is always a tradeoff, availability also matters etc.)? A hardware root of trust and credential synchronization are not mutually exclusive.

True, most solutions today don't do this, which makes onboarding of fraudulent additional instances to some cloud-synced vault a big security concern, but I don't think it's fundamentally impossible.

Re:Passkeys are a trap. Do not use them by gmfawcett on Monday October 12, 2026 @01:46PM (#50060034)
Not mutually exclusive, as long as you have a trusted mechanism for establishing mutual trust between hardware roots. How do you achieve this when one of the roots is a distributed cloud service, provided by a third party?
Re:Passkeys are a trap. Do not use them by tenuousemphasis on Monday October 12, 2026 @10:29AM (#50056968)
A cloud synced passkey is still better than a cloud synced password, and that is the alternative.
Re:Passkeys are a trap. Do not use them by cheema33 on Monday October 12, 2026 @01:42AM (#50051803)
> You can put your passkey in another safe.

This! Passkeys would have been tough for me to adopt without this ability. Now passkeys are significantly more convenient that any other MFA method.

Re:Passkeys are a trap. Do not use them by peterzat on Tuesday October 13, 2026 @10:44AM (#50072565)
Right, but... I can already store my credentials in a password manager and enable MFA. I understand the pitch, but Passkeys seem to buy me very little as a user and add significant brittleness.
Re:Passkeys are a trap. Do not use them by wireless6948 on Tuesday October 13, 2026 @11:54AM (#50073722)
Most password managers allow passkey creation and storage. Most cyber attacks these days are initiated by phishing. If you get hammered one night and open a bogus link, you can still complete the pass/OTP combo, but a passkey will simply refuse to sign a domain that's not tied to