GPG Mail under Snow Leopard
by jcf. Average Reading Time: about a minute.
For an upcoming project I needed to set up secure communications using GPG. It’s been a few years since I used this, and I have never used GPG on the Mac before… Turn out, that it’s not trivial to get it running… Here’s a bunch of links that helped me get things working:
- http://macgpg.sourceforge.net/index.html – the main MacPGP website
- it includes this readme to compile under SnowLeopard. The important part is this line:
./configure CC="gcc -arch i386" - You will at least need the GPGKeychain and the GPG Preference Pane from the page above – it’s precompile and “should just work”
- The GPGMail plugin for SnowLeopard – you can download a ZIP file with the .mailbundle
Then generate your keys (follow the instructions found at Zeitform)
To install the mailbundle, create a folder ~/Library/Mail/Bundles and copy the GPGMail.mailbundle file you downloaded from Github into it. Drop to a terminal and execute the following two command which will enable Bundles in Mail.app.
defaults write com.apple.mail EnableBundles -bool yes
defaults write com.apple.mail BundleCompatibility -int 3
(via blogator)
Now you can start importing public keys from others into you GPG Keychain and sign / encrypt email from Mail.app
Here is my GPG public key 0x3B5F40BE

Hi, might be interesting for you that version 1.3.0 is now available at http://www.gpgmail.org (compatible with 10.6.4 Snow Leopard, integrated Sparkle update, new dev team, …)