2023-12-06 07:45:59 +00:00
|
|
|
# https://github.com/drduh/config/blob/master/gpg-agent.conf
|
|
|
|
# https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html
|
|
|
|
enable-ssh-support
|
|
|
|
ttyname $GPG_TTY
|
|
|
|
default-cache-ttl 60
|
|
|
|
max-cache-ttl 120
|
|
|
|
#pinentry-program /usr/bin/pinentry-curses
|
|
|
|
#pinentry-program /usr/bin/pinentry-tty
|
|
|
|
#pinentry-program /usr/bin/pinentry-gtk-2
|
|
|
|
#pinentry-program /usr/bin/pinentry-x11
|
|
|
|
#pinentry-program /usr/bin/pinentry-qt
|
|
|
|
#pinentry-program /usr/local/bin/pinentry-curses
|
|
|
|
#pinentry-program /usr/local/bin/pinentry-mac
|
2024-06-18 18:14:39 +00:00
|
|
|
{{- if eq .chezmoi.os "darwin" }}
|
2023-12-06 07:45:59 +00:00
|
|
|
pinentry-program /opt/homebrew/bin/pinentry-mac
|
2024-06-18 18:14:39 +00:00
|
|
|
{{- else if eq .chezmoi.os "linux" }}
|
|
|
|
pinentry-program /usr/bin/pinentry-qt5
|
|
|
|
{{- end }}
|