aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/.gnupg/gpg-agent.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/.gnupg/gpg-agent.conf b/templates/.gnupg/gpg-agent.conf
index dd4badd..23b25fe 100644
--- a/templates/.gnupg/gpg-agent.conf
+++ b/templates/.gnupg/gpg-agent.conf
@@ -1,5 +1,8 @@
-# vim: ft=gpg
default-cache-ttl 600
max-cache-ttl 7200
+{{ if eq .OS "darwin" }}
pinentry-program /usr/local/bin/pinentry-mac
+{{ else }}
+pinentry-program /usr/bin/pinentry-qt
+{{ end }}
enable-ssh-support