gpg: error searching keyserver: Network is unreachable

Klaus Ethgen klaus+gnupg at ethgen.ch
Sun Mar 7 11:40:46 CET 2021


Hi Christian,

Am Sa den  6. Mär 2021 um  8:44 schrieb Christian Ribeaud:
> Desperately searching for hours now???
> I am NOT able to run following command:
> 
> gpg --keyserver hkp://keyserver.dcc.sib.swiss:80 --keyserver-options no-self-sigs-only,no-import-clean --search-keys <any-key>
> 
> Always getting following output:
> 
> gpg: error searching keyserver: No keyserver available
> gpg: keyserver search failed: No keyserver available

Remember, dirmng is using tor by default if it is installed and running!

You have to put no-use-tor to your .gnupg/dirmngr.conf to prevent this.

This did cost me hours to find out, when the feature was implemented.

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus at Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 688 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210307/1b8ac005/attachment.sig>


More information about the Gnupg-users mailing list