A couple of days ago I installed GPG so I could have my commits signed. Just a few tips to get everything working correctly.

  • Don’t have both GPGTools Suite installed and GPG installed via Homebrew. Go with one or the other. I went with Homebrew. All manner of havoc will break loose if you do not follow this advice.
  • Add this to the end of ~/.gnupg/gpg.conf:
use-agent
  • Make sure this line is at ~/.gnupg/gpg-agent.conf:
pinentry-program /usr/local/bin/pinentry-mac

When I’m willing to spend more time exploring, I’ll seek to get GPG 2.x working. All the GitHub documentation assumes you are using GPG 1.x and I found it easier going with this, although my problems were probably caused by the fact that I was not adhering to bullet #1 above.

Meanwhile, I’ve added my GPG public key to the contact page just for fun. Why not? Send me an encrypted email, and if you attach your GPG public key, I’ll reply in kind.