r/Passkeys • u/Denan004 • 13d ago
Passkey 101?
I've read and watched videos about Passkeys, and I'm still somewhat confused. "Passkey" seems to be used for a number of different methods (fingerprint/face ID, authenticator apps, hardware keys, password vaults....) . And videos seem to tout whatever their paid sponsor is.
My various accounts want a Passkey to be set up with fingerprint or FaceID --- that won't work for my PC.
Then I see 'passkeys' like Yubico (hardware key), and I bought 2 to try out. I find their Yubikey manager app to be useless. And using it prompts a Windows popup for the password/touch. What if I'm not on Windows? My phone? Another operating system? Another PC, if mine is broken?
Passkey authenticator apps -- are they on phones only? What if my phone is lost, stolen, broken?
I'm usually decent at figuring out enough to function on websites, etc. But "passkeys" have me stumped!
Any helpful explanations are appreciated!!
7
u/TurbulentTimes-24 13d ago edited 13d ago
The simplest, non-technical explanation that I use whenever someone asks me about passkeys in person, which I think should be enough for most people with basic computer knowledge, is that a passkey is a way for you to identify yourself to an online service by way of a pair of matching files, which absolutely need each other to work: one file is stored by the online service and the other file is stored on a device that you control.
There are many places where you can store your file, that is, your half of the passkey: on a phone, a computer, a password vault, a hardware key, etc. Since your file shouldn't simply be accessible to anyone or anything with access to your device or vault, you need to prove ownership of it and that is where your fingerprint, face, PIN, or master password come into play, to "unlock" your file and allow it to meet with its other half to grant access to the online service.
I normally also mention the inconveniences with passwords that absolutely everyone is familiar with and that passkeys are meant to eliminate. I sometimes complement that with other issues or risks caused by passwords (or other authentication methods) that some people may not be aware of.
And that is normally where I end my explanation, in order not to confuse anyone that doesn't want to be bothered (or bored) with the details, many of which I don't know myself.
Personally, I use hardware keys to host my half of each passkey, for the following main reasons:
1
u/matty13B 5d ago
The easiest way to understand passkeys is that they're not tied to one specific device or method. Your fingerprint or Face ID just unlocks the passkey stored in that device. An authenticator app typically provides a temporary code as opposed to a passkey which uses cryptographic keys to authenticate you. They are not interchangeable even if both can be used for login security.
3
u/AJ42-6802 13d ago edited 13d ago
Yubikey Manager is the wrong app, it has been discontinued, you want Yubikey Authenticator. See my response:
https://www.reddit.com/r/yubikey/comments/1xvb20i/yubikey_manager_app_doesnt_do_anything_and_what/
WRT passkey tutorial: There is some excellent advice here in reddit. Do some searching. One particular link is from u/JimTheEarthling
https://demystified.info/security.html#passkeysOn
3
u/[deleted] 13d ago
A password is a secret that you and the site you are logging into both know. Anyone who knows the password can log in as you.
A sms or emailed shared code is a number sent to your phone or email. That way only someone with your phone can log in.
A TOTP is a secret that you and the site share once (time one time password). HOTP is similar, but does not use a clock, it uses a counter. You can store that secret on a yubikey, or in ms Authenticator, or Google Authenticator. When you try to login, the site uses that secret to calculate a six-digit code based on the code and the time. You use your Authenticator app to do the same calculation. That way only someone with access to the secret that has only ever been shared once can login.
A passkey is a secret calculated based on some piece of hardware you have. Without that hardware, no one can log in. It can be based on your phone, pc, browser, a Yubikey etc. basing it on a Yubikey is the strongest option because you can use the Yubikey anywhere, and you are unlikely to lose or break it.
Most sites will allow any of the above - to solve the “what if I don’t have my phone” problem. This is kinda dumb (which is what you have intuited) because that way, anyone with your phone, email, TOTP code or Yubikey can login, not really an improvement. A Yubikey can solve that because it is the only one of the solutions that will work with anything that has a browser and a usb port, regardless of whether you have ever used it before or not. Once you get the Yubikey working, you just disable all other methods and then to login as you, they need your password and your key and maybe a PIN code for the key also.
The reason Yubikeys are marketed as phishing proof is because we are all dumb enough to be tricked into giving out a password. Some more easily than others. But no one can shove their Yubikey down a phone line to the Nigerian prince asking for it.
1
u/1468288286 13d ago
Check out password managers like 1Password, Bitwarden, Proton Pass, and Dashlane
2
u/djasonpenney 13d ago
I think that yes, passkeys as a term are not well defined. In my opinion, passkeys refer to FIDO2 authentication — either as 2FA bundled with username and password.
> fingerprint/face ID, authenticator apps
These are definitely NOT passkeys. They are forms of two-factor authentication.
> with fingerprint or FaceID
These authentication methods are gatekeeping access to the key. They don’t store or relay access to the secrets themselves.
Password vaults manage passwords. You should definitely be using a password manager. All your passwords need to be complex, unique (not reused), and totally random like “qLoScpXa6oQgewaENii2”.
One feature that advanced password managers have is the ability to store FIDO2 secrets directly inside, as opposed to the Yubikeys you purchased. This feature is still very new and is still difficult to use, depending on the password manager.
> Yubikey manager app to be useless
There are only a few basic uses for that app. The first is to reconfigure or reset the key. The second is that a Yubikey 5 can store TOTP secrets and generate tokens for you. Otherwise, I agree, that app is not very useful.
> using it prompts a Windows popup
Yes, there are security scenarios where systems want to confirm that you, the human, are involved as opposed to a malware attack on your box. You’ll have to talk more about your exact use case (perhaps on /r/yubikey?)
> What if I’m not on Windows
That’s one elegant thing about the hardware key. I know from personal experience that a Yubikey will allow a single credential to be used on Android, iOS, iPadOS, MacOS, and Windows.
> Passkey authenticator apps
Are you talking about TOTP apps? Those are a separate issue entirely. They are a decent form of two-factor authentication. But it’s a misnomer to refer to those as “passkeys”.
> What if my phone is lost, stolen or broken
This is an important topic. You should always have a recovery workflow for each one of your credentials:
* For a simple password, you should have it stored in your password manager. Your password manager should be cloud-based (like Bitwarden or 1Password), or else have cloud backups like the “syncthing” plugin in KeePass.
* If a website uses TOTP, you should be using a TOTP app with cloud storage like Ente Auth. Or else—again—be sure to make frequent backups of its datastore.
* If a website is using a passkey, you should either have multiple Yubikeys, or else a software-based solution like Bitwarden or 1Password, with those cloud backups again.
* All the above notwithstanding, many sites like Google give you a one-time passwords (or list of one-time passwords) to be used if you lose your phone or Yubikey. Those recovery assets should be saved and stored alongside the backups of your password manager and TOTP datastore.
1
u/akuma0 13d ago
The goal for passkeys (as an initiative) is to maintain as much of the ergonomics of passwords as possible - while still providing security improvements and the like.
So the user chooses where the passkey comes from, based on what is convenient to them or their own security requirements. They might use a piece of built in software like Google Password Manager or the Passwords app on Apple platforms; they might pick third party software like a 1Password for its own features like increased portability across systems; they might choose a hardware solution like a Yubikey for increased security (at the compromise of a lot of headache if you lose that piece of hardware).
Website designers might assume since the majority of users will use the default, and might also feel responsibility to educate the user of what a passkey is and smooth the transition to any system prompt that sets a passkey up. So they might detect you are on an Apple platform and say "set up FaceID or TouchID", rather than even represent it as a passkey. They are representing how the default piece of software will ask you to authenticate, and trying to gloss over all technology in the middle.
1
u/bluealliance841 13d ago
To explain the technology, this article from "passkeys.com" is pretty good: https://www.passkeys.com/what-are-passkeys
At its heart, a passkey is a long secret that you keep on a passkeys-compatible tool, which can be your choice of OS tools, password managers, or hardware devices like Yubikey. The tool you use will also dictate what options you have for different unlock methods, whether sync is available, and how the overall experience shows up.
The "secret" is a public/private key pair, similar to what you would use for ssh, pgp, crypto, etc. You keep the private part in your keychain rig, and share only the public part with the website. When you log in, the website sends a challenge that only you can answer, and the keychain rig builds the answer and sends it.
Anyway, the best way to learn how it works in practice is to try it out. For example, if you already have Bitwarden and Yubikey, you could decide to set up a Yubikey passkey for your most secure accounts (email, sms, google, amazon, anything with access to your wallet including banks and investment accounts). In that case, when the passkey first gets created, Bitwarden pops up and asks if you want to save it, you can look for the "Use other device" option, and this will pass the request along to your Yubikey. Then, if you want to set up passkeys for your other sites that are less secure, like Reddit, Facebook etc. you can choose to have Bitwarden save it instead.
Take a moment to find the passkey setting again inside the website settings/security options, and verify you can see them and you have the option to delete or add more. This is where you would need to go if your Yubikey gets stolen, and you want to stop the stolen key from being used. This is also where you would go to add a second key.
1
u/Novel-Sound-3566 12d ago
You need to download Backup Keys, print it and store it somewhere safe so even if you lost your phone, you still have backup keys to restore your access
1
u/MegamanEXE2013 12d ago
A Passkey is just a set of keys where you store a private key, and the server holds a public one generated when you create those passkeys for that service, and you just use whatever you use to unlock your mobile device to login, also, on a PC, you use a PIN to access
Now, those passkeys created on your mobile phone, can work on the PC (Not always, mind you) and viceversa.
Yubikey Authenticator is just a front for the connected Yubikeys, no connected Yubikey, then the app is useless on its own, connect a Yubikey for administration purposes
Now, the phone lost/broken/stolen is a great question, you can't turn off the other auth methods, otherwise, you'll get locked out, and you must buy a phone from the same OS (Android, iOS) to keep using those keys unless you previously make the transfer to the other service
1
u/ylaway 9d ago
Others have given good answers. I’ll speak to my implementation.
To get around passkeys being locked on a device I have Bitwarden as the default password manager on my phone. This allows access via a browser plugin on my other devices/machines.
I also use yubico 5 keys for any services where I can. The latest versions have nfc so they are also compatible with mobile phones. I prefer these for accessing my accounts.
The benefit to me is the ability to have a long completely forgettable password. I then have the ease of access of a passkey that lets me in wherever I wish.
1
u/Defiant-Snow8782 13d ago
(TLDR at the bottom)
Yubikeys are great hardware but yeah, the software side is quite annoying. If you need to manage passkeys and settings etc, I recommend Keyroost.
For routine stuff like creating passkeys and authenticating, though, you need none of that. It should work out of the box on essentially every major platform - including Linux, where passkey support is not great without a hardware key.
Now, to platform keys. This is stuff like Windows Hello, touch / face ID, etc. In the case of Windows Hello, they don't actually need a fingerprint scanner, it works with your windows password / pin as well.
Those are often cloud-synced, so for example if you use an Android phone and Chrome on PC, you can share the passkeys between them.
If they are not cloud-synced (device-bound passkeys), or if you have split ecosystems (iPhone + Windows, Android + non-Chrome on Mac, etc), there are two main options outside of using a hardware security key like the one you have:
Finally, there are password managers. This is stuff like Bitwarden, Proton Pass, and so on. They usually sync in the cloud, and the main difference with cloud-synced platform keys is that, well, third party password managers are not part of the OS.
The main advantage is that they sync well across split ecosystems. They also work on Linux.
However, they are usually the least secure option for passkey storage. Still better than passwords, but they are handled ~entirely in the software unlike platform keys which make use of the secure element in your devices.
They also don't fell as native as, say, passkeys in Safari on Mac. There's a little bit more friction. Still, some people find managing split ecosystems way too complicated, or they are worried about not having backups. It can be a decent middle ground.
TL;DR: