aboutsummaryrefslogtreecommitdiffstats
path: root/_gnupg/gpg-agent.conf
diff options
context:
space:
mode:
Diffstat (limited to '_gnupg/gpg-agent.conf')
-rw-r--r--_gnupg/gpg-agent.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/_gnupg/gpg-agent.conf b/_gnupg/gpg-agent.conf
new file mode 100644
index 0000000..35d2924
--- /dev/null
+++ b/_gnupg/gpg-agent.conf
@@ -0,0 +1,21 @@
+#####################################################################
+# GnuPG Agent configuration file
+# ~/.gnupg/gpg-agent.conf
+#
+# Ref:
+# Gentoo wiki: GnuPG
+#
+# Weitian LI <liweitianux@gmail.com>
+# 2014/06/12
+#####################################################################
+
+pinentry-program /usr/bin/pinentry-gtk-2
+#pinentry-program /usr/bin/pinentry-qt4
+#pinentry-program /usr/bin/pinentry-curses
+
+no-grab
+
+# default timeout of the passphrase (60 minutes)
+default-cache-ttl 3600
+
+# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=gpg: #