kgpg does not find key

Klaus Layer klaus.layer at
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  Kleopatra, on the other
> hand, appears to have a fixed setting - my system says it is using
> hkp:// .  I imagine the only way to change that to
> 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.
> Anne
Thanks, Anne. My gpg.conf has a entry "keyserver hkp://". 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	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
Cache-Control: no-cache
Pragma: no-cache

42	4.158318	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

uid:NetBank AG <pgp at>: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, kpg tells me that it 
has found nothing. With count > 1 everything is fine.

I will file a KDE-bug.

Best regards,

-------------- 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: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list