kgpg does not find key
Anne Wilson
annew at kde.org
Sun Jul 15 11:26:11 BST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 15/07/12 11:17, Klaus Layer wrote:
> On sunday, 15. Juli 2012, 10:06:17 Anne Wilson wrote:
>> I'm not familiar with Kubuntu releases, so bear with me. If
>> Kubuntu supplies KGPG you can check there which keyserver it is
>> using and change it - it may not be keys.gnupg.net. Kleopatra,
>> on the other hand, appears to have a fixed setting - my system
>> says it is using hkp://wwwkeys.eu.pgp.net . I imagine the only
>> way to change that to keys.gnupg.net would be in
>> ~/.gnupg/gpg.conf.
>>
>> In theory the key servers sync frequently, but on several
>> occasions I've found that the key I needed is not on a
>> particular server, and I've used command-line access to try
>> different servers until I found it.
>>
>> HTH
>>
>> Anne
> Thanks, Anne. My gpg.conf has a entry "keyserver
> hkp://keys.gnupg.net". kgpg uses by default the same key server.
>
> I sniffed the traffic with wireshark and found out that the key
> server returns the key, but anyhow kgpg tells me that no key was
> found:
>
> 40 4.120836 1.2.3.4 109.230.243.87 HTTP 111 GET
> /pks/lookup?op=index&options=mr&search=0xB973BA7B&exact=on
> HTTP/1.0
>
> GET /pks/lookup?op=index&options=mr&search=0xB973BA7B&exact=on
> HTTP/1.0 Host: keys.gnupg.net:11371 Cache-Control: no-cache
> Pragma: no-cache
>
> 42 4.158318 109.230.243.87 1.2.3.4 HTTP 338 HTTP/1.1 200 OK
> (text/plain)
>
> HTTP/1.1 200 OK Date: Sun, 15 Jul 2012 09:25:00 GMT Server: apache
> Content-length: 88 X-HKP-Results-Count: 1 Content-type: text/plain
> Vary: Accept-Encoding Connection: close
>
> info:1:1 pub:B973BA7B:17:1024:970038449:: uid:NetBank AG
> <pgp at netbank.de>:970038449::
>
> I tested with several keys. It happens that as soon as the
> response contains a hkp info field that has a count 1 (hkp is i.e.
> described here
> https://tools.ietf.org/html/draft-shaw-openpgp-hkp-00), kpg tells
> me that it has found nothing. With count > 1 everything is fine.
>
>
> I will file a KDE-bug.
>
That's very interesting.
I've known that happen in the past, but never seen any explanation for
it. Please post the bug report number here so that others can follow it.
Anne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlACmrsACgkQj93fyh4cnBc+LwCfUPwmG1sRkc9yVBX8gGjnmast
sG8AnRk+stzZ00Vybre7TVj5vQqG8UFq
=wCzm
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list