# -*-muttrc-*- # # PGP command formats for PGP 6.5.1i # # %p The empty string when no passphrase is needed, # the string "PGPPASSFD=0" if one is needed. # # This is mostly used in conditional % sequences. # # %f Most PGP commands operate on a single file or a file # containing a message. %f expands to this file's name. # # %s When verifying signatures, there is another temporary file # containing the detached signature. %s expands to this # file's name. # # %a In "signing" contexts, this expands to the value of the # configuration variable $pgp_sign_as. You probably need to # use this within a conditional % sequence. # # %r In many contexts, mutt passes key IDs to pgp. %r expands to # a list of key IDs. # # $ Id: pgp6.rc,v 1.4 2000/03/14 11:17:56 roland Exp roland $ # # decode application/pgp set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgp6 +verbose=0 +batchmode -f" # verify a pgp/mime signature set pgp_verify_command="pgp6 +verbose=0 +batchmode -t %s %f" # decrypt a pgp/mime attachment set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +verbose=0 +batchmode -f" # create a pgp/mime signed attachment set pgp_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +verbose=0 +batchmode -abfst %?a? -u %a?" # create a application/pgp signed (old-style) message set pgp_clearsign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +verbose=0 +batchmode +clearsig -afst %?a? -u %a?" # create a pgp/mime encrypted attachment set pgp_encrypt_only_command="pgp6 +verbose=0 +encrypttoself +batchmode -aeft %r < %f" # create a pgp/mime encrypted and signed attachment set pgp_encrypt_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +verbose=0 +encrypttoself +batchmode +clearsig=off -aefts %r %?a? -u %a?" # import a key into the public key ring set pgp_import_command="pgp6 -ka %f " # export a key from the public key ring set pgp_export_command="pgp6 -kxaf %r" # verify a key set pgp_verify_key_command="pgp6 -kcc %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 -s -5 %r" # receive key from keyserver: set pgp_getkeys_command="" # string that the verify command outputs if the signature is good set pgp_good_sign = "Good signature"