A quick PSA for those using Mac OSX with homebrew or a Linux variant with apt-get:
There are two versions of gpg on homebrew. If you're like me, you installed gpg with:
brew install gpg
or sudo apt-get install gpg
However this gives you: $ gpg --version
gpg (GnuPG) 1.4.18
...
What you probably want is: brew install gpg2
or sudo apt-get install gnupg2
This gives you: $ gpg2 --version
gpg (GnuPG) 2.0.26
libgcrypt 1.6.2
...
This is probably what you want, as it's the stable version.There's no harm in using gpg 1.4.x; the docs indicate that this is maintained because of its use on older and embedded systems, and AFAIK there's no reason to suspect gpg 1.4.x's security if you trust 2.0.x. It's just that the 1.4.x version has fewer features.
I haven't tried other package managers, but I suspect they also have this minor pitfall.