News for hackers. Stuff that matters.
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.