#22 new

Give more detailed information about why search for key failed

Reported by Corellian | January 26th, 2011 @ 12:42 PM

In 0.8.2b GPG Keychain Access, when you search for a key and it fails, doesn't give any information about why it failed, it only says "Error !". I think it should be more verbose, like "Server is not responding" or "This server doesn't exist", or whatever it happened.

Also see

Comments and changes to this ticket

  • Bussonnier Matthias

    Bussonnier Matthias May 8th, 2011 @ 11:16 AM

    if i'm not mistaken, the error message is selected based on the return value of the helper which on most case i think called gpg2keys_hkp. But the return value is almost alway 1 which is "INTERNAL_ERROR".
    Cf MacGPG2/source/gnupg2/common/keyserver.h
    I've try by denying acces with my firewall and it returned 1, even if "KEYSERVER_UNREACHABLE=9" is defined. So i'm not sure how to make a message which change depending on the reason why it doesn't worked ...

  • steve

    steve October 21st, 2011 @ 06:56 PM

    • Title changed from “When search for key fails doesn't give any information about why it failed” to “Give more detailed information about why search for key failed”
  • steve

    steve October 1st, 2014 @ 06:54 PM

    • State changed from “open” to “new”
    • Assigned user cleared.
    • Milestone cleared.
  • steve

    steve December 5th, 2014 @ 01:53 PM

    Currently it says

    gpg: keyserver internal error
    gpg: keyserver search failed: Keyserver error

    Ideally we should show "Key server did not respond." or "Bad key server address." then GPG Keychain should try another key server from the list.

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