User Tools

Site Tools


macos

MacOS

Useful MacOS configurations, with no particular order

Setup GPG pinentry

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

macos.txt · Last modified: 2024/11/17 12:59 by 127.0.0.1