Hi,

when trying to encrypt a message in mutt, pressing "p" brings on the common pgp
dialog:

PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (c)lear?

Pressing "e" sets the "encrypt" flag. Then, when sending the mail, I'm asked to
enter a key id. Now, when I hit "ENTER", the listing of my public key ring
looks like this:

   1 ?  2048/0x00411886 RSA  es
   2 ?  1024/0x052E7D95 DSA  es
   3 ?  1024/0x1844AB0A DSA  es
   4 ?  2048/0x23543A63 RSA  es
   5 ?  1024/0x26C7CA3B DSA  es
   6 +  2048/0x3231BAC7 RSA  es
   7 ?  2048/0x4DFB75F4 RSA  es
   8 ?  4096/0x6092693E RSA  es
   9 +  4096/0x60F4A92C RSA  es
  10 +  4096/0x6E10FBDA RSA  es
  11 ?  1024/0x7F780279 DSA  es
  12 ?  4096/0x9893C549 RSA  es
  13 ?  4096/0xA28E2773 RSA  es
  14 +  4096/0xA3649EC3 RSA  es
  15 ?  2048/0xCB5D9718 DSA  es
  16 ?  4096/0xD93E98FC RSA  es
  17 ?  1024/0xF0D6B1E0 DSA  es
  18 +  4096/0xA3649EC3 RSA  es Name Name <name@test.invalid>
[.... about 20 other keys with names and email adresses]

Some of the keys are missing, although gpg --list-keys clearly shows that they
are there. The above shown keys also seems to be duplicates of the keys listed
with names and email addresses.

The sourced gpg.rc looks like this:

set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch 
--output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - 
%f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 
0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose 
--output - --encrypt --textmode --armor --always-trust --encrypt-to 0xXXXXXXX 
-- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet 
--no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor 
--always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs 
%r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons 
--list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons 
--list-secret-keys %r" 
set pgp_timeout=1800
set pgp_good_sign="^gpg: Good signature from"

Does anybody know whats going on here? Why are some keys not listed, though
they exist?

Thanks,
Heinz.

Reply via email to