Keyserver Failure

I installed gpg4win version 5.0.2. Also tried an earlier version 4.4.1 after uninstalling 5.0.2

C:\\Program Files (x86)\\GnuPG\\bin>gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
gpg: error retrieving ‘torbrowser@torproject.org’ via WKD: Server indicated a failure
gpg: error reading key: Server indicated a failure

I set the keyserver to keys.openpgp.org in dirmngr.conf

I also tried other key servers. Same failure.

If I go to https://keys.openpgp.org and search ‘torbrowser@torproject.org’ - that works. It only fails on the commandline, and subsequently kleopatra ofc.

Is there a magic port number or something I am missing? Is there a Windows service gpg relies on?

I did notice the 3 GnuPG daemons are 32 bit. Same for the net access daemon. But that shouldn’t matter, right?

Windows 10

Hi @YouYouSeeP and welcome to the forum!

If you use the option --auto-key-locate nodefault,wkd you explicitly tell GnuPG not to contact any keyserver but only use WKD to fetch a key. If you want to include keyservers you have to add it to the parameters like this --auto-key-locate nodefault,wkd,keyserver.

Hi @cklassen and thank you.

Adding ‘keyserver’ to MECHANISMS still produces the same errors, +1

>gpg --auto-key-locate nodefault,wkd,keyserver --locate-keys torbrowser@torproject.org
gpg: error retrieving ‘torbrowser@torproject.org’ via WKD: Server indicated a failure
gpg: error retrieving ‘torbrowser@torproject.org’ via keyserver: Server indicated a failure
gpg: error reading key: Server indicated a failure

Here’s my keyserver entry in dirmngr.conf..

keyserver hkps://keys.openpgp.org