I implemented a basic prototype for biometrics on Linux using PAM. It works by extending the existing native rust module to add a client for PAM. PAM has modules for fprintd for fingerprints and howdy for face unlock.
Currently, unlocking using biometrics works. Still missing are:
Installing the correct PAM policy on install
Testing availability correctly (currently just returns true)
Clients / Repos Affected:
(Browser)
Desktop
Link to branch:
If you want to test this, you need to manually create a PAM policy:
For fingerprints, so when clicking unlock it just silently awaits the fingerprint being scanned. IMO since the other platforms rely on the OS’s GUI, this should be the same for PAM.