-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/pam: Move pam_fprintd.so
after pam_unix.so
#171140
base: master
Are you sure you want to change the base?
Conversation
I guess this should be an toggle option as it changes the current behavior without giving the possibility to switch back? |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/strange-lock-screen-behaviour-with-fprintd-enabled/10248/4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Address current comments please.
d5bc67f
to
32b77a4
Compare
Bump. The formatting issue has been addressed. Still needs a rebase though.
I think the current behavior also requires you to press enter, which is equivalent to entering an empty password anyway. |
At least in GDM and GNOME Shell polkit agent, you just put your finger on the fingerprint reader after being prompted, and it authenticates you without any further action. |
Ah, right, I forgot to mention that I'm using i3 & i3lock. |
I am on vacations so I cannot touch this yet, I recommend to rebase and look for other reviewers on Discourse. |
This enables logging into GUI applications using a password even when using `fprintd`. However, this now requires first entering an empty password before being prompted for a fingerprint. Fixes NixOS#171136
32b77a4
to
3284ed1
Compare
Needs a rebase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, this now requires first entering an empty
password before being prompted for a fingerprint.
This is a downgrade IMO.
Maybe something like #171136 (comment) would work better.
I mean, no one made a config PR yet sadly... |
This may be related to sddm/sddm#1220 (comment) |
would making an option in the fprint service to have password auth first be a better solution? it would be backwards compatible and still allow people to use the password first method without hacky workarounds |
This enables logging into GUI applications using a password even when
using
fprintd
. However, this now requires first entering an emptypassword before being prompted for a fingerprint.
Fixes #171136
Description of changes
This moves the checking of the
pam_fprintd
module after thepam_unix
module. This is required for GUI applications to still be authenticated with a passwordThings done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes