tls: TLS/SSL protocol native implementation (Server and Client)

[ bsd3, library, network ] [ Propose Tags ]

Native Haskell TLS and SSL protocol implementation for server and client.

This provides a high-level implementation of a sensitive security protocol, eliminating a common set of security issues through the use of the advanced type system, high level constructions and common Haskell features.

Currently implement the SSL3.0, TLS1.0 and TLS1.1 protocol, with only RSA supported for Key Exchange.

Only core protocol available here, have a look at the http://hackage.haskell.org/package/tls-extra/ package for default ciphers, compressions and certificates functions.


[Skip to Readme]
Versions [faq] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.3.1, 0.8.3.2, 0.8.4, 0.8.5, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.14, 1.2.15, 1.2.16, 1.2.17, 1.2.18, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11, 1.4.0, 1.4.1, 1.5.0, 1.5.1
Dependencies base (>=3 && <5), bytestring, cereal (>=0.3), certificate (>=0.9 && <0.9.2), crypto-api (>=0.5), cryptocipher (>=0.2.5 && <0.3), cryptohash (>=0.6), HUnit, mtl, QuickCheck (>=2) [details]
License BSD-3-Clause
Copyright Vincent Hanquez <vincent@snarc.org>
Author Vincent Hanquez <vincent@snarc.org>
Maintainer Vincent Hanquez <vincent@snarc.org>
Revised Revision 2 made by HerbertValerioRiedel at Wed Jan 23 09:19:13 UTC 2019
Category Network
Home page http://github.com/vincenthz/hs-tls
Source repo head: git clone git://github.com/vincenthz/hs-tls
Uploaded by VincentHanquez at Sun Aug 7 08:57:58 UTC 2011
Distributions Arch:1.4.1, Debian:1.4.1, Fedora:1.4.1, FreeBSD:1.3.1, LTSHaskell:1.4.1, NixOS:1.5.1, Stackage:1.4.1, openSUSE:1.5.1
Executables Tests
Downloads 207022 total (2118 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

  • Network
    • Network.TLS
      • Network.TLS.Cipher
      • Network.TLS.Compression
      • Network.TLS.Internal

Flags

NameDescriptionDefaultType
test

Build unit test

DisabledAutomatic
executable

Build the executable

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for tls-0.7.2

[back to package description]
The hs-tls project aims to reimplement the full TLS protocol (formely known as SSL) in haskell.
The focus of the projects is to provide a safer implementation than the ones existing,
through more purity, more type-checking, and more units tests.

While the focus is to make it safer than other implementations, this current
implementation is *not* to be considered secure, since it doesn't fully
implement everything necessary (full certificate checking, protocol requirements, etc)