Vincent Hanquez
969a62b79a
bump certificate version to 0.8.1
2011-05-09 09:15:36 +01:00
Vincent Hanquez
346b550b7c
move most tests to tls-extra, only keep the marshalling test.
2011-03-19 09:19:35 +00:00
Vincent Hanquez
14f635cf3e
Fix documentation and cleanup remaining bits
2011-03-02 07:56:37 +00:00
Vincent Hanquez
a8d1e05179
fold remaining bit of client/server in core. cleanup
2011-03-02 07:41:59 +00:00
Vincent Hanquez
7237bec83e
fold handshake stuff from server to core.
2011-03-02 07:35:25 +00:00
Vincent Hanquez
73979e9db4
move initiate into handshake in core.
2011-03-01 23:09:17 +00:00
Vincent Hanquez
c1a20efe74
move sendData to core
2011-03-01 20:01:40 +00:00
Vincent Hanquez
353783abdf
put server/client in core
2011-03-01 20:01:40 +00:00
Vincent Hanquez
f260c5b9cf
modify client API to be like the server API.
2011-03-01 20:01:40 +00:00
Vincent Hanquez
5e8d2fa776
move server to the new split API and have the server function in a monadIO monad.
...
the state mvar is for now mostly useless, although completly harmeless; it will
be useful to be able to use the ctx in a threaded context.
2011-03-01 20:01:40 +00:00
Vincent Hanquez
9586b05395
unify clientparams and serverparams
2011-03-01 20:01:40 +00:00
Vincent Hanquez
d592c7aad7
update for latest certificate 0.7
2011-02-20 17:43:10 +00:00
Vincent Hanquez
deb8082647
misc change to arbitrary stuff
2011-02-20 17:43:09 +00:00
Vincent Hanquez
90b7a0fd9b
remove the need for CPP using stdArgs instead of Args
2011-02-20 08:49:08 +00:00
Vincent Hanquez
22ea02ffe4
move to certificate >= 0.6
2011-02-20 08:35:14 +00:00
Vincent Hanquez
4458931597
prepend which side (client/server) had an exception
2011-02-20 08:21:02 +00:00
Vincent Hanquez
a78162e298
add support for ciphers without encryption.
2011-01-05 09:24:58 +00:00
Vincent Hanquez
e5e331fdf1
move to certificate 0.5
2011-01-02 09:49:21 +00:00
Vincent Hanquez
8aa4fdc3ea
certificate upgrade to 0.4 and fixup tests
2010-12-14 23:27:02 +00:00
Vincent Hanquez
18cf6a5392
test ciphers in a basic fashion for now.
2010-12-07 09:15:34 +00:00
Vincent Hanquez
4b00c76e19
move supportedVersions and supportedCiphers in common
2010-12-07 09:02:38 +00:00
Vincent Hanquez
bec3255ff3
add a (non-valid) signature, otherwise test fail.
2010-12-06 08:18:16 +00:00
Vincent Hanquez
ebd5ad9937
add testing of certificates into the marshaller
2010-12-06 08:12:34 +00:00
Vincent Hanquez
06fddf5065
add a module to generate certificates
2010-12-06 08:07:05 +00:00
Vincent Hanquez
baa2baecfc
Test arbitrary clientstate and serverstate for protocol initiate
...
this gives a useful test coverage of possibles connections parameters
regarding versions, ciphers, etc that the user can choose, and check
that it all lead to a TLS connected state.
2010-12-04 13:10:49 +00:00
Vincent Hanquez
ccbd2f4ca4
move liftM6 into common
2010-12-04 13:09:42 +00:00
Vincent Hanquez
32913e0f0f
start factoring out helpers so that we can make more connection tests
2010-12-04 12:09:38 +00:00
Vincent Hanquez
a59a0d840c
minor quickcheck changes
2010-12-03 07:22:48 +00:00
Vincent Hanquez
07da6e5b06
Add monadic IO test that establish connection from a client and server.
...
The test establish a TLS connection on a socketpair, and then
check that by injecting arbitrary data in the client we receive
the exact same thing on the server side.
The test need more sophistication in general, as to arbitrarily test
TLS versions, different ciphers & key exchange, certificates, etc.
2010-11-30 08:31:09 +00:00
Vincent Hanquez
bc638906f2
move the marshal test into a specific file.
2010-11-30 08:26:22 +00:00
Vincent Hanquez
c9f4cbbd70
create a common test file
2010-11-30 08:21:10 +00:00