aboutsummaryrefslogtreecommitdiffstats
path: root/_gnupg
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-28 09:20:37 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-28 09:20:37 +0800
commitf69127878fa2ae49359d54cc31643f1a8f983ccd (patch)
tree22264c9cd5f2cee014a0d7e83e97f1cbc0a1b0e5 /_gnupg
parent9745c72c34f562fd422ec3d6afb9600fdf603dd3 (diff)
downloaddotfiles-f69127878fa2ae49359d54cc31643f1a8f983ccd.tar.bz2
gnupg: update cache TTL for gpg-agent
Diffstat (limited to '_gnupg')
-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: #