User Tools

Site Tools



Useful MacOS configurations, with no particular order

Setup GPG pinentry

More info:

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

macos.txt · Last modified: 2023/01/03 11:11 by roger