Can anybody give me a clue about the following error:
$ gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg: keyserver receive failed: General error
Thanks in advance.
Can anybody give me a clue about the following error:
$ gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg: keyserver receive failed: General error
Thanks in advance.
gpg -vv --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
I just tested that.
% gpg --recv-key 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg: key B88B2FD43DBDC284: "openSUSE Project Signing Key <opensuse@opensuse.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
So I guess it worked, but with no changes to the imported key (no changes since I last imported).
Whether it works at all may depend on your configured keyserver. It looks as if I am using “hkp://pgpkeys.mit.edu”.
I have the same issue but on Leap 15.2 (fresh install 1 week ago).
Does anybody have a suggestion what is going wrong?
gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg: keyserver receive failed: General error
I did not change anything in the gnupg configuration.
Try it as User.
Can you please specify what do you mean?
I am already running this command under my own user (not root).
As root I get the above error, as User I get:
linux64:/home/stephan # LANG=C gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg: keyserver receive failed: General error
linux64:/home/stephan # exit
stephan@linux64:~> LANG=C gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg: key B88B2FD43DBDC284: "openSUSE Project Signing Key <opensuse@opensuse.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
stephan@linux64:~>
I think there’s actually a pool of keyservers. So if it fail on the first try, it might work on the second try due to connecting to a different keyserver.
Unfortunately, I was trying it almost constantly in the last 3 hours, and never worked.
Can it be some configuration issue? (I already tried deleting the .gnupg folder, didn’t fix it.)
ArchWiki saved the day
If receiving fails with the message gpg: keyserver receive failed: General error, and you use the default hkps keyserver pool, make sure set the HKPS pool verification certificate with hkp-cacert /usr/share/gnupg/sks-keyservers.netCA.pem in your dirmngr.conf and kill the old dirmngr process.
From: https://wiki.archlinux.org/index.php/GnuPG
Issue solved.
There is only one question left: why does this work for others out of the box? Do you maybe already have this line in your dirmngr.conf?