[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: keyserver URIs
From:       David Shaw <dshaw () jabberwocky ! com>
Date:       2002-11-22 14:06:51
[Download RAW message or body]

On Thu, Nov 21, 2002 at 03:33:55PM +0100, alex@syjon.fantastyka.net wrote:
> On Wed, Nov 20, 2002 at 12:41:48PM -0500, David Shaw wrote:
> > On Wed, Nov 20, 2002 at 06:05:47PM +0100, Janusz A. Urbanowicz wrote:
> > > Is there a good (legal, working) way to specify key ID in keyserver URI,
> > > along the lines of ldap://keyserver.pgp.com/46399138 ? Or similar?
> > 
> > It depends - what are you trying to do?
> 
> I try to specify the key in the most generic way possible. Okay,
> I'll confess: I'm working on a simple XML markup for signature
> policies, and I think the most important element of this is to
> specify a key in a way that user will be able to obtain it - by hand
> or autmoatically.

Ah.  There is a standard form for LDAP URLs (rfc2255), but given the
way the LDAP keyserver is designed it may be hard to construct a URL
for it.  The LDAP keyserver always needs two queries per key - first,
to ask the server what the dn is, and then again to get the key.

The dn is always "OU=ACTIVE,O=PGP KEYSPACE,C=US", but might not be in
the future.

For the HKP keyservers, there is no standard URL format (since there
is no standard "hkp" URI scheme).  You could always write it as a HTTP
url though:

  http://keyserver.kjsl.com:11371/pks/lookup?op=get&search=0xDEADBEEF

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

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic