gpg mutt
1 set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
2 set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
3 set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
4 set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
5 set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
6 set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xKEYID -- -r %r -- %f"
7 set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --
8 armor --always-trust --encrypt-to 0xKEYID -- -r %r -- %f"
9 set pgp_import_command="gpg --no-verbose --import -v %f"
10 set pgp_export_command="gpg --no-verbose --export --armor %r"
11 set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
12 set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
13 set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
14
15 # specify the uid to use when encrypting/signing
16 set pgp_sign_as=0xKEYID
17
18 # this set the number of seconds to keep in memory the passpharse used to encrypt/sign
19 # the more the less secure it will be
20 set pgp_timeout=60
21
22 # it's a regexp used against the GPG output: if it matches some line of the output
23 # then mutt considers the message a good signed one (ignoring the GPG exit code)
24 set pgp_good_sign="^gpg: Good signature from"
25
26 # mutt uses by default PGP/GPG to sign/encrypt messages
27 # if you want to use S-mime instead set the smime_is_default variable to yes
28
29 # automatically sign all outcoming messages
30 set crypt_autosign
31 # sign only replies to signed messages
32 set crypt_replysign
33
34 # automatically encrypt outcoming messages
35 #set crypt_autoencrypt=yes
36 # encrypt only replies to signed messages
37 #set crypt_replyencrypt=yes
38 # encrypt and sign replies to encrypted messages
39 set crypt_replysignencrypted=yes
40
41 # automatically verify the sign of a message when opened
42 set crypt_verify_sig=yes
Pasted by on
noviembre 25, 2011 at 18:48 |
Lang: text |
(42 lines of code)