Hacker News new | ask | show | jobs
by lapcat 3 days ago
> sync/backup

These are two very different things.

Sync is not backup. Good backups are redundant, chronological, and under your control. Sync, on the other hand, is typically under the control of a third-party provider, and only the latest version of your data is accessible, not a history of your data. If the sync system is buggy, then your data gets corrupted with no recovery. That's why you need backups, not just sync.

1 comments

Again, I feel like we all must be talking past each other, because you can just install KeepassXC (not my favorite app, but whatever) and use its browser WebAuthn integration set passkeys, which are saved in KeepassXC's encrypted database format, which you can do whatever you want with. This is an existence proof, not a recommendation.
KeepassXC happens to exist, but the spec does not require its existence. And you went on to talk about iCloud Keychain, which does not provide the same level of backup. So backup is definitely not the entire idea behind passkeys. Perhaps sync is, though.
I'm sorry, I genuinely do not understand what you mean by "KeepassXC happens to exist but the spec does not require its existence".
You asked, "isn't sync/backup basically the entire idea behind Passkeys."

But the KeepassXC implementation of passkeys, which may be compatible with a backup system under your control, came long after the invention of passkeys, and as far as I know, KeepassXC was not even involved in the invention of passkeys. Some other implementations of passkeys, indeed implementations that predated KeepassXC's, are much more hostile to backups.

Thus, I see no evidence that backup was the entire idea behind passkeys.

Sync, as I've claimed, is a different matter.

What does it matter whether KeepassXC was involved in the invention of Passkeys?

Passkeys are much more hostile to backups than passwords are, because few things are more backup-able, for better or worse, than simple memorable text strings.

But FIDO2 keys were generally not backup-able at all, which is why we have Passkeys, rather than just giving everyone Yubikeys.

> But FIDO2 keys were generally not backup-able at all, which is why we have Passkeys, rather than just giving everyone Yubikeys.

A Yubikey is not very convenient to use with a smartphone, for example, both because you'd have to bring the Yubikey with you everywhere you go—problematic for multiple reasons—and because you need just the right type of port, or a dongle. (I'm annoyed that I have to use a dongle with my Yubikey on my newer MacBook Pro.)

I suspect that's a big reason why an alternative was needed.

> because you can just install KeepassXC

KeepassXC is being subtly threatened by passkeys standards people in a "it would be unfortunate if anything happened to your app" way because they allow you to export your keys in cleartext: https://github.com/keepassxreboot/keepassxc/issues/10407 (linked elsewhere in the thread too, which saved me from having to find this).

A standards person says in that very convo:

> You absolutely should be preventing users from being able to copy a private key!...The unfortunate piece is that your product choices can have both positive and negative impacts on the ecosystem as a whole. I've already heard rumblings that KeepassXC is likely to be featured in a few industry presentations that highlight security challenges with passkey providers...

Given this, I find it hard to believe as a user that backup is at the heart of passkey implementations. Industry "leaders" can blame the user all they want, but if not allowing me to copy my private key wherever the hell I want is going to form the cornerstone of their spec, the burden of proving that it isn't causing massive user harms is up to them.