Make gpg ssh support configurable

This commit is contained in:
2021-01-30 21:06:45 +01:00
parent 3feee6543c
commit dd93c0a30b
4 changed files with 6 additions and 0 deletions

11
gnupg/gpg-agent.conf.j2 Normal file
View File

@@ -0,0 +1,11 @@
default-cache-ttl 60480000
default-cache-ttl-ssh 60480000
max-cache-ttl 34560000
max-cache-ttl-ssh 34560000
{% if user.gpg_agent_for_ssh %}
enable-ssh-support
{% endif %}
pinentry-program /usr/bin/pinentry-qt