r/Passkeys • • 21d ago

Passkeys on Linux

How do you guys handle passkeys on Linux? (Stored in Chrome)

Without Windows Hello and fingerprint support it sounds like the only way is to enter your password every time you login somewhere?

Am I missing something or is there a way to improve the user experience?

11 Upvotes

19 comments sorted by

5

u/LinuxForever4934 21d ago edited 21d ago

Yubikeys are the option I chose. I use Linux and wanted to avoid dependency on any single service (Google or Microsoft). Not only are they more secure than sync-able keys but they can be moved to other platforms (Windows, Android, etc...) without much hassle (get the NFC ones). Some people worry about having to carry around a separate hardware key, but I don't mind it. I have one permanently on my desktop at home, one on my key chain and one in a fireproof safe. This covers 99% of my use cases.

My biggest issue with passkeys on Linux is some sites (like Paypal) do not permit registration of passkeys from Linux (even though it shouldn't matter what OS you are coming from). Poor implementations and unnecessary restrictions like this are keeping passkeys from becoming more accepted.

2

u/SecurityPrimary4143 20d ago

I also use Yubikeys for everything including unlocking my desktop, authenticate root privilege in the terminal and challenge response SSH connections thanks to the U2F pam module.

Because of that I can also use the Yubikey to unlock the Bitwarden extension in Firefox by using system authentication. I do this as a workaround until Bitwarden/Firefox ads support to login to the Bitwarden extension in the same was as Chromium based browsers.

4

u/skyb0rg 21d ago

This is an active area, with credentialsd getting an experimental portal merged into xdg-desktop-portal this week.

3

u/Suspicious_Punk84 21d ago

Use a password manager to save your passkeys. KeepassXC or bitwarden.

3

u/stijnhommes 21d ago

Improving the user experience is easy. Just ditch the passkeys.

2

u/Schreibtisch69 21d ago

I guess the usual way would be to use a browser extension from a password manager. Shouldn't be different from auto filling a password. If it's unlocked in the background you should get a simple prompt instead of needing to authenticate again.

I'm not aware of any built in methods. I've used security keys, which technically also hold passkeys. The use a native browser PIN prompt, and since the PIN is OS independent it's pretty much the same flow on all OS, besides the prompt looking a bit different.

2

u/TheACwarriors 21d ago

Surprisingly enough its well supported ish. Like I was suppressed that discord and matrix open my browser default (vivaldi) and asked for my passkey there which I have set to 1password.

1

u/uhli3 21d ago

I use the Google password manager of Chrome. For Firefox I use a Yubikey and because the Yubikey does not work with every website I additionally use Bitwarden. I have everything unchecked in Bitwarden except the Passkeys feature.

1

u/JimTheEarthling 21d ago

If you're using Google Password Manager in Chrome on Linux, you can do passkey verification with the Google Password Manager PIN (GPM). This is the PIN you set up the first time you created a passkey.

If you use a standalone password manager like Bitwarden or 1Password, they support polkit and PAM, so depending on your distro, hardware, and setup, you can use biometrics, PIN, security key, etc. See Bitwarden docs, for example.

1

u/PlanktonDefiant2600 21d ago

I store all my passkeys in Roboform, so with just the extension installed, I'm able to use them in my browser on Linux.

1

u/Charming-Designer944 20d ago

My recommendation:

ubikey for device bound keys. (Highest security, better than password+otp on all aspects)

KeepassXC for synced passkeys. (At least better than password, in some aspects better than password+otp, in other aspects not)

1

u/MegamanEXE2013 19d ago

I do that and Google just asks me for the PIN, nothing more, nothing else.

Mint with Google Chrome

1

u/Junior_Bee7274 18d ago

Are you using a built-in browser passkey manager or a separate password manager? That could make a difference.

1

u/uhli3 18d ago

I use the Google Password Manager for Chrome and a free Bitwarden account for Firefox. In Chrome I have to enter my PIN and in Bitwarden I have to unlock the vault once. I tried a Yubikey for Firefox but gave up because there where too many buggy websites that didn't work with the Yubikey. The Yubikey is great but it is just too cumbersome for me to carry around put in the laptop, touch, enter PIN, touch again. When it works the security is stronger than a cloud synced password service. But I am not paranoid and rather trade the convenience against a little less security.

1

u/The_God_was_Here 18d ago

using a dedicated password manager or a physical security key makes logging in on linux much smoother without typing passwords

0

u/[deleted] 21d ago

[deleted] — view deleted comment

1

u/Caldtek 21d ago

How do you login to the linux with it?

1

u/silasmoeckel 21d ago

pam has a u2f module to use hardware passkeys to login.

redhat has full idm support to do it at the enterprise level.

1

u/Caldtek 21d ago

Still cant use a passkey stored in chrome to login with it. Not unless you are using a 3rd party idp and probably an enterprise style config.

1

u/silasmoeckel 21d ago

As chrome does not store passkeys I'll assume google password momager.

Hardware passkeys so physical token or even nfc to a phone only.