I have seen we are (again) needing to patch upstream pam files: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gdm/files/gdm-3.8.4-fingerprint-auth.patch?view=markup What problems does it cause to load it? (there are some modules that can be loaded always because they cause no problems when not exist) If it causes problems, please let me know to try to make upstream supply a "Gentoo" flavor for pam files (like exherbo and redhat) that would let us to not need to keep that patches forever Thanks
The best solution IMHO would be to just add a fingerprint-auth file to our sys-auth/pambase package, so not only gdm but other authentication utilities can use it. And to make it easy for users to configure whether to use pam_fprint or fingerprint-gui or whatever else in one place.
(In reply to Alexandre Rostovtsev from comment #1) > The best solution IMHO would be to just add a fingerprint-auth file to our > sys-auth/pambase package, so not only gdm but other authentication utilities > can use it. And to make it easy for users to configure whether to use > pam_fprint or fingerprint-gui or whatever else in one place. Reassigning to pambase maintainers then
Necro update: This patch breaks unstable users. pam_tally2 is absent in 1.4.0_p20200809 and in 1.4.x in general but present in the patch. It also is not mandatory to include this part of the stack into pambase, anything can be installed with the dopamd helper if I see the problem correctly.
Updated patch at: https://github.com/archlinux/svntogit-packages/blob/packages/gdm/trunk/0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch
From line 65: https://github.com/archlinux/svntogit-packages/blob/packages/gdm/trunk/0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch#L65 I tried to find similar in Exherbo but I guess they simply don't support it :/
Ah, as I re-read, we were needing to patch Exherbo pam file because they rely on auth substack fingerprint-auth But I don't how if they rely on pambase or how they handle pam... I have tried to search inside their git without success :(
Created attachment 725797 [details] gdm-fingerprint.pam For now I am trying with this file based on gdm pam-lfs one, it loads but I think I am hitting now something like: https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/321
Inside gnome session it works, I can even configure the fingerprint from control center and also using fprint-* commands, but gdm still fails to handle it reporting: jul 22 14:37:13 dell fprintd[648]: Device reported an error during verify: Response had wrong subcommand type jul 22 14:37:13 dell gdm-fingerprint][665]: gkr-pam: no password is available for user