* Jostein Berntsen <jber...@broadpark.no> [2011-06-11 23:08:39 +0200]:

> Then encryption works, but not pgp signing. These are the pgp variables 
> in my ~/.muttrc that have set a value. The others I have unset. Could 
> you check them with yours?
> 
> 
> set pgp_autosign=no set pgp_autoencrypt=no
>  set pgp_ignore_subkeys=yes
>  set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
>  set pgp_long_ids=no
>  set pgp_replyencrypt=yes
>  set pgp_replysign=no
>  set pgp_replysignencrypted=no
>  set pgp_retainable_sigs=no
>  set pgp_show_unusable=yes
>  set pgp_strict_enc=yes
>  set pgp_timeout=300
>  set pgp_verify_sig=no
>  set pgp_sort_keys=address
>  set pgp_create_traditional=no

This is what I have set in ~/.mutt/gpg.rc

set pgp_sign_as=D5B20C0C
#set pgp_sign_as=0xeecd9a84d5b20c0c
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 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg %?p?--passphrase-fd 0? --batch 
--quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor 
--always-trust -- -r %r --
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="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`"
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"

The above is pretty much the default that I was given between 
gpg/mutt, it was gotten from the system-wide doc dir

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

Reply via email to