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