Use m_tempfile and better errors msg
[apps/madmutt.git] / contrib / pgp6.rc
1 # -*-muttrc-*-
2 #
3 # PGP command formats for PGP 6.
4 #
5 # $Id: pgp6.rc,v 3.0 2002/01/24 12:11:17 roessler Exp $
6 #
7
8 # decode application/pgp
9 set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgp6 +compatible   +verbose=0 +batchmode -f"
10
11 # verify a pgp/mime signature
12 set pgp_verify_command="pgp6 +compatible   +verbose=0 +batchmode -t %s %f"
13
14 # decrypt a pgp/mime attachment
15 set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible   +verbose=0 +batchmode -f"
16
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?"
19
20 # create a pgp/mime encrypted attachment
21 set pgp_encrypt_only_command="pgp6 +compatible   +verbose=0 +encrypttoself +batchmode -aeft %r < %f"
22
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"
25
26 # import a key into the public key ring
27 set pgp_import_command="pgp6 +compatible  -ka %f "
28
29 # export a key from the public key ring
30 set pgp_export_command="pgp6 +compatible  -kxaf  %r"
31
32 # verify a key
33 set pgp_verify_key_command="pgp6 +compatible  -kcc  %r"
34
35 # read in the public key ring
36 set pgp_list_pubring_command="pgpringng -5 %r"
37
38 # read in the secret key ring
39 set pgp_list_secring_command="pgpringng -s -5 %r"
40
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?"
43
44 # fetch keys
45 set pgp_getkeys_command="pkspxycwrap %r"