aboutsummaryrefslogtreecommitdiffstats
path: root/gpg-agent.conf
diff options
context:
space:
mode:
Diffstat (limited to 'gpg-agent.conf')
-rw-r--r--gpg-agent.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/gpg-agent.conf b/gpg-agent.conf
new file mode 100644
index 0000000..510efcc
--- /dev/null
+++ b/gpg-agent.conf
@@ -0,0 +1,10 @@
+pinentry-program /usr/bin/pinentry-curses
+enable-ssh-support
+# cache passwords for both gpg and ssh for 4h
+max-cache-ttl-ssh 14400
+default-cache-ttl 14400
+# expire passwords after 6h
+max-cache-ttl 21600
+max-cache-ttl-ssh 21600
+# let sb-builder unlock the signing key: jobs have no tty for pinentry
+allow-preset-passphrase