Make gpg ssh support configurable

This commit is contained in:
Hannes Körber
2021-01-30 21:06:45 +01:00
parent 39b45df38e
commit 83c9d72afe
4 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ users:
mail: hannes@hkoerber.de
git_gpg_sign: false
gpg_agent: true
gpg_agent_for_ssh: true
gpg_keys:
master_key: "0xB5C002530C6A2053"
environment:

View File

@@ -12,6 +12,7 @@ users:
mail: hannes.koerber@tradebyte.com
git_gpg_sign: false
gpg_agent: false
gpg_agent_for_ssh: false
environment:
MACHINE_HAS_NEXTCLOUD: "false"
- name: hannes-private
@@ -20,6 +21,7 @@ users:
mail: hannes@hkoerber.de
git_gpg_sign: false
gpg_agent: true
gpg_agent_for_ssh: true
gpg_keys:
master_key: "0xB5C002530C6A2053"
environment:

View File

@@ -14,6 +14,7 @@ dotfiles:
to: .gnupg/dirmngr.conf
- from: gnupg/gpg-agent.conf
to: .gnupg/gpg-agent.conf
template: true
- from: gnupg/gpg.conf
to: .gnupg/gpg.conf
template: true

View File

@@ -4,6 +4,8 @@ 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