Skip site navigation (1) Skip section navigation (2)


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: mark(at)mark(dot)mielke(dot)cc, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: TODO: GNU TLS
Date: 2006-12-28 23:10:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
* Andrew Dunstan (andrew(at)dunslane(dot)net) wrote:
> Stephen Frost wrote:
> >I do know that this has been an issue for
> >Debian for quite some time and it seems rather unlikely that Debian's
> >position on it will change.  SPI does have a pro-bono lawyer but I
> >don't know that this question has been posed to him, probably because
> >the general consensus among the Debian Powers that Be is that it is an
> >issue and we try to not bother our pro-bono lawyer too much (being, uh,
> >pro-bono and all).
> >  
> I have a sneaking suspicion that there are some hidden agendas in all this.

I'm certainly not aware of any personally.  I doubt Debian in general
does either since this isn't exactly a fun thing for us to have to deal

> I agree with this comment from Steve Langasek at 
> :

Unfortunately, the glue hasn't been made available under the LGPL.
While I agree with Steve generally (and in fact have been discussing
this whole bit with him on IRC), in this case he's right but the point
is moot- it *could* be done, but it *hasn't* been done.  The options are
to go ask the original author about relicensing it (which I think has
actually been done already) or rewriting it (which apparently hasn't
been done).

> >Sure, code can be rewritten to use gnutls natively.  But I don't
> >understand why anyone would consider this a useful expenditure of
> >developer resources when the necessary OpenSSL compat glue could simply
> >be made available under the LGPL.
> If this is such an issue, why hasn't somebody done that?

Based on what I've seen happen to date it appears that projects would
rather just include GNUTLS support directly than write a wrapper to
support the OpenSSL API using GNUTLS.  Indeed, that's exactly the
approach Martijn took as well.  My guess as to why this would be is that
it's simply not *that* difficult to do and maintain, and in the end
perhaps some prefer the GNUTLS API over the OpenSSL API, or feel that
more things are moving in that direction.  I don't know, I can't speak
for them so I'm really just speculating, but the empirical evidence is
that projects support GNUTLS and there doesn't exist a non-GPL OpenSSL
API for GNUTLS yet.  I understand that at least some GPL projects do use
the GPL OpenSSL API for GNUTLS but it's not common. (fe: I know exim4,
elinks, mutt, samba, curl/libcurl, and others support GNUTLS directly 
while the only project I've heard of using the wrapper is slrn, cupsys 
used the compat layer at one point but then changed to using GNUTLS 
directly).  Maybe people feel that using a compat layer is uglier than
using GNUTLS directly?



In response to

pgsql-hackers by date

Next:From: markDate: 2006-12-28 23:32:13
Subject: Re: TODO: GNU TLS
Previous:From: Andrew DunstanDate: 2006-12-28 23:01:03
Subject: Re: Recent SIGSEGV failures in buildfarm HEAD

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group