News for hackers. Stuff that matters.
Re:Passkeys: The Beginning of the End of the Password by mk89 on Wednesday May 03, 2023 @05:38PM (#35808138)
You need to click on the link that is in the post: https://blog.google/technology/safety-security/one-step-clos...

> Instead, your phone will store a FIDO credential called a passkey which is used to unlock your online account. The passkey makes signing in far more secure, as it’s based on public key cryptography and is only shown to your online account when you unlock your phone.

It looks like a token stored on your phone that will be used instead of your password to authenticate.

Apple did something similar: https://developer.apple.com/passkeys/ that is automatically sync-ed in iCloud Keychain, so on every apple device you own, you can use it.

More information here: https://fidoalliance.org/passkeys/

Re:Passkeys: The Beginning of the End of the Password by __MatrixMan__ on Wednesday May 03, 2023 @06:06PM (#35808428)
Why not call it a private key then, we've been handling those since the 70's.

They don't need to be rebranded, they need to be taught in high school with the same words we've always used to talk about them.

Re:Passkeys: The Beginning of the End of the Password by esquivalience on Wednesday May 03, 2023 @06:45PM (#35808839)
Why not call passwords private words? We've been using words even longer.

The answer is that they're being used to pass an authentication challenge. Pass + key is no different.

Re:Passkeys: The Beginning of the End of the Password by mr_toad on Wednesday May 03, 2023 @07:39PM (#35809337)
I guess because historically (before computers) passwords were often shared. Even now a password doesn’t technically need to be private.
Re:Passkeys: The Beginning of the End of the Password by bqmjjx0kac on Wednesday May 03, 2023 @10:35PM (#35810593)
"Open sesame"
Re:Passkeys: The Beginning of the End of the Password by 0xCMP on Wednesday May 03, 2023 @11:09PM (#35810784)
Neither does a passkey. They've designed the standard to allow sharing the passkey with others.
Re:Passkeys: The Beginning of the End of the Password by JohnFen on Thursday May 04, 2023 @11:50AM (#35817358)
Wait, they have?
Re:Passkeys: The Beginning of the End of the Password by CydeWeys on Thursday May 04, 2023 @12:49PM (#35818419)
Are you sure you have the details correct here? This is not generally how public key cryptography works.
Re:Passkeys: The Beginning of the End of the Password by jephdo on Thursday May 04, 2023 @01:12PM (#35818805)
I think he might be referring to single device vs multi device pass keys

https://developers.yubico.com/Passkeys/Passkey_concepts/Sing...

I wouldn't be surprised if password managers implement sharing between users tho

Re:Passkeys: The Beginning of the End of the Password by 0xCMP on Monday May 08, 2023 @11:26PM (#35869843)
For instance, with Apple you can AirDrop the Passkeys. https://support.apple.com/guide/iphone/share-passkeys-passwo...
Re:Passkeys: The Beginning of the End of the Password by __MatrixMan__ on Wednesday May 03, 2023 @07:02PM (#35809003)
There's already nomenclature for that too. Auth keys vs signing keys.
Re:Passkeys: The Beginning of the End of the Password by Zetice on Wednesday May 03, 2023 @10:30PM (#35810565)
I think the real answer to your question is a) marketing and b) it’s more data than just a private key. It has a private key, but also some other things.

Could be clearer for the tech folks though I agree.

Re:Passkeys: The Beginning of the End of the Password by romwell on Wednesday May 03, 2023 @09:19PM (#35810095)
>Why not call passwords private words?

Because the word "password" has been in use for a long time, before computers, for the purpose of physically passing from one place to another.

The thing about password wasn't that it is a secret word, it's that it allows you to pass somewhere. Typically, passwords were a shared secret (i.e. not secret).

A digital key is typically different from a password in that it's not a word, i.e. not something people can remember a type. It's more like something you have than something you know.

In the context of cryptography it makes sense to distinguish keys from passwords, and public keys (used to "lock" data) from private keys (to "unlock" data). The word key is used for that concept because of the semantics of how keys are used.

A passkey is an abomination. A key, a-priori, is an object that opens locks; and we already have words for keys that allows you to pass somewhere: e.g. door keys.

A pass, in general, is something you present to pass somewhere, whether it's spoken or written; a key is not something you present to pass somewhere.

We have pass words, pass slips, hall/press/ski pass badges, etc.

We don't have pass keys, because you don't show a key to pass somewhere. You use it.

A password encoded as a QR code that you could show to a sensor would be a passkey.

Whatever Google has is probably something else.

Re:Passkeys: The Beginning of the End of the Password by pimlottc on Wednesday May 03, 2023 @07:00PM (#35808987)
Given how poorly private keys have done in the end user marketplace so far, they definitely need to be rebranded.
Re:Passkeys: The Beginning of the End of the Password by __MatrixMan__ on Wednesday May 03, 2023 @07:07PM (#35809044)
Every time I notice a rebranding I assume they're trying to hide something from me. Maybe that's just me.
Re:Passkeys: The Beginning of the End of the Password by krageon on Thursday May 04, 2023 @05:05AM (#35812905)
It is a fair assumption even in this case, the rebranding serves to hide the fact that private keys are used from you.
Re:Passkeys: The Beginning of the End of the Password by dwaite on Wednesday May 03, 2023 @09:00PM (#35809955)
It isn't (just) a private key. It is part of a purpose-built authentication process that leverages private keys as a component.

You cannot use the private key within a passkey for general purpose data signing, for example.

Re:Passkeys: The Beginning of the End of the Password by Spivak on Thursday May 04, 2023 @08:32AM (#35814262)
What's stopping you? I have no intention of ever locking my keys in a hardware vault away from my own access and they're plain ole keys underneath.
Re:Passkeys: The Beginning of the End of the Password by witheld on Thursday May 04, 2023 @01:09PM (#35818753)
Then you can’t use passkeys!
Re:Passkeys: The Beginning of the End of the Password by pishpash on Wednesday May 03, 2023 @09:36PM (#35810223)
So like SSH keys and github keys but for everything else? Not going to solve the problem. Please give me hardware tokens, you know, actual "keys" I can physically secure.
Re:Passkeys: The Beginning of the End of the Password by masukomi on Thursday May 04, 2023 @07:32AM (#35813817)
because there's a time based hardware component to it.

this isn't just public key encryption. Think of it as a physical Yubikey but embedded in your ...whatever.

Re:Passkeys: The Beginning of the End of the Password by MyNameIsFred on Saturday May 06, 2023 @07:58PM (#35846525)
The simplified terminology is not for you or I as technologists. It is for the general consumer market. Yes, public/private key cryptography has been a thing for decades, but it has been out of reach for the consumer market. The whole passkey idea is to reduce the technical and cognitive friction to make it a viable replacement for passwords.
Re:Passkeys: The Beginning of the End of the Password by xg15 on Wednesday May 03, 2023 @06:57PM (#35808960)
I'm not completely sure, but my understanding is that it's basically the same principle as SSH keypairs, with the added twist that the user never gets direct access to the private keys.

The keys are also per-device, so e.g. if you use your Google account from your phone, your laptop and your workplace PC, there would be three public keys associated with your account.

Because the private key (in principle) doesn't ever need to leave the device, it could be stored in a TPM, Secure Enclave or similar chip. The device itself is also supposed to protect the key with some sort of local authentication, i.e. biometrics or a PIN. That stuff only happens locally on the device though and doesn't involve Google's servers in any way.

Consequently, if you want to log in from a new device, you can't just copy over the key - you have to perform some complicated dance where the new device and an old device that you have already registered work together to generate a new keypair for the new device.

If you don't have an old device, e.g. because you're a non-techie and only ever used your account on your phone and now your phone just broke? Though luck, I guess?

Same goes for blocking a key: In theory, you can block access for each device individually - however, you need to be able to access your account using one working device in order to do so.

(There is also the hilariously useless flow of "delegating" to a device, for when you're really really really want to check emails from your friend's phone but also have your own phone right with you in your pocket. It will not actually help you if you want to check emails from your friend's phone because you have forgotten your's. This feature sounds a lot like they needed something to respond with if someone asks about logging in from 3rd party devices - without making that usecase actually practical.)

So I guess all that does make stealing the private key somewhat hard: Phishing is out of the question as the user can't access the key even if they wanted to. Even if you got hold if the physical device, you'd have to get the key out of the TPM.

The bigger problems I see is that your account is now tied to your devices instead of, well, you: If someone steals your phone and manages to guess the PIN or get through the biometric auth, they have instant access to everything. On the other hand, if you have no registered device left, you're effectively locked out of your account.

(All that assuming if passkeys were the only option for logging in. As of now, they still seem to plan with passwords as fallback, so that's just hypothetical)

Re:Passkeys: The Beginning of the End of the Password by taeric on Wednesday May 03, 2023 @08:04PM (#35809557)
Sounds like you are describing how hardware tokens are typically done? With this being an idea of how to move the token into the cloud?

I can kind of see the reasoning on why the browser wants to do this. Every one of them has a "generate secure password" feature bolted on, now. And I'm not clear that any of them have a way to port passwords out to another source.

Still feels a bit uneasy to me. Physical keys for property provide the kind of security that just doesn't cut it for virtual assets. Such that I'm having a hard time seeing any model without terrible failure cases. :( Super glad that isn't my day job. Good luck to them.

Re:Passkeys: The Beginning of the End of the Password by dwaite on Wednesday May 03, 2023 @09:18PM (#35810088)
> I'm not completely sure, but my understanding is that it's basically the same principle as SSH keypairs, with the added twist that the user never gets direct access to the private keys.

Pretty close - in fact you can use passkeys for SSH access, a la "ecdsa-sk", and in some cases "ed25519-sk".

> The keys are also per-device, so e.g. if you use your Google account from your phone, your laptop and your workplace PC, there would be three public keys associated with your account.

They are per authenticator. Some authenticators, like a Yubikey, hold their credentials in hardware. Some are backup capable - e.g. the "authenticator" is your iCloud account or Google account's password sync fabric (which are often secured more than the rest of those accounts).

This second class is what is known as backup-capable. Buy a new phone to replace your old one, and within the same ecosystem things just work because the platform authenticator can see all your old passkeys.

Across ecosystems, there is the ability to use your mobile phone as an authenticator for other devices. You can sign into an app on a Mac desktop using an android phone, for example.

Going forward, Android has beta code to support third party passkey providers. Hopefully other platforms support similar schemes, which would allow users to choose a cross-platform product rather than being platform-locked (or requiring them to buy hardware).

Re:Passkeys: The Beginning of the End of the Password by ouraf on Wednesday May 03, 2023 @07:01PM (#35808990)
Well, guess it won't work for me. Rooted phone and prone to boot loops and hard resets whenever i get curious with some stuff. Every authenticator stored in the phone can't be recovered when you install a new ROM (google tries to send the authorization pop up to the previous version of the phone and, of course, it'll never get there)

Guess that's the price i pay for using the hardware in a slightly different way than what google and the manufacturer wanted me to.

Re:Passkeys: The Beginning of the End of the Password by Shank on Wednesday May 03, 2023 @07:10PM (#35809076)
> Rooted phone and prone to boot loops and hard resets

> using the hardware in a slightly different way

Honestly I wouldn’t classify turning a daily driver device into a semi-brick (if it boot loops and has to be hard reset regularly…) as “slightly different”. If you want to experiment that’s fine, but why would you subject your daily driver to that? Or, why not just have a phone for stable use / real world stuff, and a phone for everything else?

To put it bluntly: you’re wildly out of touch with reality for most people. 99% of people who have a phone — even those people who install custom ROMs on their daily driver — either plan around having to deal with this stuff or have an escape hatch. Most people refuse to tolerate such an experience.

Re:Passkeys: The Beginning of the End of the Password by ouraf on Wednesday May 03, 2023 @07:26PM (#35809225)
Ok, i wasn't specific enough, that's on me.

My previous phone was a Xiaomi. Part of the reason they're cheaper than competitors with similar hardware is because that thing is filled to the brim with useless ads, extra tracking way beyond just crash analytics for the manufacturer and the regular google stuff and even some useless "phone booster" app embedded in the settings.

After waiting the two weeks so Xiaomi would allow me to unlock the bootloader (which is bullshit, by the way), i installed LineageOS.

The problem is that the regular updates with security patches sometimes would cause a boot loop. Some times is something as simple as a system file becoming read only, sometimes no thread on XDA developers could guide me to the right solution, and then i just do a factory reset and start over.

But aside from flashing lineage and an ad blocker, my usage is the same as anyone else: answer calls, use messaging apps, browse the web, play games and edit some documents when i'm far away from my PC.

My current phone is a motorola, though, and while i think the official ROM is pretty disappointing (too many pop ups nagging me to sign up to motorola or check motorola apps), as long as i can flash magisk and an ad blocker, i'm a happy person.

Re:Passkeys: The Beginning of the End of the Password by bscphil on Thursday May 04, 2023 @12:13AM (#35811106)
> To put it bluntly: you’re wildly out of touch with reality for most people. 99% of people who have a phone

I don't think 99% of people who have a phone have any kind of extensively worked out plan for what happens if their phone is lost, stolen, or breaks. If we're lucky the number is more like 50%. For most intents and purposes, irrevocably losing access to a phone is equivalent to bricking it in the way OP talks about. Any passkey-esque system needs to have a fallback plan when the phone unexpectedly becomes unavailable.

Re:Passkeys: The Beginning of the End of the Password by mastazi on Wednesday May 03, 2023 @07:02PM (#35808998)
So it's like a private key but you can't access or manage it, as it's owned by Google/Apple/Microsoft?

How convenient!

Re:Passkeys: The Beginning of the End of the Password by internetter on Wednesday May 03, 2023 @07:22PM (#35809187)
My reaction as well. From Google's FAQ:

> Passkeys created on Android are backed up and synced with Android devices that are signed in to the same Google Account, in the same way as passwords are backed up to the password manager.

I don't like this. Time will tell if Google's implementation will be open source, and if third parties can hook into the OS level integration. I certainly don't like the lack of emphasis on interoperability from the get go.

I do not like this future.

Re:Passkeys: The Beginning of the End of the Password by jacooper on Wednesday May 03, 2023 @07:49PM (#35809430)
AFAIK android will have an open API, iOS however is going to only support iCloud, classic monopoly.

Also it seems that Linux is completely out of the picture.

Re:Passkeys: The Beginning of the End of the Password by dwaite on Wednesday May 03, 2023 @09:08PM (#35810014)
> AFAIK android will have an open API, iOS however is going to only support iCloud, classic monopoly.

The Android implementation allowing for multiple third part passkey providers (typically, existing password manager that want to support passkeys) is in beta.

Apple does not pre-announce features, so we are all likely in the dark on their timelines, and whether their timelines extend to infinity.

However, I believe a passkey manager can replace the system implementation via the web extension mechanism in mobile Safari today.

Re:Passkeys: The Beginning of the End of the Password by chlorion on Wednesday May 03, 2023 @10:45PM (#35810642)
You can use passkeys from a FOSS client on Linux, you can even use your Yubikey if you have one.
Re:Passkeys: The Beginning of the End of the Password by mastazi on Wednesday May 03, 2023 @10:57PM (#35810701)
just because there are APIs that a FOSS client can call, that doesn't guarantee interoperabiltiy.
Re:Passkeys: The Beginning of the End of the Password by dwaite on Wednesday May 03, 2023 @09:04PM (#35809981)
> Time will tell if Google's implementation will be open source, and if third parties can hook into the OS level integration

It is all user terminology for Web Authentication features, so credentials stored on a current Yubikey are also "passkeys".

There are multiple open source security key hardware implementations that support the published specs.

There are multiple password managers that have started to implement "passkey manager" functionality - 1Password and Dashlane have made announcements here and have published code and Web Extensions for desktop.

Android 14 beta has a system API where software providers such as 1Password and Dashlane can work with this system, not just for Chrome but for installed applications.

I doubt Google's Password Manager will ever be open sourced, but it doesn't need to be for an interoperable ecosystem.

Re:Passkeys: The Beginning of the End of the Password by internetter on Wednesday May 03, 2023 @10:02PM (#35810403)
Thank you didn't know this! I just hope the underdog can stand a chance against the "it just comes with it"
Re:Passkeys: The Beginning of the End of the Password by dwaite on Wednesday May 03, 2023 @11:50PM (#35810992)
I do too. The ability for a smaller focused company to innovate and pivot to find unique markets is way different than what the platforms will ever offer. I suspect passkeys provide new ways to innovate beyond what they have been able to do with passwords in the past.

Assuming there is an ecosystem where they can play equally, I suspect they will find all sorts of ways to provide unique value. Their goal shouldn't to be the preferred system across all of Android or iOS, but to offer something a lot of people are willing to pay for.

Re:Passkeys: The Beginning of the End of the Password by mastazi on Wednesday May 03, 2023 @10:53PM (#35810684)
> but it doesn't need to be for an interoperable ecosystem.

what you described above doesn't guarantee that the ecosystem is interoperable. With passwords, there is no way for the service provider to hide the cleartext password from you, this is inherent to the way passwords work. With passkey, a service provider could decide to hide the private keys from you, effectively locking you into their ecosystem, and there is nothing you could do to avoid this.

Re:Passkeys: The Beginning of the End of the Password by dwaite on Wednesday May 03, 2023 @11:45PM (#35810964)
I don't know what a service provider is in this case for sure, but I'll assume you mean something like Google Password Manager or iCloud Keychain or 1Password.

There's no guarantee that they will act in a user-beneficial manner, except they all already exist and already act in a user beneficial manner, and that there is no strategic benefit of acting in a user-hostile manner.

> With passwords, there is no way for the service provider to hide the cleartext password from you

Sure there is. They could refuse to do anything but form fill the passwords on registration and authentication pages, where the field in the browser will not allow you to copy the password back out.

The force that keeps them from doing such user-hostile behavior for lock-in today is that nobody would want to use that system. They would not use that vendor. It would be product suicide.

> effectively locking you into their ecosystem, and there is nothing you could do to avoid this.

Unlike passwords, sites are encouraged to allow you to register multiple passkeys. Some sites may push the user to do this for convenience, such as if they see user utilizing a security key or phone to authenticate into their desktop when the desktop is capable of doing passkeys directly.

This gives a whole new ability to jump ship if you decide you don't like your software vendor.

Now, there is a parallel question of "what if a vendor uses their monopolistic power to prevent an ecosystem from being created, and then acts in a user-malicious manner". I suspect they would quickly get multi-national scrutiny.

Re:Passkeys: The Beginning of the End of the Password by toomuchtodo on Thursday May 04, 2023 @10:36AM (#35816046)
I just migrated from password to passkey on my iPhone as a Google user. This logged me out of Chome on my Mac computers. Chrome prompted me to login with my Apple passkey, and then generated a new passkey for my Chrome browsers (which will sync between them). I now have access from both Google and Apple ecosystems to my Google account.
Re:Passkeys: The Beginning of the End of the Password by lima on Thursday May 04, 2023 @12:54PM (#35818510)
WebAuthn is a standard. From what I understood, can use any third-party authenticator like a YubiKey instead of Google's implementation.
Re:Passkeys: The Beginning of the End of the Password by mastazi on Thursday May 04, 2023 @09:27PM (#35824271)
That could work for the HN crowd, most people don't know about YubiKey. They will start using Google's implementation and realise too late that they're locked in.
Re:Passkeys: The Beginning of the End of the Password by mastazi on Monday May 08, 2023 @07:58PM (#35868560)
> can use any third-party authenticator

You can, but most people won't because they will be locked-in, this is not the case with passwords as it's quite easy to change password manager without having to reset all your passwords.

Re:Passkeys: The Beginning of the End of the Password by cultureswitch on Thursday May 04, 2023 @02:50AM (#35812081)
The thing with these authentication services is that if Google doesn't like you and blocks your account, you're fucked.

This is not a remote possibility. It happens to thousands of people every day, for entirely frivolous reasons.

Until there is some authentication system that is genuinely robust to corporate control attacks, I'll keep using the imperfect password manager model.

Re:Passkeys: The Beginning of the End of the Password by bogwog on Wednesday May 03, 2023 @07:16PM (#35809138)
Not sure if you’re being sarcastic, but that really is convenient.
Re:Passkeys: The Beginning of the End of the Password by ThunderSizzle on Wednesday May 03, 2023 @07:21PM (#35809182)
Until it's not and they decide you shouldn't exist anymore.
Re:Passkeys: The Beginning of the End of the Password by avidiax on Thursday May 04, 2023 @05:52AM (#35813144)
Precisely this. What happens when Google decides that your account is banned, and no, we don't have to tell you why, and we regret to inform you we have automatically reviewed this decision and it is final?
Re:Passkeys: The Beginning of the End of the Password by bogwog on Thursday May 04, 2023 @08:39AM (#35814329)
Owning the private key for your Google account isn’t going to prevent that in any way.
Re:Passkeys: The Beginning of the End of the Password by chlorion on Wednesday May 03, 2023 @10:40PM (#35810612)
Passkey is an open standard, clients are not limited to Android or IOS devices.

You can for example use a Yubikey, on a Linux desktop system, to authenticate to services implementing the "passkey" standard. Does Google own my Yubikey in some way that I'm unaware of?

Nothing is owned by Google or Apple or Microsoft, there is no grand conspiracy trying to lock you into a platform.

Try educating yourself before spreading misinformation, and before assuming that everything is an Evil Conspiracy by Big Tech.

Re:Passkeys: The Beginning of the End of the Password by bscphil on Thursday May 04, 2023 @12:10AM (#35811087)
Possibly a dumb question... the Yubikeys a bunch of us own were originally sold as U2F / FIDO keys. My understanding of this system was that it was, as labeled, a "universal second factor" standard. But passkey is supposed (?) to be a single-factor (something you have, not something you know). Is it doing this just by (ab)using the "second factor" approach for single factor auth? Or is there something a little more sophisticated, and hopefully more secure, happening here?

I tried to do some research myself, but there's no Wikipedia page for "passkeys" and they aren't mentioned on the Yubikey article.

Edit: this user has a helpful comment: https://news.ycombinator.com/item?id=35810144

> Passkeys add in user verification as a capability so that you can use them for the entire authentication process rather than as just one of the factors. This typically means a biometric challenge or knowledge based challenge, such as PIN/passcode entry.

I'd love to know more about how / whether these challenges are enforced as part of an open standard, or whether it's up to individual implementers of passkeys to roll their own.

Re:Passkeys: The Beginning of the End of the Password by mastazi on Friday May 05, 2023 @11:40PM (#35837752)
Nothing that you said prevents vendor lock-in. If my passkeys are in a Secure Enclave, I can’t copy them to a FOSS client or a Yubikey.

The list of members of the FIDO alliance is public. It includes what most people refer to as “big tech”

Re:Passkeys: The Beginning of the End of the Password by chlorion on Saturday May 06, 2023 @06:33PM (#35845941)
I'm not sure why you couldn't associate a new key with whatever services you use, like changing a password, or even having multiple keys associated to one account.

Also I am not sure that I would consider not being able to access private key material from a enclave vendor lock in, since that's the entire purpose of the device.

I guess the same people arguing that passkey is a conspiracy are the same ones that think secure boot and TPM is a Microsofts conspiracy to prevent you from installing Linux.

Re:Passkeys: The Beginning of the End of the Password by mastazi on Saturday May 06, 2023 @07:46PM (#35846467)
Having to regenerate all your keys just to switch client is an order of magnitude (or two) harder than migrating from one password manager to another. The article we are commenting on is titled "the beginning of the end of passwors" as if passkeys were an improvement over passwords.

They are an improvement for service providers, sure, but not for users, due to vendor lock-in. This was my initial argument from the start.

You kept countering with arguments such as "you can use a FOSS client", "but Google is a contributor to open source" or "Google can't access your Yubikey" - which are irrelevant to my point, which is that the new standard introduces further vendor lock-in.

In addition you resorted to personal attacks - calling me and other users in this thread conspiracists or uneducated - but could not counter any of the points we were making with valid arguments.

Re:Passkeys: The Beginning of the End of the Password by mk89 on Thursday May 04, 2023 @06:39AM (#35813436)
No, hold on. That's not what I implied.

My understanding is that the private key is stored on your own device, unless you decide to use something like iCloud Keychain (which should be encrypted).

The public key, on the other hand, is stored on the service providers' servers. That is used to create a "challenge", which I guess on your phone you will need to "decrypt/sign" with the private key to prove that "it's really you".

That's how I understand it.

Re:Passkeys: The Beginning of the End of the Password by mastazi on Thursday May 04, 2023 @10:11PM (#35824519)
Some devices e.g. Apple have a Secure Enclave that is not user accessible, that's what I'm referring to, I'm not suggesting that they are stored on a server.
Re:Passkeys: The Beginning of the End of the Password by tuatoru on Wednesday May 03, 2023 @10:34PM (#35810586)
> You need to click on the link that is in the post

So, a communication failure straight away. Does not bode well.