dotfiles/private_dot_gnupg/private_gpg-agent.conf.tmpl

16 lines
281 B
Cheetah
Raw Normal View History

2023-08-27 17:55:31 +02:00
default-cache-ttl 300
max-cache-ttl 999999
2025-04-12 13:04:14 +02:00
# machine-specific configuration
2023-08-27 17:55:31 +02:00
{{ if eq .chezmoi.os "darwin" -}}
2025-04-12 13:04:14 +02:00
2023-08-27 17:55:31 +02:00
# macOS contents
pinentry-program /opt/homebrew/bin/pinentry-mac
2025-04-12 13:04:14 +02:00
2023-08-27 17:55:31 +02:00
{{ else if eq .chezmoi.os "linux" -}}
2023-08-28 18:27:39 +02:00
2025-04-12 13:04:14 +02:00
# Linux contents
2023-08-28 18:27:39 +02:00
pinentry-program /usr/bin/pinentry
{{ end -}}