]>
Commit | Line | Data |
---|---|---|
dc0a4152 MF |
1 | set crypt_autosign = yes |
2 | set crypt_verify_sig = yes | |
3 | set pgp_auto_decode = yes | |
4 | set pgp_autosign = yes | |
5 | set pgp_sign_as = B902B5271325F892AC251AD441633B9FE837F581 | |
6 | set pgp_use_gpg_agent = yes | |
7 | ||
8 | # Note that we explicitly set the comment armor header since GnuPG, when used | |
9 | # in some localiaztion environments, generates 8bit data in that header, thereby | |
10 | # breaking PGP/MIME. | |
11 | ||
12 | # decode application/pgp | |
13 | set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" | |
14 | ||
15 | # verify a pgp/mime signature | |
16 | set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" | |
17 | ||
18 | # decrypt a pgp/mime attachment | |
19 | set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" | |
20 | ||
21 | # create a pgp/mime signed attachment | |
22 | set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" | |
23 | ||
24 | # create a application/pgp signed (old-style) message | |
25 | set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" | |
26 | ||
27 | # create a pgp/mime encrypted attachment | |
28 | #set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" | |
29 | ||
30 | # create a pgp/mime encrypted and signed attachment | |
31 | set pgp_encrypt_sign_command="pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" | |
32 | ||
33 | # import a key into the public key ring | |
34 | set pgp_import_command="gpg --no-verbose --import %f" | |
35 | ||
36 | # export a key from the public key ring | |
37 | set pgp_export_command="gpg --no-verbose --export --armor %r" | |
38 | ||
39 | # verify a key | |
40 | set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" | |
41 | ||
42 | # read in the public key ring | |
43 | set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --list-keys %r" | |
44 | ||
45 | # read in the secret key ring | |
46 | set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" | |
47 | ||
48 | # fetch keys | |
49 | set pgp_getkeys_command="gpg --recv-key %r" | |
50 | ||
51 | # pattern for good signature - may need to be adapted to locale! | |
52 | #set pgp_good_sign="^gpgv?: Good signature from " | |
53 | ||
54 | # This version uses --status-fd messages | |
55 | set pgp_good_sign="^\\[GNUPG:\\] GOODSIG" |