aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_gnupg/gpg-agent.conf13
1 files changed, 9 insertions, 4 deletions
diff --git a/_gnupg/gpg-agent.conf b/_gnupg/gpg-agent.conf
index cab106e..bdac978 100644
--- a/_gnupg/gpg-agent.conf
+++ b/_gnupg/gpg-agent.conf
@@ -6,13 +6,18 @@
# The agent is automatically started on demand, thus there is no reason
# to start it manually.
#
+# After changing the configurations, reload the agent using:
+# $ gpg-connect-agent reloadagent /bye
+#
# Reference:
-# [1] GnuPG - Gentoo Wiki
+# [1] GnuPG - ArchWiki
+# https://wiki.archlinux.org/index.php/GnuPG
+# [2] GnuPG - Gentoo Wiki
# https://wiki.gentoo.org/wiki/GnuPG
#
# Aaron LI
# Created: 2014-06-12
-# Updated: 2016-06-13
+# Updated: 2017-02-27
#
# Enable the OpenSSH Agent protocol
@@ -20,9 +25,9 @@ enable-ssh-support
# Set the time a cache entry is valid (default: 600 seconds)
# Each time a cache entry is accessed, the entry's timer is reset
-default-cache-ttl 600
+default-cache-ttl 1200
# Set the maximum time a cache entry is valid (default: 7200 seconds)
-max-cache-ttl 3600
+max-cache-ttl 7200
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=gpg: #