diff options
author | Ben Burwell <ben@benburwell.com> | 2019-12-12 16:35:10 -0500 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-12-12 16:35:10 -0500 |
commit | 84e02cbaad8e7a60d4f5be174c91c8e8ed48335d (patch) | |
tree | 5f4cea3e9979b12fa6ea27c04add9d2d3979c7ad /templates | |
parent | df71a2a3dc6bc0760a0ac788c9b3127f6fdbf3aa (diff) |
gpg: use pinentry-qt on linux
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.gnupg/gpg-agent.conf | 5 |
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 |