Skip to content

Fast loop fprint auth to simulate simultaneous nonblocking logins with passwd auth#884

Open
vjr wants to merge 3 commits into
mainfrom
fingerprint-loop
Open

Fast loop fprint auth to simulate simultaneous nonblocking logins with passwd auth#884
vjr wants to merge 3 commits into
mainfrom
fingerprint-loop

Conversation

@vjr

@vjr vjr commented Jul 4, 2026

Copy link
Copy Markdown
Member

Promising workaround to enable (simulate) fprint login to work "simultaneously" with passwd login without one "blocking" the other.

Requires the following line added at the top of /etc/pam.d/lightdm but this branch works (passwd-only login) without it. This file is owned by the lightdm package not elementary OS so unsure how or where to add this in code/config/packaging or just leave it to users to add it themselves:

auth sufficient pam_fprintd.so max-tries=1 timeout=1

Note in Ubuntu 24.04 LTS (elementary OS v8) the fprintd timeout is minimum 10 seconds which seems to be fixed/works in Ubuntu 26.04 LTS (for elementary OS v9) which means in os8 when a user enters password has to wait up to 10 seconds before login happens but in os9 likely wait for a maximum of 1 second.

Needs some testing on Ubuntu 26.04 LTS to validate this short timeout does not cause fprint to fail due to insufficient duration for the device to verify a fingerprint!

edit: Tested builtin fprint reader on laptop and a USB reader and fprint verification works with this lowered 1-second timeout.

Fixes #502

Addresses #868
Addresses #738
Addresses #494

@vjr vjr self-assigned this Jul 4, 2026
@vjr vjr changed the title Fast loop fprint auth Fast loop fprint auth to simulate simultaneous nonblocking logins with passwd auth Jul 5, 2026
@vjr vjr marked this pull request as ready for review July 5, 2026 12:27
@vjr vjr requested a review from a team July 5, 2026 12:27
@vjr

vjr commented Jul 5, 2026

Copy link
Copy Markdown
Member Author

Fixes #502

Addresses #868
Addresses #738
Addresses #494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow fingerprint login together with password login

1 participant