GPG
Installation
macOS
You can install GPG on macOS using:
$ brew install gpg
Troubleshooting
macOS
Can't access keychain from UI
If a program cannot access the keychain from the UI, probably there's some problem in prompting you for the passphrase. You can install, for instance pinentry
to solve this. Install it with
$ brew install pinentry-mac
and then register pinentry
as the passphrase input option:
$ echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf