News for hackers. Stuff that matters.
Re:The Cryptography Behind Passkeys by supportengineer on Wednesday May 14, 2025 @12:04PM (#43986146)
For me, the only thing that makes passkeys viable is backing them up in the cloud and automatically syncing them across devices. Otherwise, I do not trust them.
Re:The Cryptography Behind Passkeys by TechDebtDevin on Wednesday May 14, 2025 @12:08PM (#43986192)
What do you use?
Re:The Cryptography Behind Passkeys by dboreham on Wednesday May 14, 2025 @12:41PM (#43986587)
Not the parent, but the obvious answer is: a hard token (e.g. Yubikey). After all passkeys are just a software emulation of the smart card / FIDO2 mechanism that's been around for many years.
Re:The Cryptography Behind Passkeys by crote on Wednesday May 14, 2025 @02:08PM (#43987505)
This doesn't solve the problem, unfortunately.

The issue with hard tokens is that there is only one of them. By design, you can't back up a Yubikey's content to a second token. This means that any time you add 2FA to a new account, you must have all of your hard tokens in your possession to enroll them. This means a "one token on your keyring for daily use, one token in a safety deposit box as backup" approach isn't possible.

Yubico did propose a potential solution five years ago[0], but that proposal seems to have gone nowhere. Until something like that gets implemented, FIDO2 (and by extension Passkeys) requires some form software implementation backed by cloud synchronization to actually be usable for the average person.

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

Re:The Cryptography Behind Passkeys by hanikesn on Wednesday May 14, 2025 @02:20PM (#43987626)
It works well enough. When you need to signup for a new service on the go, you can add your backup key when you get to it. Having the backup key in a safety deposit box hardly accessible seems like a non-goal given you protect it with a pin with a very limited number of retries.
Re:The Cryptography Behind Passkeys by bitzun on Wednesday May 14, 2025 @03:09PM (#43988156)
I keep it in a secure separate location in case my house catches on fire.
Re:The Cryptography Behind Passkeys by godelski on Wednesday May 14, 2025 @04:47PM (#43989032)

  > When you need to signup for a new service on the go, you can add your backup key when you get to it
Good on paper, bad in practice.

Requires you to remember doing that each and every time. Incidentally this isn't that different from just grabbing your keys like the parent suggested. Only it introduces a new variable: time delay. A lot can happen in that time and we all know the reality is that even a diligent person is going to slip now and then. It surely isn't a reasonable expectation for an average person.

Re:The Cryptography Behind Passkeys by blibble on Wednesday May 14, 2025 @05:21PM (#43989351)
I have three: 1) local usage 2) local backup key 3) remote backup key

every few months I swap 2 and 3, and re-enroll any missing (kept track of with a spreadsheet)

quite annoying, offline enrollment would be considerably better

Re:The Cryptography Behind Passkeys by rssoconnor on Wednesday May 14, 2025 @09:40PM (#43991016)
This is the way.
Re:The Cryptography Behind Passkeys by lxgr on Wednesday May 14, 2025 @06:28PM (#43989840)
> Having the backup key in a safety deposit box hardly accessible seems like a non-goal

It's absolutely a goal, since a PIN doesn't prevent your security key from loss, theft, or physical destruction.

Re:The Cryptography Behind Passkeys by johnisgood on Wednesday May 14, 2025 @12:21PM (#43986345)
I'm not sure if this is satire. You trust the "cloud" and whatever does the syncing to the cloud? I definitely don't trust anything that "syncs to the cloud".
Re:The Cryptography Behind Passkeys by paulryanrogers on Wednesday May 14, 2025 @12:34PM (#43986497)
> I definitely don't trust anything that "syncs to the cloud".

What if you lose your device? Do you install alternate passkeys in a second device? Do you have to do that for every site and service?

Re:The Cryptography Behind Passkeys by johnisgood on Wednesday May 14, 2025 @01:47PM (#43987309)
I use KeePassXC, and I have backups, if that counts, at least for passwords/passphrases and TOTP.
Re:The Cryptography Behind Passkeys by lurking_swe on Wednesday May 14, 2025 @04:01PM (#43988598)
do you have offsite backups?
Re:The Cryptography Behind Passkeys by johnisgood on Thursday May 15, 2025 @03:48AM (#43992776)
I do not have any backups on any servers, I have them on other media that I have physical access to.
Re:The Cryptography Behind Passkeys by jonasdegendt on Wednesday May 14, 2025 @04:43PM (#43988987)
I read their comment to be “I trust myself to lose a hardware key, but not a software key that’s backed up and synced across all my devices.”

That’s one way to look at it: passkeys are just a more convenient form of authentication compared to passwords. Although in my mind you’re arguably not achieving a whole lot considering the security bottle neck is still the same, being the login to your password manager.

I use physical Yubikeys so I’m a bit out of the loop here, but are there any methods for protecting your root password to your password manager in this scenario?

Re:The Cryptography Behind Passkeys by recursive on Wednesday May 14, 2025 @05:44PM (#43989527)
Probably not satire. He/she doesn't need you to trust it for them to use it.
Re:The Cryptography Behind Passkeys by lxgr on Wednesday May 14, 2025 @06:29PM (#43989849)
Sure, why not? The cloud is just somebody else's computer, and if I don't trust that somebody to not take a peek, I'll make sure to encrypt my data first.

Many password managers do just that.

Re:The Cryptography Behind Passkeys by udev4096 on Thursday May 15, 2025 @03:17AM (#43992609)
It doesn't matter as long as it's encrypted. Use rclone crypt and upload to whatever "cloud" you want
Re:The Cryptography Behind Passkeys by johnisgood on Thursday May 15, 2025 @07:40AM (#43993970)
If it is encrypted (incl. the filenames), sure, but is it usually the case? If I do it manually, of course it would be, but all these modern "sync to cloud" solutions, I absolutely do not trust.