aboutsummaryrefslogtreecommitdiffstats
path: root/_gnupg/gpg-agent.conf
blob: 2a3f9a1694f15a6516ffd453ec6afb9f0f26b14b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# ~/.gnupg/gpg-agent.conf
# 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
#
# Reference:
# [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: 2017-03-30
#

# Grab the keyboard and mouse to avoid X-sniffing attacks
grab

# Enable the OpenSSH Agent protocol
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

# Set the maximum time a cache entry is valid (default: 7200 seconds)
max-cache-ttl 7200

#  vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=gpg: #