[Haskell-cafe] Re: ANNOUNCE: tls, native TLS/SSL protocol implementation

Maciej Piechotka uzytkownik2 at gmail.com
Fri Oct 8 07:59:56 EDT 2010


On Wed, 2010-10-06 at 22:26 +0100, Vincent Hanquez wrote:
> Hi haskellers,
> 
> I'ld like to announce the tls package [1][2], which is a native implementation
> of the TLS protocol, client and server.  It's currently mostly supporting SSL3,
> TLS1.0 and TLS1.1.  It's got *lots* of rough edges, and a bunch of unsupported
> features, but it's humming along, and at each iteration it's becoming more
> tighly secure and featureful.
> 
> I would recommend against using this implementation in a production system just
> yet, or in an aggressive environment either (specially for the server side);
> I don't think it should necessary fail, but it's still an early implementation
> with probable API changes on the way.
> 
> [1] http://github.com/vincenthz/hs-tls
> [2] http://hackage.haskell.org/package/tls

1. Could also callback in addition to handles be added? 
Like:

connect' :: (ByteString -> IO ()) -> IO ByteString -> TLSClient IO ()

Why:
 - It allows to wrap it into Enumerators

2. Does listen corresponds to listen(2)? If yes how to handle STARTTLS
server-side? If no - please rename it.

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20101008/49728680/attachment.bin


More information about the Haskell-Cafe mailing list