I have a context where
gpgme_set_keylist_mode(ctx, GPGME_KEYLIST_MODE_LOCATE);
gpgme_set_ctx_flag(ctx, "auto-key-locate", "nodefault,hkp://fr.pgpkeys.eu:11371");
and I'm using gpgme_op_keylist_start, and gpgme_op_keylist_next to retrieve the keys of a test address that have multiple keys uploaded on that server.
As a result, I'd expect the keys to be imported in the keyring and listed one after another in the loop.
Instead, the keys get imported into the keyring, but gpgme_op_keylist_next returns GPG_ERR_EOF and does not list any key.
To easily replcate the issue I modified tests/run-keylist.c as attached
Once built, it will reprodue the issue with
$ ./tests/run-keylist --from-uri hkp://fr.pgpkeys.eu:11371 test@email.addressthat will succeed with no error or output
(I can share privately the testing address I'm using, if you cannot reproduce the issue)