Summary: | Allow multiple simultaneous auth methods to be used without having to fail at one of them, first via multiple PAM stacks | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | cirelli94 |
Component: | Screen locking | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | 4wy78uwh, bshah, bugs.kde.org, eric.brunet, joost, m.lincetto, max, nate, peter |
Priority: | NOR | Keywords: | usability |
Version First Reported In: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
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. If we want to aim for more mainstream adoption this issue should be prioritized more, a lot if not most non-gaming laptops come with fingerprint readers these days (and a bunch of gaming-laptops too), and things like this not working will be noticed, and can cause users some headache trying to fix. Not being able to use password when fingerprinter is configured creates risk of locking people out, as there are plenty of reasons a fingerprint reader might fail to authenticate (scratched or dirty fingers, very dry skin, scratched sensor, driver bug or bad behaving such as refusing to work after repeated failed scans etc.). Also the lock-screen currently states: "(or scan you fingerprint on the reader)" below the password field, which is misleading (and also appears on computers without fprint installed or even a fingerprint reader, but that is a separate issue). |