gpgme_op_receive_keys does not return an error if keyserver lookup is disabled. It seems that the FAILURE status message is ignored.
How to reproduce:
- Set keyserver to none in dirmngr.conf
- Run gpgme/tests/run-receive-keys 94A5C9A03C2FE5CA3B095D8E1FDF723CF462B6B1
Expected result: The command exists with an error message.
Actual result: The command prints an (empty) import result.
Similarly, gpgme/lang/qt/tests/run-receivekeysjob 94A5C9A03C2FE5CA3B095D8E1FDF723CF462B6B1 shows
Result: Success Details: GpgME::ImportResult( [...]