Skip to content

Instantly share code, notes, and snippets.

@afflicted-cat
Last active July 28, 2021 00:52
Show Gist options
  • Save afflicted-cat/f3d8d10214c5eb9210768ce0789691e4 to your computer and use it in GitHub Desktop.
Save afflicted-cat/f3d8d10214c5eb9210768ce0789691e4 to your computer and use it in GitHub Desktop.
GPG failed to sign the data
1. Update to gpg2:
brew upgrade gnupg # This has a make step which takes a while
brew link --overwrite gnupg
brew install pinentry-mac
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
2. Test
echo "test" | gpg --clearsign # on linux it's gpg2 but brew stays as gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment