# 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" }} pinentry-program /opt/homebrew/bin/pinentry-mac {{- else if eq .chezmoi.os "linux" }} pinentry-program /usr/bin/pinentry-rofi {{- end }}