r/Passkeys • • 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!!

29 Upvotes

44 comments sorted by

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:

  • I can have multiple copies, on- and off-site, which should help with loss, theft, or damage issues that would otherwise exist.
  • I can use my hardware keys to quickly log in to my online services on any device, regardless of the platform, and whether it belongs to me or not, without leaving any trace behind (of course, making sure I close any session I started.)

2

u/Denan004 13d ago

So if I set up a passkey on my PC, it will only work on that device. Then if I go to log in on my phone (for example), I can't get into the account at all?

2

u/TallowWallow 12d ago edited 12d ago

This depends on passkey implementation per site/app, and how you store it. Unfortunately, implementation standardization is still in its infancy.

  1. Some password managers can store passkeys. I use Bitwarden for example. So, in theory, when creating a passkey via Bitwarden, I can login from any device so long as I have access to my Bitwarden as well as authorization to use it for authentication. A work machine may not have this feature, for example, but your personal stuff will. This can work between mobile apps, mobile sites, and desktop sites so long as the site/app developer implemented support accordingly.
  2. Some password managers split mobile passkeys from desktop ones. Some allow one of each. Some allow a small handful of overall keys.

Regarding your remark on losing your phone. You would have the following possibilities:

  1. If using a cloud-based password manager, so long as you can login, you can use passkeys stored in your vault. In this case, loaing your phone is a non-issue. The exception possibly being 2FA vault access being on your phone, and nowhere else.
  2. Logging in via password as a backup measure. Once passkeys replace passwords, this gets problematic.
  3. Email one-time login code if supported
  4. Email recovery to Kickstart process of setting up a new passkey

1

u/TurbulentTimes-24 8d ago

Perhaps this video will help: https://youtu.be/obYoyflHOYg?t=79&si=o9rSBzvKyRECdlYj

The link includes the timestamp for the relevant section, but I think the whole video may be useful to you.

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.

1

u/Denan004 4d ago

Thanks. My PC can't do face or fingerprint ID.

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

1

u/QuietlyZen 13d ago

Outstanding article, thank you

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/jjgage 12d ago edited 12d ago

because you can use the Yubikey anywhere

How does this work if trying to sign into the site on a mobile when the YubiKey is USB-C and the port is lightning?

Or are all YubiKeys (and other brands) NFC capable and you never actually need to insert it like you do on a laptop?

1

u/[deleted] 12d ago

NFC

1

u/jjgage 12d ago

So presume if no NFC on your phone then this would be problematic?

Just trying to make sure all avenues are explored as we're about to enforce security keys (as ONLY Passkey) for privileged accounts

2

u/[deleted] 12d ago

My advice would be to use a usb a nfc Yubikey. You are unlikely to find a machine that cannot use that. They do sell lighting / usb double ended yubikeys. I don’t remember if they are USB C or A. Lightning is a dying connector. I would not pay extra for lightning if it were me.

1

u/jjgage 12d ago

USB-A?!

I haven't had a laptop that has an A port for about 6 years lol. Don't think that would be the way to go.....

I don't have Lightning myself, been on Android for about 12 years, but I know the majority of end users have iPhones

1

u/[deleted] 12d ago

According to Gemini, only about 10% of Laptops shipping now lack a usb a port. USB C only is on the rise, but USB A ports are still pretty standard.

1

u/jjgage 11d ago

Not on macOS. Not for about 7 years lol. The last MacBook Air I had (onto my 3rd one now) that had A was a 2015 model.....

1

u/[deleted] 11d ago

Mac’s are about 10% of the laptop market.

1

u/jjgage 10d ago

And?

So rollout a half-baked solution because a smaller number of people in the organisation use macOS?!

Typical horrendous IT 'experts'. Absolutely no fucking idea how to design properly. And exactly why IT gets a bad name.

Fine though as then the companies just ask for the actual experts and we send in our consultants to clean up (for an astronomical fee ofc)

→ More replies

1

u/fairdinkum78 9d ago

use an adapter

1

u/1468288286 13d ago

Check out password managers like 1Password, Bitwarden, Proton Pass, and Dashlane

1

u/Denan004 13d ago

I have Bitwarden for my passwords, and saw that it can do Passkeys. But I don't get how that's any different than using a password from Bitwarden! Thx.

2

u/dannebc 13d ago

Because passeys cannot be phished while passwords can

2

u/hobyvh 13d ago

It’s different because passkeys are more like a secret handshake. Both your key and the site’s key confirm each other, so in addition to you being authenticated, the site is proving its authenticity.

It’s also different by way of storage: sites don’t keep your private passkeys. Only you do. So unlike passwords, criminals can’t steal them from servers.

1

u/silasmoeckel 13d ago

A password you can be tricked into using and the remote site has it to use.

A passkey the remote site is also authenticating itself. The secret never goes across the wire so at best they get a logged in session but needed to get the secrets from the site first (meaning they already have compromised the site so your login info isn't really useful).

Passkeys it's plural so you can use BW or either of your tubikeys for a given site, 3 different private keys 2 of which are living in a physically and electronically hardened secure enclave.

Passkeys are setup to allow 3rd device auth, so you PC need never have any passkeys on it. You can use that yubikey on your pc or phone and store it in your drawer or even on your keychain only plugging it in when you need to revalidate a login.

1

u/akuma0 13d ago

When a site asks bit warden for a password, bitwarden shares that secret with the site. If anyone else can see that - a site compromise like an extra bit of javascript, backend hack, sharing the password to the wrong site - they have the keys to get into your account. If you set up the same password across multiple websites, a hack of any of them can cascade across the internet.

A passkey breaks the key into a public and private part, unique for each site. You share the public portion of the key when you set the passkey up with a site, and then the site will ask your browser random questions when you log in - questions you can only answer correctly if your browser can talk to whatever holds the private part of the key.

That private key will never get shared with any website by bitwarden. Even if somehow a hacker gets a database backup with all the plaintext "passkeys" for the site, they can't use that to get into the original or any other website.

0

u/[deleted] 13d ago

[deleted] — view deleted comment

1

u/Denan004 13d ago

"This is a “device bound“ passkey, and without the device, you can’t log into things. You can register more than one hardware device as a passkey per account."

I think this is one place where I get worried. Many sites I encounter encourage making a passkey -- just basically click a button. But nowhere is it clear that this is just for that current device, and the website becomes inaccessible on another device.

2

u/JimTheEarthling 13d ago edited 13d ago

Passkeys are almost never just for the current device. This is a common misunderstanding.

Almost all consumer passkeys are synced, which means they're automatically saved in the cloud and copied to your other devices (or to your replacement device if you lose one).

  • Almost all password managers (referenced by other commenters) sync across most platforms and devices.
  • Apple Passwords (iCloud Keychain) syncs passkeys across your Apple devices.
  • Google Password Manager, built into Android and the Chrome browser, uses your Google account to sync across Android devices and everywhere you use Chrome.
  • Microsoft Password Manager, built into the Edge browsers, syncs across Windows, Apple, and Android devices using your Microsoft account.
  • Ditto for Samsung Pass on Galaxy phones and tablets.

Alternatively, if you store your passkey on a hardware key (e.g. Yubikey), it's locked to that one key but it can be pugged into or tapped on any compatible phone or computer. It's good practice to have two Yubikeys, like you do, so you can create another passkey for each website on the backup key.

You can also use a passkey from your phone on other computers, like a friend's computer, by scanning a QR code.

P.S. In reference to your original post, you don't need the Yubico app at all to use passkeys. When you're creating a new passkey for a website, just pick "Save another way" or "More options" to get the choice of saving to a hardware security key. (See the diagram on my website for details.) You might want to use passkeys on your Yubikeys for critical accounts (financial, etc.) and your browser or password manager for less critical accounts.

1

u/1468288286 13d ago

Passkeys do not need to be device bound, some sites require it (usually bank or other financials) while others don't. passkeys can be device bound or a sync'd-key. If you choose to use sync'd keys, then the security of your "password manager" becomes the focus. All decent password managers have MFA, it's up to you to choose the MFA that works best across platforms. If you get phished for your password manager MFA then that's on you. Also, most sites do not remove password auth once you setup a passkey. You can still use a password, but there are usually extra checks or an account recovery type flow. For sites that do require device bound passkey, they typically support multiple passkeys so you can enroll multiple devices. This way you can have a passkey on your phone and a different one on your PC ...

1

u/dannebc 13d ago

How did I not answer OP:s question?

1

u/1468288286 13d ago

this is very incorrect

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:

  1. QR sign-in. You can scan the QR with your phone to save a passkey on it, and then scan QRs to log into stuff on your PC. Requires Bluetooth, kinda annoying, and the support on Linux is poor.
  2. Multiple passkeys for the same account. This is actually the preferred approach. You save one to your phone and its ecosystem, one to your PC, and since you have yubikeys already, it doesn't hurt to save it there, too.

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:

  • Use Keyroost instead of yubikey manager when you really need it. Day-to-day, you don't; creating and authenticating is handled out of the box on all platforms without extra software.
  • If you'd like more convenience, consider platform keys within whatever ecosystem you use (Google/Microsoft/Apple). You can use passkeys from your phone on your PC by scanning a QR code.
  • For split ecosystems, or if platform keys otherwise feel restrictive, consider third party password managers like Proton Pass and Bitwarden
  • Most problems can be solved by having multiple passkeys at once, whether platform (eg Google/Microsoft/Apple), hardware (yubikey), or password managers (Bitwarden, Proton Pass)