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.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/_gnupg/gpg-agent.conf b/_gnupg/gpg-agent.conf
index bdac978..5747023 100644
--- a/_gnupg/gpg-agent.conf
+++ b/_gnupg/gpg-agent.conf
@@ -3,9 +3,6 @@
# GnuPG Agent configuration file
# See `gpg-agent(1)'
#
-# 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
#
@@ -17,7 +14,6 @@
#
# Aaron LI
# Created: 2014-06-12
-# Updated: 2017-02-27
#
# Enable the OpenSSH Agent protocol
@@ -25,9 +21,13 @@ 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 1200
-
+# (see this to be 1 week, i.e., 7 days)
+default-cache-ttl 604800
# Set the maximum time a cache entry is valid (default: 7200 seconds)
-max-cache-ttl 7200
+max-cache-ttl 604800
+
+# Set the timeout limits for the cached SSH keys
+default-cache-ttl-ssh 604800
+max-cache-ttl-ssh 604800
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=gpg: #