On (18/08/08 16:41), Ravi Uday wrote: | | Hi, | | I am tyring to integrate PGP with Mutt. Can anyone of you supply me a | basic muttrc | which has PGP configurations ? | I did setup PGP properly butsomehow its not working when sending mails. | | Thanks, | Ravi | I "borrowed" this portion of my .muttrc, but can not remember who deserves the credit. (I do remember it was a highly respected source.) Even so, all the usual warnings apply. ## GPG set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to <your GPG key here> -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to <your GPG key here> -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import -v %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" set pgp_autosign=yes set pgp_sign_as=<your GPG key here> set pgp_replyencrypt=yes set pgp_timeout=1800 set pgp_good_sign="^gpg: Good signature from" # GPG/PGP related color directives: mono body bold "^gpg: Good signature" mono body reverse "^gpg: Bad signature from.*" color body brightblack cyan "^gpg: Signature made.*" color body brightblack green "^gpg: Good signature from.*" color body brightblack yellow "^gpg: Can't check signature.*" color body brightblack yellow "^gpg: WARNING: .*" color body brightwhite red "^gpg: BAD signature from.*" -- JohnRChamplin@xxxxxxxxxxxxxxx ==================================================== GPG key 1024D/99421A63 2005-01-05 EE51 79E9 F244 D734 A012 1CEC 7813 9FE9 9942 1A63 gpg --keyserver subkeys.pgp.net --recv-keys 99421A63
Attachment:
signature.asc
Description: Digital signature