On 03/15/11 00:23, David Champion wrote:
* On 14 Mar 2011, Joseph wrote:
I'm missing a setting I think.
When I open gpg signed message I get:
application/pgp-signature is unsupported (use 'v' to view ...
mutt pgp setting:
# automatically verify the sign of a message when opened
set crypt_verify_sig=yes
mailcap
application/pgp-signature; gpg %s
What am I missing?
Mutt knows how to handle PGP/MIME internally; you don't typically want
to set up mailcap entries for it. (It can't do what you probably want.)
First, consider sourcing gpg.rc to set up gpg within mutt. It comes
with the mutt distribution, but if you can't find it in your package
you can grab a copy here:
http://dev.mutt.org/hg/mutt/raw-file/tip/contrib/gpg.rc
I have this file:
set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose
--quiet --batch --output - %f"
set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output -
--verify %s %f"
set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose
--quiet --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --quiet --output -
%?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output -
%?p?--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 0xED0E1FB7 -- -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 0xED0E1FB7 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons
--list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons
--list-secret-keys %r"
set pgp_good_sign="^gpgv?: Good signature from "
set crypt_verify_sig=ask-no
The addition in mailcap I just added in, but it makes no difference.
I know before it used to ask me if I want to view the signature but some how it
doesn't any more.
--
Joseph