Testing the new http code in 1.4.1
Simon Josefsson
jas at extundo.com
Fri Mar 18 17:20:08 CET 2005
David Shaw <dshaw at jabberwocky.com> writes:
> On Fri, Mar 18, 2005 at 03:55:25PM +0100, Simon Josefsson wrote:
>> David Shaw <dshaw at jabberwocky.com> writes:
>>
>> > 1) Build with the configure option --with-libcurl. If you have
>> > libcurl installed, you should end up with a new program
>> > 'gpgkeys_curl', that supports HTTP, HTTPS, FTP, and FTPS. If you
>> > don't have libcurl installed, nothing should happen.
>>
>> CURL might be a good way to get DNS keyserver support into GPG.
>> Simply add DNS functionality to CURL, according to my DNS URI spec:
>>
>> http://josefsson.org/dns-url/
>>
>> And then it would work automatically. Or? Are the protocols that is
>> supported via CURL in GPG hard coded? I note that CURL support many
>> other protocols too. I would assume the situation is similar with
>> them. What I'm asking is: is it possible to retrieve OpenPGP keys
>> from, say, LDAP servers through the CURL support in GPG now?
>
> That's a very good idea. The CURL support in GPG is fairly generic,
> so it should indeed work. We would just need to add "dns" to the list
> of protocols that GPG passes to gpgkeys_curl. CURL would take care of
> the rest.
Yup. I'm not familiar with CURL, but I'll see if it is possible to
come up with a suitable patch that add DNS support.
> LDAP-via-CURL would work as well for getting keys, but LDAP is
> somewhat special where OpenPGP is concerned. CURL supports fetching a
> LDAP URI (a la RFC 2255), but gpgkeys_ldap does a few more things like
> sending keys to the keyserver, searching for keys, etc.
Seems like there is room for another layer that handle those things.
Ideally, the DNS support should support sending keys too, although I'm
not sure that will ever be the widespread use of it.
Thanks,
Simon
More information about the Gnupg-devel
mailing list