https://bugs.kde.org/show_bug.cgi?id=461095

            Bug ID: 461095
           Summary: Kscreenlocker checks for auth and show "Unlock" button
                    twice, when configured howdy facial recognition
                    authentication
    Classification: Plasma
           Product: kscreenlocker
           Version: 5.26.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: mur...@gmail.com
                CC: bhus...@gmail.com
  Target Milestone: ---

SUMMARY
***
I use https://github.com/boltgolt/howdy for facial recognition authentication.
It works well on login using SDDM and checks my face once.

Also, it works for Kscreenlocker too, but Kscreenlocker checks my face twice!
So I see a password input prompt, the facial recognition process starts working
(IR camera starts working), it successfully recognizes me and the "password
input prompt" slides to the left and changes to the "Unlock" button, that's
cool!

But immediately after this - Kscreenlocker starts the facial recognition
process again, and after couple of seconds - that "Unlock" button slides to the
left again, and changes to the new "Unlock" button screen!

Why that happens and how to make this happen only one time?

For any other auth processes (terminal login, sudo, etc) - Linux uses the
facial recognition process (us IR camera) only once, the problem is only with
Kscreenlocker.

***


STEPS TO REPRODUCE
1. Install howdy and configure the face recognition.
2. Add howdy to auth process via something like putting into
`/etc/pam.d/common-auth` the line:
```
auth    [success=2 default=ignore]        pam_python.so
/lib/security/howdy/pam.py
```
3. Login to the KDE session using face recognition and see that the IR camera
uses only once.
4. Lock the screen.
5. Try to unlock the screen.

OBSERVED RESULT
You will see two changes of the login screen: from the password prompt to
unlock button, and from the first unlock button, to the second one (that uses
the IR camera for face recognition the second time), which unnecessarily spends
unlocking time!

EXPECTED RESULT
The "unlock button" switch and the "face recognition" call should happen only
one time.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-23-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: HP
Product Name: HP EliteBook 850 G8 Notebook PC

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to