SOLVED: --search-keys: "gpg: error searching keyserver: No inquire callback in IPC"
Rainer Fiebig
jrf at mailbox.org
Sun Aug 1 16:27:21 CEST 2021
Am 28.07.21 um 15:45 schrieb Bernhard Reiter:
> Hi Rainer,
>
> Am Mittwoch 28 Juli 2021 11:22:18 schrieb Rainer Fiebig via Gnupg-users:
>> Hi! I'm having a problem when searching for keys on keyservers when
>> using "gpg --search-keys".
>>
>> The only line in dirmngr.conf (except for comments) is:
>> keyserver hkps://keys.openpgp.org
OK, I could figure it out, finally:
Beyond Linux From Scratch (BLFS) do not use ntbTLS for TLS, they use gnuTLS.
But in connection with an update of gnupg I had installed ntbTLS in my
former system because it was listed on
https://gnupg.org/download/index.html.
So I had it in my build list for my latest BLFS as well. Obviously,
gnupg prefers ntbTLS over gnuTLS. And so gnupg was built with ntbTLS
instead of gnuTLS. From the build log:
[...]
GnuPG v2.2.29 has been configured as follows:
[...]
TLS support: ntbTLS
[...]
ntbTLS was built after p11-kit but it doesn't seem to cooperate with
p11-kit in the same way that gnuTLS does and so expects the certificates
in those places that Werner has mentioned but which differ from the
setup in BLFS.
By configuring gnupg with
--disable-ntbTLS
it uses gnuTLS for TLS support.
And now gpg --search-keys works as expected in my BLFS.
My bad! Thanks to everybody involved! Sorry for having wasted your time!
More information about the Gnupg-users
mailing list