Useful MacOS configurations, with no particular order
More info: https://stackoverflow.com/a/40066889/4824187
brew upgrade gnupg # This has a make step which takes a while brew link --overwrite gnupg brew install pinentry-mac
on old homebrew:
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf killall gpg-agent
On more recent systems like M1 macs:
echo "pinentry-program /opt/homebrew/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf killall gpg-agent
To test:
echo "test" | gpg --clearsign
You should see the pinentry window