How to reproduce:
- Select Lookup on Server
- Enter test
- Click Search
Observation:
A single key is listed as result of the lookup.
Analysis:
- Kleopatra's certificate tree view removes duplicate keys based on their fingerprint.
- KeyListJob returns keys which have fingerprint NULL.
-> Both together result in a list with a single key.
KeyListJob does something like
gpg --with-colons --search-keys -- test
Running this on the command line I get a list of keys with long key ids but without fingerprints. I'm using the default keyserver, i.e. I haven't specified any keyservers in any configuration files. Did keyservers in the past return fingerprints? Or do they still do so, but gpg somehow "forgets" the fingerprints when parsing the keyserver replies?
In the end it means that OpenPGP certificate lookup in Kleopatra is completely useless unless there is exactly one matching key.