[PATCH] PGP/GPG support for Balsa



Hi,

it's my first patch for Balsa :
http://foxy.free.fr/balsa-1.3.4-gpg_support.patch

It provides support for PGP/GPG in mode text (RFC 2440) for signing and
verifying PGP/GPG signed messages. It requires GPGME v0.3.5 as minimum
(http://www.gnupg.org).

This patch is for developper only and is build with Balsas sources
v1.3.4. Be careful when you test it (made backups of your mail directory
before using it).

To install it :

- tar xjvf balsa-1.3.4.tar.bz2
- cd balsa-1.3.4/
- patch -p1 < ../balsa-1.3.4-gpg_support.patch
- cp "autogen.sh" from CVS version
- ./autogen.sh --> rebuild "configure" with an "--enable-gpgme" option
- ./configure --enable-all --enable-gpgme
- make
- make install

It adds an option tab "Privacy" in "Parameters --> Preferences --> Mail
Options". In this tab, you have an checkbox to always verify PGP/GPG
signed message, and a set of radio buttons to choose key to sign message
(but this option has no effect for now).

In the main window with preview-pane, if you read a PGP/GPG signed 
message and the option in on, a window pop-ups with status of signed
message's verification.

In a message composition window, I have add an option to sign message
with the default GPG key (option "Options --> Sign Message with
PGP/GPG"). If the option is selected, a request window appears to ask
your key's passphrase when you try to send the signed message.

Please report me bugs and send me some PGP/GPG signed messages with
other MUA to test interoperability.

TODO :
- "nicer" code
- support for encrypt and decrypt PGP/GPG message
- add options in GUI
- support for PGP/MIME types (RFC 3156)

Thx, Foxy. My public GPG key is here :
http://foxy.free.fr/foxy-gpg_key.asc

-- 
Laurent Cheylus <foxy@free.fr> OpenPGP ID 0x5B766EC2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]