Hacker News new | ask | show | jobs
by tptacek 8 days ago
I don't follow. Apple, for instance, is explicit about the fact that you can save your Passkeys locally[1]. What's the signature you're talking about here? Part of the point of Passkeys is your device is doing the signing.

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...

5 comments

Oh, that’s totally my ignorance on the matter then. I wasn’t aware. I thought Apple wouldn’t attest to the same key with another account. Let’s put aside that me missing this important fact as a person specifically interested in passkeys, let alone a regular user. Then, it also brings upon the problem of managing your recovery keys and how you would go about restoring your access. We might be creating new weak spots to be phished with this.

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.

You're losing me again. You want Passkeys to be migratable and syncable. I do too. They are. In what way does that make them phishable? Passkeys are an evolution of FIDO, and the entire purpose of FIDO is to combat phishing.
(I added an edit to my comment later about the offline backups, you might want to check that too)

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.

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.

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 couldn't reply to your latest comment, I guess MAX_DEPTH_REACHED == 1)

> 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'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.

[†] I only care when people say crazy things, like that they're just as safe with random passwords and a password manager, or TOTP.

(Again couldn't reply to the comment)

> 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.

The thing is in the real world no account works like this, least of all a bank account. Lost your device and need to sign in? Go to your local branch and ask them to give you online access, they take care of it. Most other accounts? Go to the login page, login with email, and set up a new passkey.

You are overthinking what users will need, passkeys with account recovery flows will work fine in the vast majority of cases.

If Apple unpersons you, doesn't that make it impossible to ever move your Apple-backed passkeys again, so as soon as your current Mac or iPhone dies, aren't you locked out of every website?
Well, no. Pretty much every website has an account recovery flow. So you trigger that and you're back in. And then you set up a new passkey to boot. So at most you're inconvenienced by a couple of minutes.
So the argument is that yes, all of your existing passkeys will be gone forever, but that's no big deal because you can just go through account recovery one by one on every website you use?
The argument is that you can recover an account when you actually use it. No one is forcing you to sit through an hourlong account recovery session on a new device. And many accounts force you to go through an email verification step anyway when they detect a new device. But when you have to do it because of a lost passkey suddenly it becomes a huge problem. This is making a mountain out of a molehill.
> Apple, for instance, is explicit about the fact that you can save your Passkeys locally[1].

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.

You're complaining about Apple, not Passkeys.
> You're complaining about Apple, not Passkeys.

I was complaining about your previous comment about Apple.

Out of curiosity, what happens if you sign that machine out of iCloud from a different machine? Are the Passkeys kept, or removed?

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.

they have done nothing to make it possible to sync and backup passkeys, they have instead forced passkeys on people and kick people out of accounts if their one android phone is ever lost or damaged.
I don't understand what you're trying to say here. Again, literally the entire point of Passkeys, as vs. the WebAuthn/FIDO that preceded them and on which they're built, is backup and synchronization. You can just demonstrate this for yourself, right now, with a phone and a laptop. I feel like we must be talking past each other.
Nobody normal understands it.

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.

That's not responsive to anything I wrote, and the last thing I wrote rebutted you on factual grounds.
You are pretending it just works, when it doesn't. And if it's confusing to me as someone who has worked in tech for 25 years then the average user has no chance.