feat: unlock GPG at login
This commit is contained in:
parent
a980567c05
commit
fb3be783fc
2
.config/gnupg/gpg-agent.conf
Normal file
2
.config/gnupg/gpg-agent.conf
Normal file
@ -0,0 +1,2 @@
|
||||
allow-preset-passphrase
|
||||
max-cache-ttl 86400
|
@ -52,6 +52,7 @@ neovim
|
||||
notmuch
|
||||
pacman
|
||||
pacman-contrib
|
||||
pam-gnupg
|
||||
paru
|
||||
pass
|
||||
patch
|
||||
|
9
.config/root/etc_pamd_system-local-login
Normal file
9
.config/root/etc_pamd_system-local-login
Normal file
@ -0,0 +1,9 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth include system-login
|
||||
account include system-login
|
||||
password include system-login
|
||||
session include system-login
|
||||
|
||||
auth optional pam_gnupg.so store-only
|
||||
session optional pam_gnupg.so
|
2
.pam_environment
Normal file
2
.pam_environment
Normal file
@ -0,0 +1,2 @@
|
||||
GNUPGHOME DEFAULT=@{HOME}/.config/gnupg
|
||||
XDG_CONFIG_HOME DEFAULT=@{HOME}/.config
|
Reference in New Issue
Block a user