Live data from Hacker News

Bringing passkeys to Android and Chrome

android-developers.googleblog.com

221–230 of 264 posts

Re: Bringing passkeys to Android and Chrome

#221

Can we have this but self-hostable and open source, please? Something like Bitwarden that you can stuff onto your own device? I know there are hosted services for handling auth on the server backend, but what about the other way around? I use Krypton but that's not maintained (and already broken on some websites like Github). I trust the secure storage module of my phone and I trust my computer's TPM, unlike many oth…

Yes, you can. It's an open standard. Bitwarden can (and probably will) just support it.

I don't see how that would work without integration into browsers.

Re: Bringing passkeys to Android and Chrome

#223
post #176
post #127

Dumb question: what keeps me from spoofing the fingerprint[1] and obtaining all the passcodes at once? [1] https://phys.org/news/2005-12-biometric-expert-easy-spoof-fi...

First, note that the article you linked is pretty old — the people who build biometric systems have added countermeasures in the last couple decades. They're definitely not perfect but it's not an especially easy attack since it's personalized and doesn't scale. The first thing to remember is that your fingerprints / face scan are not the identifier for your passkey. They are used by the local device to unlock its se…

> The interface also does not provide access to the private keys ever

There are both statements all over this thread, "the private key is inextricably bound to the device" and "the private key can be backed up". This seems to be an attempt to declare both the problem with theft and the problem with lost devices as solved. Except, they are mutually exclusive: If the key is bound to the device, I can't back it up. If I can back the key up, it can't be bound to the device and can be stolen.

There is one way to get both, which I assume Google is offering here: Have the key inaccessible to the user of the device, but allow some cloud provider access, so it can be automatically backed up to the cloud.

That's all fine and good, but now you're dependent on the cloud provider not playing games with you. And you still have to authenticate to the cloud provider in some way, e.g. to add a new device. (And have to do that in a way that someone who stole your phone couldn't just do the same)

> The other thing to consider is what your threat model is. If you're worried about someone stealing your phone and building a realistic model of your fingerprint or scan of your facial structure, you have to ask what the alternatives are. For example, it'd be a LOT easier for an attacker to use a hidden camera or drone to record you entering your password

You can also view this from a different angle: Phones get lost all the time, sometimes stolen. It's statistically not that unlikely that your phone will get lost at some point and the people who find it may not always have the best intentions.

If a phone is in the wrong hands, it's much easier to gain access to the phone using fingerprints than it is using passwords: There is a good chance some usable fingerprints from you are still on the device cover itself. Sure, an attacker would need some resources to take the fingerprints and build something that can be used with the phone's sensor, but if enough people use fingerprints for auth, attackers will streamline this step quickly.

That's bad enough if it grants "only" access to the phone itself, but now it would also grant the attacker access to each and every online account.

Sure, you could race to deactivate keys - if you remembered to setup alternative login methods before, because otherwise it's you now who cannot login anymore.

Re: Bringing passkeys to Android and Chrome

#224

> A passkey on a phone can also be used to sign in on a nearby device. For example, an Android user can now sign in to a passkey-enabled website using Safari on a Mac. Similarly, passkey support in Chrome means that a Chrome user, for example on Windows, can do the same using a passkey stored on their iOS device. > Since passkeys are built on industry standards, this works across different platforms and browsers - in…

It seems the client side is baked into browsers rather than being something which leverages a local implementation for key storage.

Re: Bringing passkeys to Android and Chrome

#225

Earlier quoted context omitted.

This is also going to be a body blow for our privacy - if BigTech have access to your keys, so will the government and both can abuse it. The idea is to force you to "save password on device" (whether you want to or not) so that when a government authority gets your device they can also easily access all your internet accounts. US courts have already affirmed that it is legal for the police to force you to unlock you…

There will be services from 1password, yubikey, etc. This is actually great news!

I don't think this is possible. The browser doesn't allow other backends for key storage.

Re: Bringing passkeys to Android and Chrome

#226
post #173
post #147

Earlier quoted context omitted.

> If you lose one you have one safely secured that can get you into any service you need to. Even that is not good enough, by a longshot. This is so much worse than even regular passwords. It works for corporatiosn. Lost your key? Go to IT and generate a new one. It does not work for individuals.

You realize you can have multiple devices for Passkeys, right? It’s webauthn. Which means you can have one or more of the following, in any mix you wish: yubikey, iPhone, Android device, password manager that has said they’ll support this (1Password, Bitwarden, Dashlane, and probably more). Password managers will sync the private keys between devices as well. So, as long as you can access your password manager you sh…

You can't sync between yubikeys so not sure what that would add to the mix.

Re: Bringing passkeys to Android and Chrome

#227

The thread here seems like a dumpster fire to me. Everyone here is worrying about lock-in to an open standard, so I want to clarify things. WebAuthn is an open standard. It's a way for you to prove to a website that you have a specific private key. There's no lock-in, because the key is portable (unless you don't want it to be). There's no privacy issue, because the key is unique per website. There's no security issu…

> There's no lock-in, because the key is portable (unless you don't want it to be).

> There's no security issue, because it's unphishable and can be unstealable if it's in hardware.

You mean, you can (in theory) choose whether you'd rather have a lock-in or a security issue. Both options are mutually exclusive, you can't have them both at the same time.

Re: Bringing passkeys to Android and Chrome

#228

The thread here seems like a dumpster fire to me. Everyone here is worrying about lock-in to an open standard, so I want to clarify things. WebAuthn is an open standard. It's a way for you to prove to a website that you have a specific private key. There's no lock-in, because the key is portable (unless you don't want it to be). There's no privacy issue, because the key is unique per website. There's no security issu…

> EDIT: If you want to try it, I just verified that https://www.pastery.net/ works great with Passkeys even though I haven't touched the code in a year.

It does not work with Chrome on Android.

Re: Bringing passkeys to Android and Chrome

#229
post #222
post #208

Here is the technical side of how passkeys work: https://www.imperialviolet.org/2022/09/22/passkeys.html https://news.ycombinator.com/item?id=32946750

...a (good) tutorial for website developers

Yes, but it has a lot of info on how they work.

Re: Bringing passkeys to Android and Chrome

#230

Earlier quoted context omitted.

> I don't use my phone to log in to anything. All my stuff is done on a computer with a password manager. More or less the same, except that I haven't found good TOTP solutions for the desktop, to the tune of KeePass (something that can run on Windows/*nix instead of making me use something like FreeOTP, Google Authenticator or other Android/iOS apps; or in addition to the mobile apps). That said, even with multiple…

KeePassXC supports TOTP. Right-click a key, TOTP→Set Up TOTP... and put in the secret key (and settings if needed).

Thanks, this seems like the solution with the least friction for someone who's used to KeePass! A lot of other good solutions in the sibling comments as well, actually.
Post reply on HN