3 # PGP command formats for PGP 6.
8 # decode application/pgp
9 set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgp6 +compatible +verbose=0 +batchmode -f"
11 # verify a pgp/mime signature
12 set pgp_verify_command="pgp6 +compatible +verbose=0 +batchmode -t %s %f"
14 # decrypt a pgp/mime attachment
15 set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +batchmode -f"
17 # create a pgp/mime signed attachment
18 set pgp_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +batchmode -abfst %?a? -u %a?"
20 # create a pgp/mime encrypted attachment
21 set pgp_encrypt_only_command="pgp6 +compatible +verbose=0 +encrypttoself +batchmode -aeft %r < %f"
23 # create a pgp/mime encrypted and signed attachment
24 set pgp_encrypt_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +encrypttoself +batchmode +clearsig=off -aefts %?a? -u %a? %r"
26 # import a key into the public key ring
27 set pgp_import_command="pgp6 +compatible -ka %f "
29 # export a key from the public key ring
30 set pgp_export_command="pgp6 +compatible -kxaf %r"
33 set pgp_verify_key_command="pgp6 +compatible -kcc %r"
35 # read in the public key ring
36 set pgp_list_pubring_command="pgpring -5 %r"
38 # read in the secret key ring
39 set pgp_list_secring_command="pgpring -s -5 %r"
41 # create a clearsigned message
42 set pgp_clearsign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +batchmode +clearsig -afst %?a? -u %a?"
45 set pgp_getkeys_command="pkspxycwrap %r"