kgpg does not find key

Klaus Layer klaus.layer at gmx.de
Sun Jul 15 11:17:08 BST 2012


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.

Best regards,

Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20120715/c8ac5f68/attachment.sig>
-------------- next part --------------
___________________________________________________
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