I started using gnupg. An error occurs when trying to import a key from any server:
@ubuntu:~/Desktop$ gpg --keyserver keys.gnupg.net --recv-key 908F435E gpg: keyserver receive failed: No name
The main keyserver that GnuPG has been using for a very long time, is no more. So you need to change your ~/.gnupg/gpg.conf file to have:
You can try changing the gpg.conf of your pacman-key keyring in /etc/pacman.d/gnupg/ to use the hkps:// keyserver instead of the hkp:// keyserver, since hkps runs over the common 443 port also used for HTTPS. Alternatively, install the archlinux-keyring package from testing as it contains my new signing key also.
I solved it by switching from keyserver.ubuntu.com to keys.gnupg.net in the apt-key command. Thanks for contributing an answer to Ask Ubuntu!
I stumbled upon this today, and found the fix at Maven Central Repository Documentation. The SKS Keyserver Network is being deprecated and probably gone by now. Just use an other GPG key server like:
So for example
gpg --keyserver keyserver.ubuntu.com --recv-key 908F435E
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With