mardi 26 mai 2009

Some useful tips for Mutt and GPG

Ok, time passes and my mutt/GPG config is getting old. Here come some
useful I may forget again.

** GPG :
- list keys with "gpg --list-keys"
- add / remove adresses within your key with "gpg --edit-key KEYID"
- export key to pgp.mit.edu like pgp servers with "gpg --send-key KEYID"

** Mutt
- general GPG config here :
- encrypt/sign messages pressing "p" just before sending "y"
- decrypt messages, no matter their content type using "check-
traditional-pgp" : "ESC-P"
- auto-decrypt messages with : '''message-hook '!(~g|~G) ~b"^-----BEGIN
\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"'''
- forget passphrase with "CTRL-F"

Dev version has "pgp_auto_decode" ...