[Bug 1044156] Re: gpg key retrieval gives bogus, confusing error message

Paul Abrahams abrahams at acm.org
Wed Sep 5 15:39:25 UTC 2012


I installed gnupg-curl, tried the command again with the options you
suggested, and got this:

pwa at pwa-K60IJ:~/Documents$ sudo gpg --keyserver hkp://subkeys.pgp.net --keyserver-options verbose,debug --recv-keys A8AA1FAA3F055C03
gpg: requesting key 3F055C03 from hkp server subkeys.pgp.net
gpgkeys: curl version = libcurl/7.22.0 GnuTLS/2.12.14 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
* getaddrinfo(3) failed for subkeys.pgp.net:11371
* Couldn't resolve host 'subkeys.pgp.net'
* Closing connection #0
gpgkeys: HTTP fetch error 6: Couldn't resolve host 'subkeys.pgp.net'
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

But port 11371 is open:

pwa at pwa-K60IJ:~/Documents$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
11371                      ALLOW       Anywhere
11371                      ALLOW       Anywhere (v6)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/1044156

Title:
  gpg key retrieval gives bogus, confusing error message

Status in “gnupg” package in Ubuntu:
  New

Bug description:
  I attempted to install a key using gpg as follows:

  pwa at pwa-K60IJ:~/Documents$ gpg --keyserver hkp://subkeys.pgp.net --recv-keys A8AA1FAA3F055C03
  gpg: requesting key 3F055C03 from hkp server subkeys.pgp.net
  ?: subkeys.pgp.net: Host not found
  gpgkeys: HTTP fetch error 7: couldn't connect: Success
  gpg: no valid OpenPGP data found.
  gpg: Total number processed: 0

  I don't know why I got this error (I'm not behind a proxy server), but
  that's not the point of my filing this bug report.  Whatever the
  problem is, it's not a case of "host not found".   The host is there
  and I can link to it.  The error message is clearly bogus, and very
  misleading.  It needs to reflect what the problem really is.

  I'm running Kubuntu 12.04. and gpg 1.4.11.  The command cited above
  seems to work for most people, but it doesn't work for me.

  PS - I attempted to file this report under package gpg, but got a
  message that gpg does not exist in ubuntu.  Yet gpg shows up under the
  package name search in the bug reporter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/1044156/+subscriptions




More information about the foundations-bugs mailing list