← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 841075] Re: Explain how to trouble-shoot gpg --sendkeys (no default keyserver)

 

Same here, in a clean chroot:

$ gpg --recv-keys
gpg: directory `/home/daniel/.gnupg' created
gpg: new configuration file `/home/daniel/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/daniel/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/daniel/.gnupg/secring.gpg' created
gpg: keyring `/home/daniel/.gnupg/pubring.gpg' created
$ gpg --recv-keys
$ gpg --recv-keys 059DD5EB
gpg: requesting key 059DD5EB from hkp server keys.gnupg.net
gpg: /home/daniel/.gnupg/trustdb.gpg: trustdb created
gpg: key 059DD5EB: public key "Daniel Holbach <daniel.holbach@xxxxxxxxx>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
$ gpg --send-keys 059DD5EB
gpg: sending key 059DD5EB to hkp server keys.gnupg.net
$

If anyone can still reproduce this, please reopen the bug. :)

** Changed in: ubuntu-packaging-guide
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/841075

Title:
  Explain how to trouble-shoot gpg --sendkeys (no default keyserver)

Status in Ubuntu Packaging Guide:
  Invalid

Bug description:
  On this page: http://developer.ubuntu.com/packaging/html/getting-set-
  up.html - part of the setup instructions are incorrect or outdated.

  The section on setting up your GPG key includes details on how to send your public key to the keyserver, using the command:
  gpg --send-keys <KEY ID>

  This does not work, and causes the following error:
  gpg: no keyserver known (use option --keyserver)
  gpg: keyserver send failed: bad URI

  After speaking with sagaci on #ubuntu @ freenode IRC, I was given the
  correct instruction, which works perfectly. It is:

  gpg --send-keys --keyserver keyserver.ubuntu.com <KEY ID HERE>

  
  Could you please update the Packaging setup guide to reflect this information, so that others following it may not fall into the same pit I did :)

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/841075/+subscriptions