GPG Key error when importing from keyserver

I was trying to import a gpg key for verify fdroid app but i was not able to import that it is always happening that i get a server error massage

$ gpg --keyserver keyserver.ubuntu.com --recv-key 37D2C98789D8311948394E3E41E7044E1DBA2E89
gpg: keyserver receive failed: Server indicated a failure

This was the way

Now the question is
I tried on kvm base ubuntu running on top of my fedora i got same error but now strange part is i tried on live usb with parrot os and it worked key imported now what is the issue why i can’t import in my fedora system. Or is it is dns error.

1 Like

Is there a reason to specify that particular keyserver?

I did a quick search on a different server: keys.openpgp.org, with success. (direct link to key file)

So try:

gpg --keyserver keys.openpgp.org --recv-key 37D2C98789D8311948394E3E41E7044E1DBA2E89

or simply

gpg --recv-key 37D2C98789D8311948394E3E41E7044E1DBA2E89
1 Like

Yes it is mentioned in the guide that is been provided by the fdroid team. That has been mentioned above.

You can use the server that I mentioned and file a bug against the Ubuntu key server.

gpg --keyserver keys.openpgp.org --recv-key 37D2C98789D8311948394E3E41E7044E1DBA2E89
gpg: keyserver receive failed: Server indicated a failure

Edit: tried on elementary os 6.0 same error
Edit: tried with termux android and it was successfully imported the key with the mentioned commend and i was always in a same network.

Can you resolve the hostname? I have successfully imported the key from ubuntu keyserver. What is the output of:

nslookup keyserver.ubuntu.com
$ nslookup keyserver.ubuntu.com
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	keyserver.ubuntu.com
Address: 162.213.33.9
Name:	keyserver.ubuntu.com
Address: 162.213.33.8