dotfiles/private_dot_gnupg/gpg-agent.conf.tmpl

19 lines
677 B
Cheetah
Raw Normal View History

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
{{- if eq .chezmoi.os "darwin" }}
2023-12-06 07:45:59 +00:00
pinentry-program /opt/homebrew/bin/pinentry-mac
{{- else if eq .chezmoi.os "linux" }}
2024-11-26 06:54:29 +00:00
pinentry-program /usr/bin/pinentry-rofi
{{- end }}