diff --git a/roles/gnupg/templates/gpg.conf.j2 b/roles/gnupg/templates/gpg.conf.j2 index 1d2e12b..0253121 100644 --- a/roles/gnupg/templates/gpg.conf.j2 +++ b/roles/gnupg/templates/gpg.conf.j2 @@ -10,6 +10,9 @@ personal-digest-preferences SHA256 SHA512 SHA384 SHA224 {% if gpg_config_ignore_time_conflict %} ignore-time-conflict {% endif %} +{% if gpg_config_trusted_key %} +trusted-key {{ gpg_config_trusted_key }} +{% endif %} # How to render keys keyid-format {{ gpg_config_keyid_format }}