[Solved]Yubikey not unlocking cinnamon-screensaver

Questions about hardware and drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
zenadm1n
Level 1
Level 1
Posts: 1
Joined: Sun Jan 21, 2024 2:36 am

[Solved]Yubikey not unlocking cinnamon-screensaver

Post by zenadm1n »

This is now resolved but Google is still not showing me the solution so I'm documenting here in case it gets indexed.

After an upgrade to LMDE 6 (faye) the previous fix to enable Yubikey HMAC-SHA1 unlock of the cinnamon-screensaver was no longer working. I was dropping to a terminal and running cinnamon-unlock-desktop in order to get back in after hibernation. After a few days I had dozens of the following process running after I checked btop, "cinnamon-screensaver-pam-helper". So that's the new program that needs permission to read the Yubikey when I'm not logged in. It was continuing to run every time I bypassed it. Like the previous Yubikey screensaver fixes use "setcap"

Code: Select all

sudo setcap cap_dac_read_search+ep /usr/lib/x86_64-linux-gnu/cinnamon-screensaver/cinnamon-screensaver-pam-helper
To remove the permission on any previous screensaver helper use "setcap -r filename".

More at this Github Issue
Last edited by Moem on Sun Jan 21, 2024 5:17 am, edited 1 time in total.
Reason: Moved into the LMDE section of the forum.
Post Reply

Return to “Hardware Support”