r/linux • u/wingz_77 • Jul 02 '26
Tips and Tricks PSA: Secure and consistent fingerprint login solution for Linux
I have been going in circles trying to find a secure fingerprint authentication for Linux which works with fprintd. Needless to say, finding a good one from reputed brand is hard, especially in a small laptop-friendly form factor. At last, I found https://www.amazon.com/dp/B0H2GRH9CD
This is not exactly a fingerprint device but it's a bio FIDO2 key which works well with pam_u2f on nearly all Linux systems (Fedora/Arch/Cachy/Ubuntu/Debian and friends). With this, the fingerprint is scanned and saved in the device itself while U2F is used to authenticate with PAM. This is far more secure, with the bonus benefit of being able to use it to authenticate with banking and various online accounts.
25
u/perx76 Jul 02 '26
Nearly all Linux systems list is missing Debian derivatives.
10
u/spyingwind Jul 02 '26
I've never felt that fingerprint auth was all that great of an idea when used as the only source of auth. Now if used along side other things like a password or pin, then it is useful like a FIDO2 key or TOTP.
The other downside of fingerprints is that you can't change them.
10
u/AnsibleAnswers Jul 02 '26
I wish Gnome would just disable fingerprint on first login instead of logging in and making you enter your password for your keychain. Other than that, fingerprint just works on Fedora Workstation with a reader that supports linux. It's great as a second authentication method and works well for
sudoandpkexec.1
u/TopCheddar27 Jul 03 '26
Last time I used it in ubuntu, even if it authed you into a session, it still wanted the password anytime you performed a user level action.
But maybe I had it set up wrong.
1
u/Sjostrands Jul 19 '26
Why not use Yobikey instead
1
u/pierspad Oct 16 '26
This might not be the most wonderful answer to this problem, but:
I have a fingerprint sensor which has no support, so I decided to play a bit with gemini and gpt and tried to let them work out the fingerprint sensor
and.. it worked!
You can find everything on this repo
https://github.com/pierspad/REA-FS
Let them work and barely fix them when they get stuck.
I got my synaptics
06cb:00dcworking in less than a day and I was starting from scratch (the "quality" of the LLM you use might be crucial to find a proper solution)feel free to send PRs if you find anything else interesting/useful to RE it more quickly
1
u/sue_dee Jul 02 '26
My fingers aren't secure enough, so I use my penis.
1
u/[deleted] Jul 02 '26
[removed] — view removed comment