Snippet: #wmh2

Written in Plain Text and posted on Dec 04, 2011 at 03:13
   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 0xC9C40C31 -- -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? --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
   8  set pgp_import_command="gpg --no-verbose --import -v %f"
   9  set pgp_export_command="gpg --no-verbose --export --armor %r"
  10  set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
  11  set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 
  12  set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 
  13  
  14  # specify the uid to use when encrypting/signing
  15  set pgp_sign_as=0x1B58B77C
  16  
  17  # this set the number of seconds to keep in memory the passpharse used to encrypt/sign
  18  # the more the less secure it will be
  19  set pgp_timeout=60
  20  
  21  # it's a regexp used against the GPG output: if it matches some line of the output
  22  # then mutt considers the message a good signed one (ignoring the GPG exit code)
  23  set pgp_good_sign="^gpg: Good signature from"
  24  
  25  # mutt uses by default PGP/GPG to sign/encrypt messages
  26  # if you want to use S-mime instead set the smime_is_default variable to yes
  27  
  28  # automatically sign all outcoming messages
  29  #set crypt_autosign
  30  # sign only replies to signed messages
  31  #set crypt_replysign
  32  
  33  # automatically encrypt outcoming messages
  34  #set crypt_autoencrypt=yes
  35  # encrypt only replies to signed messages
  36  #set crypt_replyencrypt=yes
  37  # encrypt and sign replies to encrypted messages
  38  set crypt_replysignencrypted=yes
  39  
  40  # automatically verify the sign of a message when opened
  41  set crypt_verify_sig=yes