From e0999c11a8c4fd2454fa4a57779feb0898dbdb68 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 15 May 2016 10:26:59 +0800 Subject: gpg-agent.conf: update settings according to gpg-agent(1) --- _gnupg/gpg-agent.conf | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/_gnupg/gpg-agent.conf b/_gnupg/gpg-agent.conf index 35d2924..50a849e 100644 --- a/_gnupg/gpg-agent.conf +++ b/_gnupg/gpg-agent.conf @@ -1,21 +1,25 @@ -##################################################################### -# GnuPG Agent configuration file +# # ~/.gnupg/gpg-agent.conf +# GnuPG Agent configuration file +# See `gpg-agent(1)' # -# Ref: -# Gentoo wiki: GnuPG +# The agent is automatically started on demand, thus there is no reason +# to start it manually. +# +# Reference: +# [1] GnuPG - Gentoo Wiki +# https://wiki.gentoo.org/wiki/GnuPG +# +# Aaron LI +# Created: 2014-06-12 +# Updated: 2016-05-15 # -# Weitian LI -# 2014/06/12 -##################################################################### - -pinentry-program /usr/bin/pinentry-gtk-2 -#pinentry-program /usr/bin/pinentry-qt4 -#pinentry-program /usr/bin/pinentry-curses -no-grab +# 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 timeout of the passphrase (60 minutes) -default-cache-ttl 3600 +# Set the maximum time a cache entry is valid (default: 7200 seconds) +max-cache-ttl 3600 # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=gpg: # -- cgit v1.2.2