practical compatibility GnuPG/PGP

Anthony E. Greene agreene@pobox.com
Thu May 16 02:00:01 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-May-2002/17:57 +0200, Jeroen Valcke <jeroen@valcke.com> wrote:
>
>I just discovered this on the mutt site.
>Q: "People are sending PGP messages which mutt doesn't
>    recognize.  What can I do?"
>
>    The new way is to leave headers alone and use mutt's
>    check-traditional-pgp function, which can detect PGP messages at
>    run-time, and adjust content-types.


Another thing I do is sign/encrypt from within my editor, vim. I set mutt
to call vim like this: 

set editor="/usr/bin/vim -N -s $HOME/.vimrc-mail"

My ~/.vimrc-mail looks like this:

:set tw=74
:set fo=tcq
:cmap cs %!gpg --clearsign
:cmap es %!gpg -seat -r 
:cmap ee %!gpg -eat -r 
:set background=dark
:set syntax=mail
:syntax on

The first two lines set some reasonable formatting options for email. The
last three lines give me a decent set of colors for my dark-background
terminal window. The three lines in the middle specify key combinations
for GPG actions. The es and ee (encrypt/sign, encrypt) macros require me
to type or paste in the recipient's email address or keyid.

To clearsign this message, I use: [Escape]:cs[Enter]  then enter my
passphrase, then ZZ to save and quit, then y to send.

Describing it takes longer than doing it.

Tony
- -- 
Anthony E. Greene <mailto:agreene@pobox.com>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05         HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:agreene@pobox.com> 0x6C94239D

iD8DBQE84va/pCpg3WyUI50RAjDGAKDdHdPP3xTbDPRp6zlJHzX6SgS8wQCgqW5d
+39NM8kz1sM7wE8gPw0kbr8=
=UdHj
-----END PGP SIGNATURE-----