Sign in to sudo and polkit with a security key or fingerprint
Ports configure security-key and configure fingerprint from CoreDesktop's 9dc5eb1: touch a FIDO2 key or a finger instead of typing your password for sudo and polkit, falling back to the password. Each shows only when the hardware is there. The fingerprint skips to the password with the lid shut. lib/pam.sh is CoreDesktop's, but also takes Ubuntu's "@include common-auth" as the start of a stack's auth part, which is how sudo's and polkit's begin. Only those two stacks change, not common-auth, which pam-auth-update owns and every sign-in includes. libpam-fprintd's pam-auth-update profile is off by default, so installing it changes no sign-in by itself. The login and lock screens keep asking for the password, unlike on GNOME. Smoketest: 70-sign-in, on copies of Ubuntu's sudo and polkit stacks. TEST.md: with a real key and reader. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -54,9 +54,8 @@ Since `4a4a3bd`, to look at:
|
||||
`53c6c8b` (the install path). Hiding the connector's settings from
|
||||
agents is done.
|
||||
- [ ] `9dc5eb1` Upgrade safeguards, hardware setup, sign-in options and Taildrop.
|
||||
To port: `configure security-key` and `configure fingerprint` (through
|
||||
`pam-auth-update` and fprintd on Pop!_OS, not by editing PAM files),
|
||||
Taildrop's service that saves files sent here to Downloads (COSMIC Files
|
||||
Sign-in options (security key, fingerprint) are done.
|
||||
To port: Taildrop's service that saves files sent here to Downloads (COSMIC Files
|
||||
has no Scripts menu for sending), keeping the computer awake during
|
||||
`update`, and the captive portal script that pauses a Tailscale exit
|
||||
node. Arch only: the pacman guard, unowned files, `hardware.sh`
|
||||
|
||||
Reference in New Issue
Block a user