Where do I get the Keyserver protocol plugin?

David Shaw dshaw@jabberwocky.com
Thu Oct 10 08:54:21 2002


On Mon, Oct 07, 2002 at 02:12:50PM +0200, Miguel Coca wrote:
> On Mon, Oct 07, 2002 at 07:20:05 -0400, David Shaw wrote:
> > Hmm.  I thought I put in error codes for every failure.  A network
> > failure should be KEYSERVER_INTERNAL_ERROR (perhaps not the best error
> > to use, but it should at least be there).
> 
> Yes, it would be good to have more detailed errors, but that would fine if
> it worked all the times :-)
> 
> > Can you give me an example? I may have missed some.
> 
> Sure, check this:
> 
> VERSION 0
> HOST none.none
> OPTION include-disabled
> OPTION include-subkeys
> COMMAND GET 0x27FC3CA8
> 
> The output is:
> 
> VERSION 0
> PROGRAM 1.3
> 
> gpgkeys: internal LDAP bind error: Can't contact LDAP server
> 
> No KEY FAILED, as you can see. The same happens if the server refuses the
> connection, or the connection times out.

Ah, you're right.  I've fixed it to show an error, and added a new
error KEYSERVER_UNREACHABLE for errors like that.

David

-- 
   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson