3 # PGP command formats for PGP 2.
5 # $Id: pgp2.rc,v 3.0 2002/01/24 12:11:17 roessler Exp $
9 # Note: In order to be able to read your own messages, you'll have
10 # the +encrypttoself command line parameter to the pgp_encrypt_only_command
11 # and pgp_encrypt_sign_command variables.
14 # decode application/pgp
15 set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgp +language=mutt +verbose=0 +batchmode -f"
17 # verify a pgp/mime signature
18 set pgp_verify_command="pgp +language=mutt +verbose=0 +batchmode -t %s %f"
20 # decrypt a pgp/mime attachment
21 set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp +language=mutt +verbose=0 +batchmode -f"
23 # create a pgp/mime signed attachment
24 set pgp_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp +language=mutt +verbose=0 +batchmode -abfst %?a? -u %a?"
26 # create a pgp/mime encrypted attachment
27 set pgp_encrypt_only_command="pgp +language=mutt +verbose=0 +batchmode -aeft %r < %f"
29 # create a pgp/mime encrypted and signed attachment
30 set pgp_encrypt_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp +language=mutt +verbose=0 +batchmode -aefts %?a?-u %a? %r"
32 # import a key into the public key ring
33 set pgp_import_command="pgp -ka %f +language=mutt"
35 # export a key from the public key ring
36 set pgp_export_command="pgp -kxaf +language=mutt %r"
39 set pgp_verify_key_command="pgp -kcc +language=mutt %r"
41 # read in the public key ring
42 set pgp_list_pubring_command="pgpringng -2 %r"
44 # read in the secret key ring
45 set pgp_list_secring_command="pgpringng -s -2 %r"
47 # pattern for good signature
48 set pgp_good_sign="Good signature"