3 # PGP command formats for PGP 5.
5 # $Id: pgp5.rc,v 3.0 2002/01/24 12:11:17 roessler Exp $
8 # decode application/pgp
9 set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgpv +language=mutt +verbose=0 +batchmode -f --OutputInformationFD=0"
11 # verify a pgp/mime signature
12 set pgp_verify_command="pgpv +language=mutt +verbose=0 +batchmode --OutputInformationFD=1 %f %s"
14 # string that the verify command outputs if the signature is good
15 set pgp_good_sign = "Good signature"
17 # decrypt a pgp/mime attachment
18 set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgpv +language=mutt +verbose=0 +batchmode --OutputInformationFD=2 -f"
20 # create a pgp/mime signed attachment
21 set pgp_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgps +language=mutt +verbose=0 +batchmode -abft %?a? -u %a?"
23 # create a pgp/mime encrypted attachment
24 set pgp_encrypt_only_command="pgpewrapng pgpe +language=mutt +verbose=0 +batchmode +nobatchinvalidkeys=off -aft -- -r %r < %f"
26 # create a pgp/mime encrypted and signed attachment
27 set pgp_encrypt_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgpewrapng pgpe +language=mutt +verbose=0 +batchmode +nobatchinvalidkeys=off -afts %?a? -u %a? -- -r %r"
29 # import a key into the public key ring
30 set pgp_import_command="pgpk -a +language=mutt --OutputInformationFD=1 %f"
32 # export a key from the public key ring
33 set pgp_export_command="pgpk -xa +language=mutt --OutputInformationFD=1 %r"
36 set pgp_verify_key_command="pgpk -c +batchmode +language=mutt --OutputInformationFD=1 %r"
38 # read in the public key ring
39 set pgp_list_pubring_command="pgpringng -5 %r"
41 # read in the secret key ring
42 set pgp_list_secring_command="pgpringng -5 -s %r"