summaryrefslogtreecommitdiff
path: root/cs/Gentoo/pam-gnupg config.md
diff options
context:
space:
mode:
Diffstat (limited to 'cs/Gentoo/pam-gnupg config.md')
-rw-r--r--cs/Gentoo/pam-gnupg config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/cs/Gentoo/pam-gnupg config.md b/cs/Gentoo/pam-gnupg config.md
new file mode 100644
index 0000000..2818fea
--- /dev/null
+++ b/cs/Gentoo/pam-gnupg config.md
@@ -0,0 +1,12 @@
+auth optional pam_gnupg.so store-only
+session optional pam_gnupg.so
+>> /etc/pam.d/system-login
+
+allow-preset-passphrase
+max-cache-ttl 86400
+>> ~/.gnupg/gpg-agent.conf
+
+gpg --full-gen-key
+
+gpg -K --with-keygrip
+>> ~/.config/pam-gnupg