Browse Source

feat: unlock GPG at login

wayland
David JULIEN 1 year ago
parent
commit
fb3be783fc
  1. 2
      .config/gnupg/gpg-agent.conf
  2. 1
      .config/paru/pkglist.txt
  3. 9
      .config/root/etc_pamd_system-local-login
  4. 2
      .pam_environment

2
.config/gnupg/gpg-agent.conf

@ -0,0 +1,2 @@
allow-preset-passphrase
max-cache-ttl 86400

1
.config/paru/pkglist.txt

@ -52,6 +52,7 @@ neovim
notmuch
pacman
pacman-contrib
pam-gnupg
paru
pass
patch

9
.config/root/etc_pamd_system-local-login

@ -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

@ -0,0 +1,2 @@
GNUPGHOME DEFAULT=@{HOME}/.config/gnupg
XDG_CONFIG_HOME DEFAULT=@{HOME}/.config
Loading…
Cancel
Save