#435 ✓invalid
Quinn Mahoney

Unable to use a private keyserver

Reported by Quinn Mahoney | November 30th, 2017 @ 09:46 PM | in 1.4.1 (closed)

I'm unable to use our internal keyserver, which is SKS version 1.1.6. When I add the server in preferences, I get a "Bad key server" error.

It appears that 'testKeyserver' checks a key server by searching for a key that matches "0x00000000". On a public keyserver, this returns some results. e.g. pgp.mit.edu:

$ gpg --keyserver hkps://pgp.mit.edu --search-keys 0x00000000
gpg: data source: https://pgp.mit.edu:443
(1) Thorsten Rapp <Thorsten@giblicht.de>
      4096 bit RSA key 9B08F1E400000000, created: 2012-03-15
(2) Julian Blake Kongslie <jblake@omgwallhack.org>
    Julian Blake Kongslie (Born 1985-Mar-03 in Portland, OR, USA)
      4096 bit RSA key FA0D2D9200000000, created: 2009-06-13 (revoked)
(3) Jonas Plum <jonas.plum@siemens.com>
      4096 bit RSA key C8F5310000000000, created: 2016-04-20
(4) Nicolas Le Gland <nicolas@legland.fr>
      4096 bit RSA key 64364D6600000000, created: 2014-07-21, expires: 2014-12-31 (revoked) (expired)
(5) Łukasz Jurczyk <admin@zabszk.net>
    Łukasz Jurczyk <zabszk@protonmail.ch>
      4096 bit RSA key 95B48A1500000000, created: 2016-06-08

However, this returns an error with our internal server, which has no matching keys:

$ gpg --keyserver hkp://pgp.internal.company.com --search-keys 0x00000000
gpg: error searching keyserver: No data
gpg: keyserver search failed: No data

I found this commit that added the "0x00000000" test, but I haven't tried to fix it myself:

Comments and changes to this ticket

  • steve

    steve November 30th, 2017 @ 10:03 PM

    • State changed from “new” to “invalid”
    • Importance changed from “” to “Low”

    Hey Quinn,

    could you please re-post your question on our support platform. You can simply file a report from System Preferences > GPG Suite / GPGPreferences. Attaching the debug log will be helpful. We'll then take a closer look at your problem. Make sure to fill out all the questions we ask to guarantee a fast processing. Once the issue at hand is isolated, we’ll create a ticket here, which is our actual bug tracker.

    This should be fixed in the nightly build.

    Could you please download and install our latest GPG Suite nightly build and see if the problem persists. That page also has sig and SHA256 to verify the download.

    All the best,

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

  • steve

    steve November 30th, 2017 @ 10:03 PM

    • Milestone set to 1.4.1
  • Quinn Mahoney

    Quinn Mahoney November 30th, 2017 @ 10:29 PM

    Got it. Sorry for posting in the wrong place!

    You're right- it's fixed in the nightly build.

  • steve

    steve November 30th, 2017 @ 11:17 PM

    Glad this indeed works as expected in the nightly. Thanks for the feedback. No worries, just post future questions via support.

    Kind regards,

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket