[Linux-disciples] Mutt and PGP

Stephen R Laniel steve at laniels.org
Fri Oct 8 14:50:36 EDT 2004


On Fri, Oct 08, 2004 at 09:18:32AM -0400, Adam Rosi-Kessel wrote:
> gpg --list-keys | grep -i '\<[^ ]\+@[^ ]\+\>' |perl -p -e 's{^.*<(.*?@.*?)>.*$}{$1}g' |sort |uniq |tr '\n' '|' | sed "s/|*$/) \" \"set pgp_autoencrypt=yes\"\n/g" >> ~/.mutt_encrypt
> 
> Then add to .muttrc
> 
> source .mutt_encrypt

A little better, actually: see
http://shorl.com/dojifrubiraki

The argument to 'source' in mutt can be a pipe. So you don't
even need to use '>> ~/.mutt_encrypt'.

Neat!

-- 
``I am all about the delivery of *justice* to
  parking, people. That is all.''
 -Jon Sung, 27 September 2004

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20041008/d02d8cdf/attachment.pgp


More information about the Linux-disciples mailing list