News for hackers. Stuff that matters.
Re:Bitwarden developer survey: Secrets, security and the fut... by hedora on Sunday October 22, 2023 @05:04PM (#37979077)
It’s strange that they say most developers favor passkeys.

They certainly didn’t ask the HN crowd. I wonder who they surveyed.

Are they conflating fido2 hardware tokens with “google owns your credentials, and you can’t back them up” passkeys?

Re:Bitwarden developer survey: Secrets, security and the fut... by rat9988 on Sunday October 22, 2023 @05:53PM (#37979438)
"They certainly didn’t ask the HN crowd. I wonder who they surveyed." You probably didn't survey the HN crowd either.
Re:Bitwarden developer survey: Secrets, security and the fut... by hedora on Sunday October 22, 2023 @06:11PM (#37979550)
I did not, but sentiment about passkeys is overwhelmingly negative in the comments sections of previous articles.

Here’s the “most popular” article according to a HN search for passkeys:

https://news.ycombinator.com/item?id=36712497

Re:Bitwarden developer survey: Secrets, security and the fut... by m-p-3 on Sunday October 22, 2023 @06:22PM (#37979616)
Personally I hope to see Passkeys becoming more prevalent.
Re:Bitwarden developer survey: Secrets, security and the fut... by OJFord on Sunday October 22, 2023 @06:39PM (#37979718)
I'd like a better baked version to be more prevalent.. right now it seems a bit 'how can we standardise a way for everyone to have a walled garden'.

I want bitwarden, or whatever password manager, to be the (cross-platform) provider, not the OS. It's coming, maybe/hopefully?

Re:Bitwarden developer survey: Secrets, security and the fut... by cassianoleal on Sunday October 22, 2023 @07:06PM (#37979879)
1Password already has it. I'm sure others will implement it soon enough as well.
Re:Bitwarden developer survey: Secrets, security and the fut... by OJFord on Sunday October 22, 2023 @08:05PM (#37980192)
Sure, but the man on the Clapham omnibus is going to use Apple's, or whatever's, that's what I don't like - it seems set up to serve incumbents rather than to stand on technical merit.

There's precedent for only supporting certain walled gardens, too: Google MFA sign-in supports Yubikeys et al. only if used in Chrome; in Firefox for example you get the prompt and everything, it just stubbornly refuses to accept it on touch.

Re:Bitwarden developer survey: Secrets, security and the fut... by cassianoleal on Monday October 23, 2023 @03:52AM (#37982685)
> but the man on the Clapham omnibus is going to use Apple's, or whatever's, that's what I don't like

You don't like that people will use the tool that's most convenient to them? I'm not sure I understand your argument.

Right now pretty much all people except us geeks either:

- Re-use the same password everywhere; or

- Use their OS's password manager; or

- Use their browser's password manager.

How is this any worse?

Re:Bitwarden developer survey: Secrets, security and the fut... by blitzar on Monday October 23, 2023 @05:33AM (#37983406)
> Google MFA sign-in supports Yubikeys et al. only if used in Chrome; in Firefox for example you get the prompt and everything, it just stubbornly refuses to accept it on touch.

Ok you made me look because I was sure I had been doing this every morning; Myth busted - Logged in to Google using a Yubikey via Firefox (Windows 11) no problems at all.

Re:Bitwarden developer survey: Secrets, security and the fut... by m-p-3 on Sunday October 22, 2023 @07:36PM (#37980053)
Most if not all services which I use that supports Passkeys allows you to enroll more than one per account. I have my phone (Android), my laptop (Windows Hello) andnmy primary and backup Yubikeys enrolled. I'm not restricted to a specific platform.
Re:Bitwarden developer survey: Secrets, security and the fut... by kiwijamo on Sunday October 22, 2023 @08:12PM (#37980227)
Which platforms allows you to enroll your yubikey as as a passkey? I know Google for example does not support hardware keys within their Passkeys system and that's a major gap IMHO.
Re:Bitwarden developer survey: Secrets, security and the fut... by m-p-3 on Sunday October 22, 2023 @08:20PM (#37980264)
Uh.. I enrolled my Yubikeys as Passkeys without any problems with Google.. just be sure Windows Hello doesn't get in the way, and be sure to select your USB device when enrolling.

I also have my Microsoft account enrolled as a Passkey, and Bitwarden is enrolled using WebAuthn.

Re:Bitwarden developer survey: Secrets, security and the fut... by danShumway on Monday October 23, 2023 @12:30AM (#37981648)
> Most if not all

That this is not a required part of the spec and that it's possible for a website to go through certification and get an official endorsement of support without supporting multiple keys per-account is a complete failure of the FIDO Alliance.

One of the big issues with how passkeys are being developed is the painful naivety of the FIDO Alliance about actually standardizing good behavior.

Every response is, "but why would providers do X bad thing?" If we're expecting every provider to allow multiple keys, then require it in the spec. Otherwise, if it's important that the spec not mandate that, then don't tell me that every provider is going to allow multiple keys, because apparently there's use-case for only allowing a single key and we're expecting the spec to need to accommodate that behavior.

----

> I have my phone (Android), my laptop (Windows Hello) andnmy primary and backup Yubikeys enrolled. I'm not restricted to a specific platform.

That people are seriously suggesting this as a solution to backup makes me skeptical of the potential of passkeys to ever be simpler or more straightforward than passwords are. Normal users can't be taught not to reuse passwords, they can't be taught to do 2FA, and you think they're going to proactively enroll multiple keys in every website they sign up to?

That's not going to happen; what will happen is they're going to lose their Android phone and they won't be able to do cross-device authentication without it, and they won't have proactively done cross-device authentication on their Windows machine, and the only way to get access to those keys will be to buy another Android phone. "Register multiple devices ahead of time" is only a solution if you expect passkey usage to be restricted to niche technical groups.

Re:Bitwarden developer survey: Secrets, security and the fut... by pomstazlesa on Sunday October 22, 2023 @06:38PM (#37979711)
Personally, don't
Re:Bitwarden developer survey: Secrets, security and the fut... by nl on Sunday October 22, 2023 @07:12PM (#37979916)
This article isn't even negative! It's pointing out that passkeys could make most security keys obsolete because they lack the storage to store resident passkeys for lots of sites.

It even provides recommendations to work around this problem.

Re:Bitwarden developer survey: Secrets, security and the fut... by monooso on Monday October 23, 2023 @05:37AM (#37983432)
> sentiment about passkeys is overwhelmingly negative in the comments sections of previous articles

(Emphasis mine)

The thread is discussing the general sentiment on HN regarding passkeys (based on previous discussions), not the sentiment of the linked article.

Re:Bitwarden developer survey: Secrets, security and the fut... by rat9988 on Monday October 23, 2023 @05:27AM (#37983370)
Vocal minority or majority? Hard to tell without a proper survey.
Re:Bitwarden developer survey: Secrets, security and the fut... by nl on Sunday October 22, 2023 @07:08PM (#37979895)
I think the negative sentiment towards passkeys I've seen on HN is about how bad the experience has been setting them up. If you are using a non-standard browser there were plenty of parts of the process that fell over.

> Are they conflating fido2 hardware tokens with “google owns your credentials, and you can’t back them up” passkeys?

Not sure why you say this, but perhaps you are conflating device-bound credentials (which aren't supposed to be moved between devices): https://passkeys.dev/docs/reference/terms/#device-bound-pass...

Re:Bitwarden developer survey: Secrets, security and the fut... by kiwijamo on Sunday October 22, 2023 @08:16PM (#37980247)
I personally am wary over passkey. An Android update to my S21 earlier this year dropped support for hardware keys. Now whenever I try to sign into a site that expects my hardware key the Google passkey dialog pops up and I have no way to use my hardware key to sign in. I wouldn't mind passkeys if Android continues to support the hardware keys alongside passkey but to replace the former with the latter is a step too far for me. I do wonder what the motivation behind passkey is if they're willing to drop support for hardware keys without any notification and push passkey instead.
Re:Bitwarden developer survey: Secrets, security and the fut... by bonton89 on Monday October 23, 2023 @08:36AM (#37984785)
Passkeys have attestation as a specified feature and nothing about interoperability, so the motivation is tracking and exclusion of certain classes of devices from services.
Re:Bitwarden developer survey: Secrets, security and the fut... by lxgr on Monday October 23, 2023 @09:07AM (#37985078)
Passkeys (at least the cloud-synchronized kind) don’t support authentication. At least none of the existing implementations do.
Re:Bitwarden developer survey: Secrets, security and the fut... by danShumway on Monday October 23, 2023 @09:55AM (#37985681)
I assume you're talking about attestation here, not authentication? My question is, as always:

> At least none of the existing implementations do.

So why isn't that in the spec?

Unless something has changed in the past month or so, the only reason why attestation for roaming keys is less of an issue is because Apple has voluntarily completely of its own volition decided to zero out information in its implementation. That's turned out not to be enough; it's trivial to find accounts online of people complaining that they've tried to register passkeys from alternate providers and have found out that websites are checking browser agents or using other measures to restrict which keys can be registered.

But ignoring that and only focusing on actual attestation using the mechanisms that FIDO has built into WebAuthn, why is an Open standard relying on Apple's goodwill for such an important decision? Why do we have a standard that specifies how to lock down devices through hardware attestation and that relies on providers optionally choosing to do the right thing and ignore that mechanism, but that thinks it would be overreaching for the Alliance to mandate ecosystem transfer or to block discrimination against providers/authenticators?

Re:Bitwarden developer survey: Secrets, security and the fut... by bonton89 on Monday October 23, 2023 @03:49PM (#37990629)
> ...it's trivial to find accounts online of people complaining that they've tried to register passkeys from alternate providers and have found out that websites are checking browser agents or using other measures to restrict which keys can be registered.

I knew this was going to happen but I thought they'd wait until there was more broad adoption before the screws started turning.

Re:Bitwarden developer survey: Secrets, security and the fut... by SushiHippie on Sunday October 22, 2023 @08:43PM (#37980361)
In their survey question they mentioned "fido2 and passkeys", so it's not clear how many are pro passkeys and how many had yubikeys in their mind. And the question isn't asked directly. They ask if passwords are here to stay and the answer options aren't about what the surveyed person would like to see in the future but more about what will happen in the future. e.g. "they [passkeys and fido2] will replace passwords" instead of "i want them [passkeys and fido2] to replace passwords"
Re:Bitwarden developer survey: Secrets, security and the fut... by acdha on Sunday October 22, 2023 @08:47PM (#37980380)
> Are they conflating fido2 hardware tokens with “google owns your credentials, and you can’t back them up” passkeys?

Passkeys are an open standard, not a Google SSO service. You can use it with Apple devices (where passkeys shipped well before they did on Google devices), 1Password, etc. without having a Google account at all.

The concern around backups is partially true (backups are possible, exchange between implementations is in progress) and I think that’s where the confusion is coming from: the whole point of passkeys is that your private key can’t easily be stolen and the first implementations did that only within specific services with known characteristics - for example, Apple’s iCloud Keychain robustly backs up the keys (even against complete loss of all devices) but only in that service, which is understandable given their audience and the exposure. All of the major vendors have committed to interoperable private key exchange as things mature and we’re already seeing that with e.g. 1Password and iCloud Keychain allowing you to share keys with other people.

Re:Bitwarden developer survey: Secrets, security and the fut... by danShumway on Monday October 23, 2023 @12:07AM (#37981508)
> Passkeys are an open standard, not a Google SSO service

This ignores the practical reality of every single implementation of Passkeys today. The fact is, call them Open all you want, the implementations are almost entirely proprietary. The official dev site says they don't work on Linux (https://passkeys.dev/device-support/) and in fact doesn't even list Linux as a target (only Ubuntu), and doesn't even list plans to support providers on Linux. Numerous people have said that exchange between implementations is in progress, but there's basically zero information about it (the spec process and design of exchange seems to be happening behind closed doors as far as I can tell, or at the very least I don't know where to search to find the meeting notes), and there's no timeline at all about when it will be supported, and in the meantime no major passkey provider from any ecosystem supports transfer.

But that hasn't stopped any of the major providers from launching passkeys to the general public and advocating that people start using them today.

So forgive me for being doubtful that the industry actually cares, because they clearly didn't care about this stuff enough that it was a blocker in front of asking people today to commit to ecosystems that have zero transfer systems in place if anyone needs to transfer today. Vendor lock-in is not a theoretical concern, every passkey system being advertised to users today is lock-in today. We are past the point of it being a future concern, today passkeys are vendor lock-in and the only silver lining is that we have vague promises that the existing problem that makes passkeys user-hostile today might be fixed in the future.

But that's apparently OK because ordinary users who can't be taught not to reuse passwords will just remember to make multiple keys across ecosystems for every website, and them needing to do that is apparently fine and nobody should complain about it or point out that it's not a reasonable thing to ask nontechnical users who can't wrap their heads around 2FA codes to do. /s

And I don't know, I don't think that people get to use "when the ecosystem matures" when Apple is telling its users to start using the ecosystem today. The ecosystem is mature, the industry has decided the ecosystem is mature enough to launch. The features that are still not implemented are features that the industry has decided were not essential to implement before general launch. The industry and FIDO Alliance did not care enough to implement those features before launching passkeys for regular users.

----

Passkeys are an industry standard, but I am increasingly doubtful that they are an Open standard in any of the ways that actually matter. Just because the docs are public, that doesn't change the fact that the major implementations are effectively closed silos today. I don't know if I'm being greedy or if I'm spoiled by web standards processes, but I would expect an Open standard to have Open reference implementations that work on every single OS. I think it's weird to have a bunch of proprietary implementations and a spec for providers that is theoretically possible to implement on Linux but matters so little to the FIDO Alliance that the official dev site doesn't even list Linux as a target. Imagine if Matrix didn't have an Open client or server reference implementation. Imagine if that entire process was happening behind closed doors and the only way to get news about what the Matrix devs were working on was to ask on Reddit or Mastodon or Twitter.

Would we call that an Open process?

----

> All of the major vendors have committed to interoperable private key exchange as things mature and we’re already seeing that with e.g. 1Password and iCloud Keychain allowing you to share keys with other people.

Genuinely, not as a joke or a gotcha but as a real request, I would love to see actual documentation about this, because maybe I'm bad at looking but I've gone through the official passkey sites and I search online about this regularly and I can't find official confirmation of this from most of the major vendors. Arguably Apple seems to have committed? But it's tricky to actually determine that because I'm never sure if they're talking about cross-device access or if they're actually talking about transfer.

I would love to see a section on the actual passkey.dev website committing to key exchange, that would make my day. I would love to see confirmation not on Twitter or a blog that companies are committed to this as more than a "nice to have whenever we get to it, but in the meantime just start using them, what's the problem." I would love to be wrong about this, please show me an official document from the FIDO Alliance itself saying that key exchange is going to be part of the standard and is going to be a required part of certification and giving even a semblance of a timeline about when it's going to exist.

1Password constantly gets brought up as evidence that interoperability and lock-in isn't going to be a problem, but 1Password does not support transfer between ecosystems and while they have said on Reddit that they are interested in avoiding vendor lock-in, I can't find official confirmation of that on the site and there is no timeline or details about how that's going to work. And again "it isn't going to be a problem" doesn't cut it anymore, people are recommending that users start adopting passkeys. It is a problem now. When a system gets launched and recommended to regular users and that system is missing critical infrastructure, that's not a future problem anymore; now it's a current problem.