2010-09-09 21:47:19 +00:00
|
|
|
Name: tls
|
2012-03-11 13:07:55 +00:00
|
|
|
Version: 1.0.0
|
2010-09-09 21:47:19 +00:00
|
|
|
Description:
|
2011-08-07 08:59:57 +00:00
|
|
|
Native Haskell TLS and SSL protocol implementation for server and client.
|
2010-09-09 21:47:19 +00:00
|
|
|
.
|
2011-08-07 08:59:57 +00:00
|
|
|
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.
|
2010-10-06 08:21:20 +00:00
|
|
|
.
|
2011-08-17 19:50:57 +00:00
|
|
|
Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol,
|
2011-08-07 08:59:57 +00:00
|
|
|
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.
|
2010-09-09 21:47:19 +00:00
|
|
|
License: BSD3
|
|
|
|
License-file: LICENSE
|
|
|
|
Copyright: Vincent Hanquez <vincent@snarc.org>
|
|
|
|
Author: Vincent Hanquez <vincent@snarc.org>
|
|
|
|
Maintainer: Vincent Hanquez <vincent@snarc.org>
|
2010-10-06 08:21:20 +00:00
|
|
|
Synopsis: TLS/SSL protocol native implementation (Server and Client)
|
2010-09-09 21:47:19 +00:00
|
|
|
Build-Type: Simple
|
|
|
|
Category: Network
|
|
|
|
stability: experimental
|
2012-07-12 08:02:27 +00:00
|
|
|
Cabal-Version: >=1.8
|
2010-09-25 22:17:30 +00:00
|
|
|
Homepage: http://github.com/vincenthz/hs-tls
|
2012-04-22 19:18:47 +00:00
|
|
|
extra-source-files: Tests/*.hs
|
2010-09-09 21:47:19 +00:00
|
|
|
|
|
|
|
Flag test
|
|
|
|
Description: Build unit test
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
Flag executable
|
|
|
|
Description: Build the executable
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
Library
|
2011-02-20 17:35:09 +00:00
|
|
|
Build-Depends: base >= 3 && < 5
|
|
|
|
, mtl
|
|
|
|
, cryptohash >= 0.6
|
|
|
|
, cereal >= 0.3
|
|
|
|
, bytestring
|
|
|
|
, crypto-api >= 0.5
|
2012-04-19 20:28:05 +00:00
|
|
|
, cryptocipher >= 0.3.0 && < 0.4.0
|
2012-09-01 14:24:13 +00:00
|
|
|
, certificate >= 1.2.6 && < 1.3.0
|
2011-03-02 08:43:05 +00:00
|
|
|
Exposed-modules: Network.TLS
|
2010-09-22 17:31:42 +00:00
|
|
|
Network.TLS.Cipher
|
2011-03-02 08:43:05 +00:00
|
|
|
Network.TLS.Compression
|
2011-03-19 21:45:43 +00:00
|
|
|
Network.TLS.Internal
|
2011-03-02 08:43:05 +00:00
|
|
|
other-modules: Network.TLS.Cap
|
|
|
|
Network.TLS.Struct
|
2011-03-01 20:01:40 +00:00
|
|
|
Network.TLS.Core
|
2011-12-06 00:15:00 +00:00
|
|
|
Network.TLS.Context
|
2010-09-22 17:31:42 +00:00
|
|
|
Network.TLS.Crypto
|
2012-05-14 05:39:20 +00:00
|
|
|
Network.TLS.Extension
|
2012-07-04 20:15:19 +00:00
|
|
|
Network.TLS.Handshake
|
2012-08-18 21:46:53 +00:00
|
|
|
Network.TLS.Handshake.Common
|
2012-08-18 21:57:58 +00:00
|
|
|
Network.TLS.Handshake.Certificate
|
2012-08-18 22:05:56 +00:00
|
|
|
Network.TLS.Handshake.Client
|
2012-08-18 22:13:13 +00:00
|
|
|
Network.TLS.Handshake.Server
|
2012-08-18 22:05:37 +00:00
|
|
|
Network.TLS.Handshake.Signature
|
2012-04-27 06:21:29 +00:00
|
|
|
Network.TLS.IO
|
2011-11-11 19:05:17 +00:00
|
|
|
Network.TLS.MAC
|
|
|
|
Network.TLS.Measurement
|
2010-09-09 21:47:19 +00:00
|
|
|
Network.TLS.Packet
|
2011-08-12 17:41:49 +00:00
|
|
|
Network.TLS.Record
|
2011-11-30 21:51:22 +00:00
|
|
|
Network.TLS.Record.Types
|
|
|
|
Network.TLS.Record.Engage
|
|
|
|
Network.TLS.Record.Disengage
|
2010-09-09 21:47:19 +00:00
|
|
|
Network.TLS.State
|
2012-07-12 07:59:59 +00:00
|
|
|
Network.TLS.Session
|
2010-09-09 21:47:19 +00:00
|
|
|
Network.TLS.Sending
|
|
|
|
Network.TLS.Receiving
|
2010-09-26 17:52:58 +00:00
|
|
|
Network.TLS.Util
|
2012-07-12 07:56:16 +00:00
|
|
|
Network.TLS.Types
|
2010-09-09 21:47:19 +00:00
|
|
|
Network.TLS.Wire
|
|
|
|
ghc-options: -Wall
|
2012-09-25 07:09:37 +00:00
|
|
|
if impl(ghc == 7.6.1)
|
|
|
|
ghc-options: -O0
|
2010-09-09 21:47:19 +00:00
|
|
|
|
|
|
|
executable Tests
|
|
|
|
Main-is: Tests.hs
|
|
|
|
if flag(test)
|
|
|
|
Buildable: True
|
2011-02-20 17:35:09 +00:00
|
|
|
Build-Depends: base >= 3 && < 5
|
2012-07-12 08:02:27 +00:00
|
|
|
, mtl
|
|
|
|
, cereal >= 0.3
|
2011-02-20 17:35:09 +00:00
|
|
|
, QuickCheck >= 2
|
2011-10-23 16:54:07 +00:00
|
|
|
, test-framework
|
|
|
|
, test-framework-quickcheck2
|
2011-02-20 17:35:09 +00:00
|
|
|
, bytestring
|
2011-11-11 22:53:17 +00:00
|
|
|
, time
|
2012-07-12 08:02:27 +00:00
|
|
|
, cryptocipher >= 0.3.0 && < 0.4.0
|
2011-11-11 22:53:17 +00:00
|
|
|
, cprng-aes
|
2012-07-12 08:02:27 +00:00
|
|
|
, cryptohash >= 0.6
|
|
|
|
, certificate >= 1.2.0 && < 1.3.0
|
|
|
|
, crypto-api >= 0.5
|
2010-09-09 21:47:19 +00:00
|
|
|
else
|
|
|
|
Buildable: False
|
2012-01-18 04:38:01 +00:00
|
|
|
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures -fhpc
|
2010-09-09 21:47:19 +00:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://github.com/vincenthz/hs-tls
|