From f69127878fa2ae49359d54cc31643f1a8f983ccd Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 28 Feb 2017 09:20:37 +0800 Subject: gnupg: update cache TTL for gpg-agent --- _gnupg/gpg-agent.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '_gnupg') 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: # -- cgit v1.2.2