1 |
Hi list, |
2 |
|
3 |
I've changed mutts config to enable gpg support within mutt. While it |
4 |
seems to work nicely, there is still a minor problem. |
5 |
I've used the default config from |
6 |
/usr/share/doc/mutt-1.5.23-r2/samples/gpg.rc.bz2 and added a few other |
7 |
options which i found useful like fetching keys automaticaly when |
8 |
opening mails. |
9 |
|
10 |
My problem however is that every time i open a signed mail, gpg can't |
11 |
fetch the key in the first place. I always have to abort via Ctrl+C and |
12 |
reopen the mail again. Usually at least 3 times. After the third try it |
13 |
usually works. |
14 |
Thats quite annoying, even though after gpg could fetch the keys they |
15 |
are stored anyway and don't have to refetched again. |
16 |
|
17 |
Below is my actual mutt-gpg config: |
18 |
|
19 |
> # decode application/pgp |
20 |
> set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" |
21 |
> # verify a pgp/mime signature |
22 |
> set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" |
23 |
> # decrypt a pgp/mime attachment |
24 |
> set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" |
25 |
> # create a pgp/mime signed attachment |
26 |
> set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" |
27 |
> # create a application/pgp signed (old-style) message |
28 |
> set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" |
29 |
> # create a pgp/mime encrypted attachment |
30 |
> set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xBE43B303 -- -r %r -- %f" |
31 |
> # create a pgp/mime encrypted and signed attachment |
32 |
> 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 --encrypt-to 0xBE43B303 -- -r %r -- %f" |
33 |
> # import a key into the public key ring |
34 |
> set pgp_import_command="gpg --no-verbose --import %f" |
35 |
> # export a key from the public key ring |
36 |
> set pgp_export_command="gpg --no-verbose --export --armor %r" |
37 |
> # verify a key |
38 |
> set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" |
39 |
> # read in the public key ring |
40 |
> set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --list-keys %r" |
41 |
> # read in the secret key ring |
42 |
> set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" |
43 |
> |
44 |
> set pgp_autosign=yes |
45 |
> set pgp_sign_as=0xBE43B303 |
46 |
> set pgp_replyencrypt=yes |
47 |
> set pgp_timeout=1800 |
48 |
> |
49 |
> # fetch keys |
50 |
> set pgp_getkeys_command="gpg --keyserver subkeys.pgp.net --keyserver-options honor-http-proxy --recv-key %r >/dev/null 2>&1" |
51 |
> |
52 |
> # pattern for good signature - may need to be adapted to locale! |
53 |
> set pgp_good_sign="^\\[GNUPG:\\] GOODSIG" |
54 |
|
55 |
Any ideas whats wrong here? |
56 |
|
57 |
thx |
58 |
|
59 |
-- |
60 |
greetings |
61 |
Michael Mair-Keimberger |