Quattro lock screen: support FIDO2/YubiKey unlock #6910
Replies: 2 comments 1 reply
|
I'd like to contribute FIDO2 (YubiKey / security key) unlock support for the Quattro lock screen, and before opening a PR I want to check direction and a few design decisions with maintainers. I've gone through the current flowchart LR
LOCK([Locked]) --> PW[Password]
LOCK --> FP[Fingerprint]
LOCK -.-> KEY[Security key]
PW --> PAM{PAM}
FP --> PAM
KEY -.-> PAM
PAM -->|success| UNLOCK([Unlocked])
classDef proposed stroke-dasharray: 6 4;
class KEY proposed;
The two questions that gate everything: 1. Would FIDO2 lock-screen unlock be accepted upstream at all?My take: this is really about restoring a capability that was effectively available before Omarchy 4. Under Omarchy 3 the lock screen was Hyprlock, which authenticates through the standard 2. Dedicated PAM service, or fold pam_u2f into
|
|
Most of this is built. I've been running it on my machine since mid-August and published it today as a plugin: omarchy-fido2-key-suite, feel free to check it out and give feedback! Notes: |
Uh oh!
There was an error while loading. Please reload this page.
What I'd like
Allow Quattro's Quickshell lock screen to unlock with an FIDO2/YubiKey registered through
omarchy setup security fido2, alongside the existing fingerprint and password methods.Current behavior
omarchy setup security fido2installspam-u2fand registers the key in/etc/fido2/fido2.sudoand polkit, where the key continues to work.omarchy-lock-passwordandomarchy-lock-fingerprint; neither invokespam_u2f.pam_u2fentry in the Hyprlock PAM stack allowed the same key to unlock the laptop. Quattro replaced Hyprlock, so that integration path no longer applies.Suggested behavior
omarchy-lock-fido2) rather than coupling it to the password or fingerprint stack.omarchy setup security fido2enable that flow when a key is registered.omarchy remove security fido2remove it cleanly.omarchy apply lockregenerates/preserves the supported FIDO2 configuration, so users do not need an update-fragile local PAM patch.Environment
4.0.0-1, upgraded from3.8.41050:0402)pam-u2f 1.4.0-2libfido2 1.17.0-1The YubiKey enumerates normally and the existing registration is intact; the missing piece is specifically the new Quattro lock-screen authentication flow.
All reactions