Summary: | Allow multiple simultaneous auth methods to be used without having to fail at one of them, first via multiple PAM stacks | ||
---|---|---|---|
Product: | [Plasma] kscreenlocker | Reporter: | cirelli94 |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | 4wy78uwh, bhush94, eric.brunet, joost, nate |
Priority: | NOR | Keywords: | usability |
Version: | 5.24.5 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
cirelli94
2022-05-16 09:25:54 UTC
Can reproduce. Not sure if this is something we can fix on our side, or if it's a PAM configuration thing. FWIW you'll be able to use your text password if you try and fail to authenticate with a fingerprint three times. I have the same issue on a fedora 38 beta. After failing three times the fingerprint, I can indeed type my password to unlock It works the other way around: I can type my password, hit enter (nothing happens), and then fail three times the fingerprint; the computer unlocks. The problem might not be on kde side, as it is also present with other programs. For instance, if I use sudo, I need to fail three times the fingerprint before being offered a keyboard prompt. Yeah I'm pretty sure this is a PAM issue unfortunately. I agree it should be PAM's job, but they don't seem to think so. From the manpage for pam_fprintd: The PAM stack is by design a serialised authentication, so it is not possible for pam_fprintd to allow authentication through passwords and fingerprints at the same time. It is up to the application using the PAM services to implement separate PAM processes and run separate authentication stacks separately. This is the way multiple authentication methods are made available to users of gdm for example. So maybe it is up to kscreenlocker to do the work, after all. There must be some code in gdm that could be adapted in kscreenlocker and in sddm. Ah ok, so there is something we can do about it, cool. |