|
|
![]() |
GPGMail is a plug-in for Mail.app (on MacOS X) and MailViewer.app (on MacOS X Server 1.x), providing a front-end to gpg for some operations.
GPGMail extends Apple's Mail/MailViewer application and allows you to read and send PGP authenticated and/or encrypted messages. You can use GPGMail for plain and MIME messages, following RFC 3156.
GPGMail does not contain any encryption code: it is a client to gpg executable.
GPGMail is a complete hack, relying on Mail/MailViewer private internal API. Use it at your own risks!
(Sep 8th, 2001) GPGMail Release 0.5.1 (v8) is currently available.
GPGMail does NOT work at all on MacOS X 10.1 (pre)releases! It crashes Mail.app.
Information on this page includes:
Once started, Mail.app/MailViewer.app has a new submenu, PGP, in its Message menu, containing 4 items:
| ![]() |
Mail.app/MailViewer.app also has a new Preferences panel in which you can set:

In the Compose window, you can also add two toolbar items (by customizing the toolbar, on MacOS X), or display two popup buttons (on MacOS X Server 1.x), to set the encryption (on/off) and add or not your PGP signature; you can also use menu items PGP/Encrypt New Message and PGP/Sign New Message. When you compose a new message, you can sign it (you will be asked for your identity passphrase), and/or you can encrypt it.

When you browse through message, GPGMail can operate automatically, or on-demand. In automatic mode, it tries to authenticate or decrypt the currently selected message; in manuel mode, you click on a button/menu to decrypt or authenticate the currently selected message.
Encryption/decryption of plain text and MIME messages works.
Note that there is a hidden userDefault, GPGEncryptsToSelf, which allows
you to not encrypt messages with your key: by default it is set to YES, allowing
you to re-read encrypted sent messages.
If you allow passphrase caching, passphrase is stored in cache during a small amount of time: if it has not been used during this time, cache is cleared.
GPGMail also automatically launches egd.pl, the Entropy Gathering Daemon needed by gpg.
To and CC. For security considerations, BCC recipients are not - yet - taken in account).
BCC recipients yet.
You need either MacOS X 10.0.4 or MacOS X Server 1.x; GPGMail will not work as-is on other OS versions, because the internals of Mail.app changes on every revision...
For MacOS X, You can use MacGPG distribution, available at http://ftp1.sourceforge.net/macgpg/ezgpg1.0.6r1.tar.gz
For MacOS X Server 1.x, you will need to compile and install gnupg 1.0.6 (the version I tested) with egd.pl 0.8, modified by some patches. See GPGInstall.txt file (also coming with distribution).
gpg and egd.pl executables are expected to be located in /usr/local/bin/ and
entropy in ~/.gnupg/entropy. The locations can be modified using
user defaults; see GPGMailBundle.defaults file.
Stéphane Corthésy makes this software available for anyone to use, under the terms of this Open Source License.
GPGMail is ©copyright 2000-2001 Stéphane Corthésy. I reserve all rights to this piece of software. I take no responsibility for any damage this software, through omission or error, might cause. This software is provided as is and with no warranty.
As usual, I welcome feedback on this piece of code. If you have bug reports, suggestions or, even better, patches for GPGMail, please send an e-mail to gpgmail@sente.ch
I'd particularly welcome icons for GPGMail...
If you like it, tell it to me, and to Apple, this way they will (perhaps...) help me to port it to future MacOS X releases.
(Sep 8th, 2001) GPGMail Release 0.5.1 (v8) is currently available.
(Feb 7th, 2001) GPGMail Release 0.5 (v4): initial release, for MacOS X Server 1.x and MacOS X Public Beta.
gpg error messages by using GPGME
BCC recipients
The source code for GPGMail can be downloaded from our FTP site, either in .DMG format or in GZIP compressed TAR files that can be decoded with the command gnutar xf filename or using Scott Anguish's excellent OpenUp.app; don't use StuffIt, as some versions may fail to open correctly the archive. You need Apple's Cocoa/YellowBox development environment, on MacOS X or MacOS X Server 1.x to compile the sources.
| Source code | (.tgz) or (.dmg) |
GPGMail-s.tgz or GPGMail-s.dmg | |
| MacOS X plug-in | ![]() |
GPGMail-MOX-b.dmg | |
| MacOS X Server 1.x plug-in | ![]() |
GPGMail-MOXS-b.tgz | |
MacOS X Server 1.x patch for gnupg |
![]() |
gpg-1.0.6-MOXS-patch.tgz | |
MacOS X Server 1.x patch for egd.pl |
![]() |
egd-0.8-MOXS-patch.tgz | |
gpg and egd.pl; binaries are available from MacGPG.
$(HOME)/Library/Mail/Bundles/
gpg and egd.pl (see GPGInstall.txt)
$(HOME)/Library/MailViewer/
More Mac OS X, WebObjects or OPENSTEP software to download from Sen:te
Welcome
Search
Information
Ask Sen:te
©Copyright 2000-2001, Stéphane Corthésy. All rights reserved.