
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