forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tls.cabal
170 lines (163 loc) · 6.05 KB
/
tls.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
Name: tls
Version: 1.4.1
Description:
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, TLS1.1 and TLS1.2 protocol,
and support RSA and Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges,
and many extensions.
.
Some debug tools linked with tls, are available through the
<http://hackage.haskell.org/package/tls-debug/>.
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: Vincent Hanquez <vincent@snarc.org>
Synopsis: TLS/SSL protocol native implementation (Server and Client)
Build-Type: Simple
Category: Network
stability: experimental
Cabal-Version: >=1.8
Homepage: http://github.com/vincenthz/hs-tls
extra-source-files: Tests/*.hs
CHANGELOG.md
Flag compat
Description: Accept SSLv2 client hello for beginning SSLv3 / TLS handshake
Default: True
Flag network
Description: Use the base network library
Default: True
Flag hans
Description: Use the Haskell Network Stack (HaNS)
Default: False
Library
Build-Depends: base >= 4.7 && < 5
, mtl >= 2
, transformers
, cereal >= 0.4
, bytestring
, data-default-class
-- crypto related
, memory >= 0.14.6
, cryptonite >= 0.24
-- certificate related
, asn1-types >= 0.2.0
, asn1-encoding
, x509 >= 1.7.1
, x509-store >= 1.6
, x509-validation >= 1.6.5
, async >= 2.0
if flag(network)
Build-Depends: network >= 2.4.0.0
cpp-options: -DINCLUDE_NETWORK
if flag(hans)
Build-Depends: hans
cpp-options: -DINCLUDE_HANS
Exposed-modules: Network.TLS
Network.TLS.Cipher
Network.TLS.Compression
Network.TLS.Internal
Network.TLS.Extra
Network.TLS.Extra.Cipher
Network.TLS.Extra.FFDHE
other-modules: Network.TLS.Cap
Network.TLS.Struct
Network.TLS.Core
Network.TLS.Context
Network.TLS.Context.Internal
Network.TLS.Credentials
Network.TLS.Backend
Network.TLS.Crypto
Network.TLS.Crypto.DH
Network.TLS.Crypto.IES
Network.TLS.Crypto.Types
Network.TLS.ErrT
Network.TLS.Extension
Network.TLS.Handshake
Network.TLS.Handshake.Common
Network.TLS.Handshake.Certificate
Network.TLS.Handshake.Key
Network.TLS.Handshake.Client
Network.TLS.Handshake.Server
Network.TLS.Handshake.Process
Network.TLS.Handshake.Signature
Network.TLS.Handshake.State
Network.TLS.Hooks
Network.TLS.IO
Network.TLS.Imports
Network.TLS.MAC
Network.TLS.Measurement
Network.TLS.Packet
Network.TLS.Parameters
Network.TLS.Record
Network.TLS.Record.Types
Network.TLS.Record.Engage
Network.TLS.Record.Disengage
Network.TLS.Record.State
Network.TLS.RNG
Network.TLS.State
Network.TLS.Session
Network.TLS.Sending
Network.TLS.Receiving
Network.TLS.Util
Network.TLS.Util.ASN1
Network.TLS.Util.Serialization
Network.TLS.Types
Network.TLS.Wire
Network.TLS.X509
ghc-options: -Wall
if flag(compat)
cpp-options: -DSSLV2_COMPATIBLE
Test-Suite test-tls
type: exitcode-stdio-1.0
hs-source-dirs: Tests
Main-is: Tests.hs
other-modules: Certificate
Ciphers
Connection
Marshalling
PipeChan
PubKey
Build-Depends: base >= 3 && < 5
, mtl
, cereal >= 0.3
, data-default-class
, tasty
, tasty-quickcheck
, tls
, QuickCheck
, cryptonite
, bytestring
, asn1-types
, x509
, x509-validation
, hourglass
ghc-options: -Wall -fno-warn-unused-imports
Benchmark bench-tls
hs-source-dirs: Benchmarks Tests
Main-Is: Benchmarks.hs
type: exitcode-stdio-1.0
Build-depends: base >= 4 && < 5
, tls
, x509
, x509-validation
, data-default-class
, cryptonite
, criterion >= 1.0
, mtl
, bytestring
, asn1-types
, hourglass
, QuickCheck >= 2
, tasty-quickcheck
, tls
ghc-options: -Wall -fno-warn-unused-imports
source-repository head
type: git
location: https://github.com/vincenthz/hs-tls
subdir: core