Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PGP command formats for PGP 5.
- # #
- # # $Id: pgp5.rc,v 3.0 2002/01/24 12:11:17 roessler Exp $
- # #
- #
- # # decode application/pgp
- set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgpv +language=mutt +verbose=0 +batchmode -f --OutputInformationFD=0"
- #
- # # verify a pgp/mime signature
- set pgp_verify_command="pgpv +language=mutt +verbose=0 +batchmode --OutputInformationFD=1 %f %s"
- #
- # # string that the verify command outputs if the signature is good
- set pgp_good_sign = "Good signature"
- #
- # # decrypt a pgp/mime attachment
- set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgpv +language=mutt +verbose=0 +batchmode --OutputInformationFD=2 -f"
- #
- # # create a pgp/mime signed attachment
- set pgp_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgps +language=mutt +verbose=0 +batchmode -abft %?a? -u %a?"
- #
- # # create a pgp/mime encrypted attachment
- set pgp_encrypt_only_command="pgpewrap pgpe +language=mutt +verbose=0 +batchmode +nobatchinvalidkeys=off -aft -- -r %r < %f"
- #
- # # create a pgp/mime encrypted and signed attachment
- set pgp_encrypt_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgpewrap pgpe +language=mutt +verbose=0 +batchmode +nobatchinvalidkeys=off -afts %?a? -u %a? -- -r %r"
- #
- # # import a key into the public key ring
- set pgp_import_command="pgpk -a +language=mutt --OutputInformationFD=1 %f"
- #
- # # export a key from the public key ring
- set pgp_export_command="pgpk -xa +language=mutt --OutputInformationFD=1 %r"
- #
- # # verify a key
- set pgp_verify_key_command="pgpk -c +batchmode +language=mutt --OutputInformationFD=1 %r"
- #
- # # read in the public key ring
- set pgp_list_pubring_command="pgpring -5 %r"
- #
- # # read in the secret key ring
- set pgp_list_secring_command="pgpring -5 -s %r"
- #
- ## PGP
- ##
- #
- unset fcc_clear # encrypt Fcc of PGP encrypted messages?
- set crypt_autosign=yes # pgp/smime sign every outgoing mail. (send-hook?)
- unset crypt_autoencrypt # pgp/smime encrypt every outgoing mail. (send-hook?)
- set crypt_autopgp=yes # pgp encryption/sign of messages
- #set crypt_autosmime # S/MIME encrypt/sign of messages
- set crypt_replyencrypt=yes # Encrypt replies on encrypted mail
- set crypt_replysign=yes # Sign replies on signed mail
- #set crypt_replysignencrypted # Sign replies on encrypted mail
- set crypt_timestamp=yes # include timestamp in pgp/smime output (antispoof)
- set crypt_verify_sig=yes # ask whether I want to check a pgp signature
- #
- #
- ##
- ## PGP:
- ##
- #
- set pgp_autosign=yes
- unset pgp_autoencrypt
- set pgp_replysign
- set pgp_replyencrypt=yes
- set pgp_verify_sig=yes
- # set pgp_sign_micalg=<some> # pgp-mda5 (to RSA keys), pgp-sha1 (to DSS (DSA) keys), pgp-rmd160
- set pgp_check_exit # check return value of PGP process
- set pgp_create_traditional=no # Use old-style PGP? (don't do it!)
- set pgp_ignore_subkeys # On OpenPGP keys only show the main key, not the sub.
- unset pgp_long_ids # display 64bit PGP key-ids (don't change this!)
- unset pgp_retainable_sigs # disable retainable signatures.
- set pgp_show_unusable # show unusable PGP keys in menu
- set pgp_strict_enc # allway use QP enc. with PGP.
- set pgp_timeout=7200 # forget PGP passphrase after 7200 seconds (=2 hours)
- #
- ## use my DSA key as default:
- set pgp_sign_as="0x93A78266" # UserID/KeyID for signing
- #
- ##source ~/.mutt/pgp2.rc
- #source ~/.mutt/gpg.rc # Start up with GnuPG by default
- #
- ## %n = number %k = key id %K = key id of the principal key
- ## %u = user id %a = algorithm %A = algorithm of the princ. key
- ## %l = length %L = length of the princ. key
- ## %f = flags %F = flags of the princ. key
- ## %c = capabilities %C = capabilities of the princ. key
- ## %t = trust/validity of the key-uid association
- ##set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
- set pgp_entry_format="%4n %t%f %[%y/%m/%d] %4l/0x%k %-4a %2c %u"
- #
- ##
- ## Sorting of PGP keys:
- ## (address, keyid, date, trust) and reverse-*
- ##
- set pgp_sort_keys=trust
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement