cruegge / pam-gnupg

Unlock GnuPG keys on login
GNU General Public License v3.0
269 stars 12 forks source link

Works with screenlocker but not on login #51

Open simonhughxyz opened 5 months ago

simonhughxyz commented 5 months ago

I got this to work using a screen locker, it caches the keys no problem. However for some reason it does not work on initial login.

I don't use a session manager so have this in my /etc/pam.d/login: auth optional pam_gnupg.so I have the correct keygrip in ~/.pam-gnupg

I login and the key is not cached, but then I lock the screen and unlock it and the key is cached.

Can someone help me please, thank you

kronikpillow commented 4 months ago

well @cruegge i guess he answered your question from #44 #36 etc ... but no, I'm not trying Artix again :) I can try on Arch, the issue was on both distros