pazz/alot — pull request #543 by hildensia (2012-12-12 14:08:39+00:00)
Title: PGP/MIME support

With this patch alot is able to send PGP/MIME encrypted mails.

What works:
- encrypt [KEYID] command in envelope mode sets encrypt flag and encryption key
- unencrypt set the flag to False again
- mail is encrypted right before sending (after signing) if encrypt flag is True
- Thunderbird can decrypt the sent mail
- Thunderbird sees a correct signature in the encrypted mail
- docs are included (enough?)

Drawbacks so far:
- only one encryption key can be set (e.g. if you want to send encrypted emails to multiple recipients you have to send it multiple times)
- encryption key is not automatically set to the email recipient
- No "This is an encrypted mail" comment before the encrypted payload (no 'must' in the rfc, but maybe nice for people with broken email clients)