PGP Verification: import import the public key failed [solved]

xpetrl

Cadet
Joined
May 13, 2019
Messages
6
Hi,

I have trouble importing pgp public key
From documentation section 2.1.1.1. PGP Verification

Code:
gpg --keyserver sks-keyservers.net --recv-keys 0xC8D62DEF767C1DB0DFF4E6EC358EAA9112CF7946
gpg: keyserver receive failed: No keyserver available

any idea?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Check your networking. Do you have a default gateway and DNS servers defined?
 

xpetrl

Cadet
Joined
May 13, 2019
Messages
6
Check your networking. Do you have a default gateway and DNS servers defined?
Yes, could be a problem, I'm on a crappy public Wifi network

Testing on a remote server using the same pgp command I receive:
Code:
gpg: keyserver receive failed: No data
 

xpetrl

Cadet
Joined
May 13, 2019
Messages
6
is there another way to manual import a public key, i.e. fetching it from pgp.mit.edu ?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Looks like that key server no longer holds the FreeNAS key, so this is a documentation erratum.
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
OK, now I get it. Last summer there was a big attack on the GPG keyservers, which rendered them basically useless and a lot of
keyservers went down.
You can still go for the SHA256 checksum, if you want to verify the download.
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
This one still seems to work:
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0xC8D62DEF767C1DB0DFF4E6EC358EAA9112CF7946
 
Top