Mutt: Decrypting inline gpg format directly

The Fuzzy Whirlpool Thunderstorm whirlpool at blinkenshell.org
Sat Jul 19 00:50:58 CEST 2014


Yeah, thanks for giving me this idea.
I've asked on mutt mailing list and got the answer that inline pgp
messages can be manually decrypted using ESC + P button.
Automatic decryption is invoked by putting `set pgp_auto_decode=yes` on
~/.muttrc file. So this is the most convenient method for me.
Again, thanks for giving me your idea.

On Fri, Jul 18, 2014 at 09:45:30PM +0200, Heinz Diehl wrote:
> Hi,
> 
> the list seems to be extraordinarily slow today, so I'm sending my
> reply directly to you.
> 
> You can convert inline pgp mails via procmail. Then, mutt will display
> them directly. Just put this in your .procmailrc, it's pretty much 
> self-explaining:
> 
> :0
> * !^Content-Type: multipart/encrypted
> {
>        :0 fBw
>        * ^-----BEGIN PGP MESSAGE-----
>        * ^-----END PGP MESSAGE-----
>        | formail \
>           -i "Content-Type: application/pgp; format=text;
> 	  x-action=encrypt"
> }
> 
> :0
> * !^Content-Type: multipart/
> {
>        :0 fBw
>        * ^-----BEGIN PGP SIGNED MESSAGE-----
>        * ^-----BEGIN PGP SIGNATURE-----
> * ^-----END PGP SIGNATURE-----
>        | formail \
>           -i "Content-Type: application/pgp; format=text;
> 	  x-action=sign"
> }
> 
> 
> Greetings from Western Norway,
> Heinz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/attachments/20140719/7c9e9339/attachment.sig>


More information about the Gnupg-users mailing list