Live data from Hacker News

Passkeys for Infrastructure

goteleport.com

61–70 of 73 posts

Re: Passkeys for Infrastructure

#61
post #26

Earlier quoted context omitted.

Most password managers check the urls before filling.

That doesn't prevent phishing attacks where the user goes "uggh. my password manager isn't working again. I'm going to copy-paste the password in by hand".

Similarly, passkeys don't necessarily block the phishing attack where the user goes, "ugh, this dongle/phone isn't working, I guess I need to put in one of these one-time recovery codes."

Account recovery is still going to be a weak point here, and it's a kind of double-edged sword. If you're really strict about passkeys getting shared between devices or manually accessed, then users are going to lose access to accounts a lot, and recovery methods are going to get easier to accommodate those situations, which will in turn re-open phishing vulnerabilities.

On the other hand, if services don't implement those recovery options, then the first time a user gets burned with losing access to an account for a week, they're going to stop using passkeys, and broader adoption will be halted.

Re: Passkeys for Infrastructure

#62

Earlier quoted context omitted.

Passkeys (in the sense the article is referring to, which is to say FIDO2 passkeys) are explicitly portable between devices. And the difference is they're always unique per-site in a way that passwords are not necessarily. It's possible to approach the security of passkeys if you always use unique passwords per-site (with e.g. a password manager) but you're still then vulnerable to phishing unlike with passkeys.

> are explicitly portable between devices Yes and no. Passkeys are portable in the sense that Apple/Google have already compromised on the "keys should never leave your device" standard and have set up backup/restore options for if you lose your phone within their ecosystem. This is portability, but extremely limited portability. It's not portability in the sense of allowing you to migrate between ecosystems. There i…

Yes, migration between ecosystems being missing is an issue that needs to be fixed, and I hope that happens.

That said, Google/Apple/Microsoft aren't the only providers that can provide passkey support; the password managers are getting into the game too. 1Password already has a demo available, and Bitwarden has said they're working on it. I plan to use those when they're available rather than any of the big players, because they are cross platform (and Bitwarden is even FOSS).

> Extremely important to mention in these discussions, passkeys are phishing-resistant, not phishing-proof. We gave up on phishing-proof when Google and Apple started doing backup and restore within their own ecosystems. Your iCloud credentials can be phished, at which point your passkeys can also be phished by setting up a new iPhone.

Sure. You could get more specific and say the act of logging in with a passkey is phishing-proof, but access to the passkey "wallet" is not necessarily. That's still a substantial improvement though; to use 1Password as an example, I use it to log into things much more frequently than I set up 1Password on a new device (which involves a security key in addition to your master password). But the security of this is indeed dependent on the particular implementation.

Re: Passkeys for Infrastructure

#63

Earlier quoted context omitted.

> are explicitly portable between devices Yes and no. Passkeys are portable in the sense that Apple/Google have already compromised on the "keys should never leave your device" standard and have set up backup/restore options for if you lose your phone within their ecosystem. This is portability, but extremely limited portability. It's not portability in the sense of allowing you to migrate between ecosystems. There i…

Yes, migration between ecosystems being missing is an issue that needs to be fixed, and I hope that happens. That said, Google/Apple/Microsoft aren't the only providers that can provide passkey support; the password managers are getting into the game too. 1Password already has a demo available, and Bitwarden has said they're working on it. I plan to use those when they're available rather than any of the big players,…

> 1Password already has a demo available, and Bitwarden has said they're working on it.

It's a step in the right direction, but I worry that:

A) 1Password seems to be treating the problem as solved just because you can use 1Password on multiple devices. They haven't talked about migrating from 1Password to Bitwarden and back again.

B) As far as I can tell, this seems to be not a part of the spec at all. Correct me if I'm wrong, but it seems like the FIDO alliance is hoping that portability becomes more of a thing, but they're not willing to say "there should be a standardized API for this". And I think that's a huge mistake, saying that every platform will individually build support for every other platform (and that we'll hope platforms will provide these mechanisms in the first place) is a recipe for killing off smaller 3rd-party clients, because they just won't be supported.

---

> You could get more specific and say the act of logging in with a passkey is phishing-proof, but access to the passkey "wallet" is not necessarily.

That's a really good way of phrasing it; I think I agree there. And yeah, 100% agreed that it's a step in the right direction, I love the core idea behind Passkey, I think it's a massive step forward for security that's hindered by concerns around portability, attestation as DRM, etc, etc...

I think what I'm getting at mostly when I point out that passkeys are not universally phishing proof is that the massive increase in security and phishing-resistance does not go away if there's generic support for migration between services that any 3rd-party platform can hook into. Yes, it's a phishing risk, but it's a phishing risk we've already accepted. Having FIDO mandate portability between ecosystems as part of the standard itself wouldn't get rid of the security benefits you describe.

And I do get people telling me "there can't be APIs for this in the standard because it defeats the entire point, they're no longer phishing-proof"; but I don't think that accurately captures the situation at all, because we already compromised on transfer between devices, they're already not completely phishing-proof. So there could be transfer methods defined by the spec that providers who wanted to say that they're compliant would have to offer, and those transfer methods could have the same security requirements around them that Apple uses when restoring keys to a new iPhone. It doesn't need to be platform-dependent, there could be an open standard around this and it wouldn't ruin the security of the passkeys to have that open standard.

Re: Passkeys for Infrastructure

#64

Earlier quoted context omitted.

1Password does have passkeys in the works. https://www.future.1password.com/passkeys/

Does 1Password have a solution planned for migrating to other password managers? Can I migrate my "logins" from Android to 1Password in a single action (as opposed to going account-by-account and adding a new key)? Being tied to 1Password is better than being tied to iOS, but it's a far cry from real portability.

https://support.1password.com/export/

Re: Passkeys for Infrastructure

#65

I see a few obstacles with Passkeys as-implemented: * They effectively entrust the keys to your entire digital life to (right now) either Google or Apple. Account compromise, or a ToS-related suspension, becomes catastrophic. * Domain changes happen (acquisitions, rebrands, etc.), and there is no way to share or migrate passkeys between domains. Right now the best you can do is a highly manual process involving the u…

1Password does have passkeys in the works. https://www.future.1password.com/passkeys/

Is 1password part of the cartel or is the spec open enough to run my own passkey sync infra like they do? I cant tell from these docs

Re: Passkeys for Infrastructure

#66

Earlier quoted context omitted.

Yes, migration between ecosystems being missing is an issue that needs to be fixed, and I hope that happens. That said, Google/Apple/Microsoft aren't the only providers that can provide passkey support; the password managers are getting into the game too. 1Password already has a demo available, and Bitwarden has said they're working on it. I plan to use those when they're available rather than any of the big players,…

> 1Password already has a demo available, and Bitwarden has said they're working on it. It's a step in the right direction, but I worry that: A) 1Password seems to be treating the problem as solved just because you can use 1Password on multiple devices. They haven't talked about migrating from 1Password to Bitwarden and back again. B) As far as I can tell, this seems to be not a part of the spec at all. Correct me if…

Fully agree.

I suspect that even if FIDO doesn't spec out a portability standard, the smaller players might. There's no guarantee the big platforms will play ball, but even if they don't it'd still be useful to some people.

I'm not sure FIDO even could mandate portability if they wanted to, though. I suppose they could for certified implementations, but while I see Google on the list of companies with certified authenticators I don't see Apple or Microsoft... they're large enough that people will use whatever they implement regardless of whether it's certified. As far as I can tell it's not a requirement for implementation, and Microsoft and Apple have more name recognition than FIDO by far.

Re: Passkeys for Infrastructure

#67

Earlier quoted context omitted.

> There's no way to migrate your passkeys between ecosystems. The FIDO Alliance doesn't recommend that you migrate Passkeys, but instead, you have multiple passkeys across various platforms for the same "login". See the following talk on this very thing: https://www.youtube.com/watch?v=SWocv4BhCNg

The FIDO Alliance can recommend whatever they want, but making multiple passkeys is not a substitute for import/export. It's a backup strategy for what happens if a device gets lost, it doesn't make it any easier to set up new devices. Backup is an orthogonal problem to migration, and it's really weird that the FIDO alliance keeps treating them like they're the same problem. You're still looking at a scenario here wh…

To make matters worse, I don't even know on which websites I have my YubiKey registered.

I just checked mine, and it shows my Microsoft credentials and NVidia.

But I know for a fact that I also use it on Vanguard and BofA (which doesn't support keys on iOS in case you're wondering).

So I 1) cannot extract the masterkey from my YubiKey and move it to another one to make an exact duplicate 2) cannot discover the places where I registered my key

For SSH you can have a 'sk' key and a normal one [0]. I went with the normal one and moved it into the YubiKey, at least that way I have a backup sitting SOMEWHERE.

[0] https://cryptsus.com/blog/how-to-configure-openssh-with-yubi... (not affiliated at all)

Re: Passkeys for Infrastructure

#68

Earlier quoted context omitted.

Does 1Password have a solution planned for migrating to other password managers? Can I migrate my "logins" from Android to 1Password in a single action (as opposed to going account-by-account and adding a new key)? Being tied to 1Password is better than being tied to iOS, but it's a far cry from real portability.

https://support.1password.com/export/

This doesn't mention anything about passkeys though, only traditional password fields and one-time-passwords. I'd love to see some confirmation that their passkey implementation is going to include the same support.

Re: Passkeys for Infrastructure

#69

Earlier quoted context omitted.

https://support.1password.com/export/

This doesn't mention anything about passkeys though, only traditional password fields and one-time-passwords. I'd love to see some confirmation that their passkey implementation is going to include the same support.

1Password doesn't support passkeys, so their documentation isn't going to mention this.

Re: Passkeys for Infrastructure

#70
post #69

Earlier quoted context omitted.

This doesn't mention anything about passkeys though, only traditional password fields and one-time-passwords. I'd love to see some confirmation that their passkey implementation is going to include the same support.

1Password doesn't support passkeys, so their documentation isn't going to mention this.

Right, the question is: given that 1Password is adding support for passkeys (https://www.future.1password.com/passkeys/), are they going to support exporting them once they are a passkey provider?

I don't see any indication that they are. If they don't plan to support exporting and importing into other ecosystems, then I would argue that their implementation is not portable. I would say that zacharyvoase's concern is still valid in that scenario:

> There's no way to migrate your passkeys between ecosystems

Post reply on HN