cabal-install: Replacing HTTP with HTTPS

Johan Tibell johan.tibell at gmail.com
Wed Apr 2 10:59:47 UTC 2014


On Wed, Apr 2, 2014 at 12:22 PM, Herbert Valerio Riedel <hvr at gnu.org> wrote:

> On 2014-04-01 at 22:43:47 +0200, Nikita Karetnikov wrote:
> > Turns out cabal-install itself uses HTTP.  (Try to grep for "hackage" in
> > the source tree.)  Is it due to the HTTP library, which doesn't support
> > HTTPS (4000.2.12 returns "user error (https not supported)")?
> >
> > Is there any interest in changing the current state of things?  And if
> > so, what is the best way to do it?  Would you like to switch to a
> > different library?
>
> The main problem is, that cabal-install tries to rely only on
> HP packages; so for now HTTP is the only HTTP-library included
> in the HP, maybe a good place to start would be
>
>   https://github.com/haskell/HTTP/issues/17


The big question we have to answer first is, how do we want to support SSL?
Do we want to use an existing, well-tested, well scrutinized SSL
implementation and FFI bind to it? If so, which one and why? If not, are we
comfortable enough with writing a correct SSL implementation? That's very
hard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20140402/8ef15b57/attachment.html>


More information about the cabal-devel mailing list