by tptacek · 1w ago · 0 comments
I interviewed Adam Langley about Passkeys and like 75% of that interview was just him talking about all the work Google had put into making it possible to sync and backup Passkeys. I think it might literally be the difference between Passkeys and plain-old-FIDO, which existed for years prior to Passkeys.
https://support.apple.com/en-ca/109016?utm_source=chatgpt.co...
I’ll edit the article when I get back home. I appreciate the feedback.
EDIT: I looked it up, iCloud doesn't let you backup your passkeys offline to any device, but only lets you sync with your other Apple devices, and in case of a Mac, yes, you might be able to restore your passkeys to another Apple account if the one you're using gets banned (didn't look it up in detail yet). I own several Apple devices, I don't own a Mac, so this doesn't apply to me. It looks like the situation is even more complicated with other providers like Microsoft.
When I meant offline backups, I meant, being able to export/download your passkeys, preferably protected by a password, and the ability to import those passkeys to a new account, even if to the same provider, later. Currently, Apple doesn't let that happen. Yes, maybe one can jump hoops with their Mac, but that's more like a hack, rather than a universal, reliable recovery flow.
About phishing, think of this phishing scenario:
I send you an email, saying that there is a problem with your Apple Passwords, say it's corrupt or whatever, and in order to fix it, you need to re-upload your passkey backup file (whatever it is on your Mac). It's not as straightforward as "enter your password", but it's still theoretically possible to remotely take over your account with this flow.
When passkey remains inside a physical security key, it's completely unrechable. That's what makes it unphishable. But, when you start copying your passkey into files on somewhere else other than Apple servers, that becomes a threat vector in itself, especially if you're targeted for it.
What you just described is a social engineering attack, not a phishing attack. When you've reached the point of telling your victim they need to upload their .kdbx file, you've (1) left the realm of things a protocol can really address, and (2) adopted an argument that says backup is a bad thing, which makes your post incoherent.
The core idea of a phishing attack is origin spoofing.
Put differently: it would be simpler (and totally plausible; security is hard) to trick a user into running attacker-controlled code --- perhaps to "diagnose" a "problem" --- at which point all bets would be off, even if you were using hardware keys.
> I addressed your update upthread. What you just described is a social engineering attack, not a phishing attack. When you've reached the point of telling your victim they need to upload their .kdbx file, you've (1) left the realm of things a protocol can really address, and (2) adopted an argument that says backup is a bad thing, which makes your post incoherent.
You're right, and I should have made my argument clearer. Backup isn't inherently bad. But, there are tradeoffs with both approaches a) no backup, you're at the mercy of the provider vs b) backups, you are now at the mercy of your security skills. Both have different pros and cons. Similar to how it's not Bitcoin's problem that you lose your passphrase and people lose their Bitcoin wallets left and right. It's a UX problem, not a protocol problem.
It may not be responsibility of FIDO2 passkey protocol to protect your kdbx file, but the distinction doesn't really help people. What matters is: can people rely on a passkey to access their accounts idefinitely without thinking about how they would salvage a kdbx from their Mac? Will users reach an awareness level that how many Passkeys would set themselves for life in case one of the provider accounts (like Apple) goes down?
Because, these are easy to answer questions with passwords. It doesn't matter which hash protocol the server uses for your password. You remember your password? Then, you're set for life (as long as you resist phishing attacks, yes). Apple bans you? Microsoft bans you? You might lose access to hundreds of accounts you have. With Passkeys, your provider banning you becomes a life-critical event, and "you should have synced to other devices" won't be helping victims of it retroactively. The UX is confusing, the backup/no-backup/syncs-are-actually-backups/buy-a-mac conundrum is confusing.
We might see many people losing access because they didn't plan properly for the ramifications of this. FIDO2 not covering social engineering or, say, malware, attacks doesn't change the current problem with provider-centric model. People assume that they can always recover their accounts. I think passkey hides many bitter truths behind "oh, you're going to be fine".
I like passkeys and use them, but it makes itself look too good.
[†] I only care when people say crazy things, like that they're just as safe with random passwords and a password manager, or TOTP.
> I'm past caring whether people do or don't like Passkeys, but brought this up because your article made a point, very early on, that was a record scratch for anyone who understands why Passkeys exist. And then, in responding to that point, you made a weird argument about how Google and Apple won't "sign" Passkeys they don't own? Which is not how Passkeys work.
It must be very clear to you as a security researcher on how passkeys make sense and how great they work, but I look at it from a user's perspective. So, your criticism about my arguments is an indictment of passkeys too. Because, when a user loses access to their accounts they will be hit with "oh right, you didn't understand how passkeys work, and that's why you lost access to your bank account, oh poor guy, you should have read more about passkeys".
When I said "Apple won't sign a passkey" I meant was that Apple probably wouldn't just let us transfer passkey files from one Apple account to another Apple account, and I turned out to be right. It was a right only given in the context of the same account with a sync setup between devices. And there is one hack that involves a Mac, and some unknown-level of sorcery to use a kdbx file with another Apple account. No one can do that. Security researchers can, I'm sure. Possibly, I can and some power users too, if I buy a Mac in the future. No one else.
No one even could imagine that they would need more than one device to make sure they would never lose access to their accounts. So, if any user trusts passkeys, and get their provider account such as Apple banned, they will have lost all access to all their accounts with passkeys. Yes, they will never be phished, but maybe they'll wish they would instead of having lost access.
You are overthinking what users will need, passkeys with account recovery flows will work fine in the vast majority of cases.
The use of "save" here is misleading. More accurately, it's "not delete". The passkeys are already "saved" locally when synced via iCloud Keychain. If you disable iCloud, you can choose to keep the data already synced. But that's essentially a dead-end: you can't create any new passkeys unless you enable iCloud Keychain.
Essentially, how do you balance your device being stolen versus the company unjustly bans you? The company, of course, would assume the latter never happens… but I suppose they can also assume encrypted disk.
If people with too much time on their hands want to do a qrcode Bluetooth dancey dance to share credentials cool. But don't force me to participate in the delusional techbrain design.