summaryrefslogtreecommitdiffstats
path: root/doc/gpg-agent.texi
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-06-16 16:16:57 +0200
committerNeal H. Walfield <neal@g10code.com>2015-06-29 15:53:48 +0200
commit0416aed4abf6cea94458d2e38eb4a5e6bfea2d8b (patch)
tree6ac56f2bd4a86a9a09452191982a932e30e864b4 /doc/gpg-agent.texi
parentDon't raise max-cache-ttl to default-cache-ttl. (diff)
downloadgnupg2-0416aed4abf6cea94458d2e38eb4a5e6bfea2d8b.tar.xz
gnupg2-0416aed4abf6cea94458d2e38eb4a5e6bfea2d8b.zip
Improve documentation for default-cache-ttl and default-cache-ttl-ssh.
* doc/gpg-agent.texi (Agent Options): Improve documentation for default-cache-ttl and default-cache-ttl-ssh. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r--doc/gpg-agent.texi10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi
index 8e0f1ff13..4c4707257 100644
--- a/doc/gpg-agent.texi
+++ b/doc/gpg-agent.texi
@@ -328,13 +328,17 @@ control this behaviour but this command line option takes precedence.
@item --default-cache-ttl @var{n}
@opindex default-cache-ttl
-Set the time a cache entry is valid to @var{n} seconds. The default is
-600 seconds.
+Set the time a cache entry is valid to @var{n} seconds. The default
+is 600 seconds. Each time a cache entry is accessed, the entry's
+timer is reset. To set an entry's maximum lifetime, use
+@command{max-cache-ttl}.
@item --default-cache-ttl-ssh @var{n}
@opindex default-cache-ttl
Set the time a cache entry used for SSH keys is valid to @var{n}
-seconds. The default is 1800 seconds.
+seconds. The default is 1800 seconds. Each time a cache entry is
+accessed, the entry's timer is reset. To set an entry's maximum
+lifetime, use @command{max-cache-ttl-ssh}.
@item --max-cache-ttl @var{n}
@opindex max-cache-ttl