-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't unlock with physlock and xsecurelock #7
Comments
It looks like physlock and xsecurelock call If I remember correctly, presetting an invalid passphrase could lead to gpg failing and not even asking for a passphrase using the usual graphical dialog on some versions. I'll have to check whether that's actually the case, or whether it would be possible to move unlocking to Also, I'm not sure whether physlock and xsecurelock should call
which does not explain what to do when a user is authenticated, but we do not want to open a session. As I said, I'm somewhat fuzzy on the details of pam. Maybe I should open issues for physlock and xsecurelock, asking if they'd implement In the meantime, I'm probably going to add an option to enable unlocking from physlock looks quite nice btw, thanks for pointing me to it. |
Sounds good! 😎 |
Your PR is merged. I guess this issue is fixed. I will test it as soon as possible and close this issue after that. Thanks for your support and help! |
physlock should work now, but maybe leave the issue open to remind me that I still want to write a similar PR for xsecurelock. Also, I still want to implement some workaround options in case other screen lockers have similar problems. |
Nice plan! |
It works for me now. |
As of google/xsecurelock@4f438fd, xsecurelock now calls pam_setcred. This issue can be closed |
Thanks for the info. Ignoring the issue for 1.5 years worked out nicely :) |
Thanks anyway! 😄 |
Looks like I spoke a little too early... I'm trying to use slock with the pam-auth patch . The patch itself doesnt call pam_setcred, so naturally as with any suckless tool, I'm trying to implement it myself. Judging from the physlock and xsecurelock PRs, it looks like it should be a simple addition. So, I thought this would work:
But it doesn't seem to be the case. Is there something else that needs to be called before |
@cruegge Do you want me to make a separate issue for this? |
I'm not sure what project the problem is.
I have installed and configured
pam-gnupg
. It works with i3lock. But if I create files in/etc/pam.d/
forphyslock
orxsecurelock
, I can't unlock the key.I tested it also with:
The GNOME Keyring works.
The text was updated successfully, but these errors were encountered: