mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-13 02:03:59 +01:00
templatize gpg agent conf
This commit is contained in:
parent
33c31e4cb8
commit
365a3a7579
2 changed files with 9 additions and 2 deletions
|
@ -1,2 +0,0 @@
|
|||
pinentry-program /opt/homebrew/bin/pinentry-mac
|
||||
|
9
private_dot_gnupg/gpg-agent.conf.tmpl
Normal file
9
private_dot_gnupg/gpg-agent.conf.tmpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{- if get . "brew" }}
|
||||
pinentry-program /opt/homebrew/bin/pinentry-mac
|
||||
{{- end }}
|
||||
|
||||
default-cache-ttl 600
|
||||
max-cache-ttl 7200
|
||||
default-cache-ttl-ssh 600
|
||||
max-cache-ttl-ssh 7200
|
||||
|
Loading…
Reference in a new issue