This directory contains GnuPG configuration files that will be symlinked to ~/.gnupg/.
-
Edit the files to customize for your system:
- gpg-agent.conf: Update
pinentry-programpath for your OS- macOS:
/opt/homebrew/bin/pinentry-mac - Linux:
/usr/bin/pinentry-cursesor/usr/bin/pinentry-gtk-2
- macOS:
- gpg-agent.conf: Update
-
Run the symlinks task:
./eru.sh install symlinks
-
Reload gpg-agent to apply changes:
gpg-connect-agent reloadagent /bye
GnuPG doesn't natively support the XDG Base Directory specification and expects configs in ~/.gnupg/. By keeping configs in this repo under ~/.config/gnupg/ and symlinking them, we can:
- Track GnuPG configuration in version control
- Keep all configs organized under
~/.config/ - Share configs across machines
- Maintain consistent environment setup
- gpg-agent.conf: Agent configuration (pinentry, cache settings, SSH support)
- gpg.conf: Main GPG configuration (key preferences, cipher settings)
- dirmngr.conf: Directory manager configuration (keyservers, proxies)
- Never commit private keys to version control
- The
.gitignoreexcludes*.secretand*.gpgfiles - Keep sensitive configs in
*.secretfiles (ignored by git) - Permissions will be automatically fixed to 600/700 by the bootstrap script