Commit graph

82 commits

Author SHA1 Message Date
Vincent Hanquez
dcd8d82eae Fix certificates that are received not in the dependency order.
Some server give certificates not necessarily in the order we expect it to be,
so reorder them correctly before verifying them to each other.
2012-01-21 07:02:58 +00:00
Vincent Hanquez
e2297626e5 improve the example program a bit so that we can use any host/port. 2012-01-19 07:07:00 +00:00
Vincent Hanquez
681992eeb5 bump version requirements 2012-01-19 06:05:05 +00:00
Vincent Hanquez
e026e281bd use new handshake in tests 2012-01-19 05:35:51 +00:00
Vincent Hanquez
ec0e6bc987 use catch from control.exception 2012-01-19 05:35:10 +00:00
Vincent Hanquez
370994a302 use the new handshake that doesn't returns anything. 2012-01-19 05:35:05 +00:00
Vincent Hanquez
5765e27bb1 bump version to 0.4.2 2011-12-20 08:00:52 +00:00
Vincent Hanquez
5a54c39714 bump depedencies on tls to 0.8.4 to get session code working. 2011-12-20 07:59:17 +00:00
Vincent Hanquez
2e2278226d add simple client as an executable in cabal file. 2011-12-20 07:58:36 +00:00
Vincent Hanquez
779220b4f1 add some session related code in stunnel. 2011-12-20 07:58:12 +00:00
Vincent Hanquez
ac6cf2cc26 add a simple client example, and useful test program. 2011-12-20 07:57:41 +00:00
Vincent Hanquez
faa6da6807 add a script to generate a cert key pair through openssl 2011-12-06 00:22:06 +00:00
Vincent Hanquez
f2ff79fe6f add a script to automatically test stunnel with gnutls-debug-cli 2011-12-05 08:39:02 +00:00
Vincent Hanquez
f927d408ab add some option to do certificate verification when retriving a certificate. 2011-11-23 21:49:33 +00:00
Vincent Hanquez
3117e468b0 ignore value. 2011-11-23 21:35:58 +00:00
Vincent Hanquez
e454baf99a bump up dependencies, and bump version to 0.4.1 2011-10-31 22:25:36 +00:00
Vincent Hanquez
727a3f6d53 fixing up for newer certificate 2011-10-11 06:04:41 +01:00
Vincent Hanquez
44dbab63c5 fixup with latest tls vectorisation of the connection. 2011-09-29 09:25:51 +01:00
Vincent Hanquez
cfe3b1f9fa add TLS1.2 as allowed versions 2011-08-17 20:59:53 +01:00
Vincent Hanquez
3b65345b46 fix structure for new api 2011-08-14 12:00:44 +01:00
Vincent Hanquez
fe576cd01d define hash structure 2011-08-13 12:30:27 +01:00
Vincent Hanquez
760d26b5b5 Use the new bulk structure to define ciphers. 2011-08-13 12:06:03 +01:00
Vincent Hanquez
ce69415e38 set up a dev version of tls-extra that depends on dev tls. 2011-08-13 12:03:57 +01:00
Vincent Hanquez
686ced12c6 bump to 0.3.1 2011-06-19 11:59:40 +01:00
Vincent Hanquez
4b90486f10 fixup dummy windows/macos X implementation 2011-06-19 11:59:11 +01:00
Vincent Hanquez
8d59e6a3a0 allow experimental connection on fd too. 2011-06-12 19:23:31 +01:00
Vincent Hanquez
ad47dcdcc0 add debuggability of the server side too. 2011-06-12 19:23:17 +01:00
Vincent Hanquez
a93bd26770 check handshake return value 2011-06-12 19:22:32 +01:00
Vincent Hanquez
1b342d8223 use the handshake returns value to know if we need to carry on. 2011-06-11 11:49:44 +01:00
Vincent Hanquez
ecaee55802 fixup related to tls refactoring of the record layer. 2011-06-10 21:25:56 +01:00
Vincent Hanquez
206205091b put secure renegotiation as a quickcheck parameter. 2011-06-08 08:39:16 +01:00
Vincent Hanquez
1fff2eb2f6 update for new TLS 0.7 2011-06-08 07:47:37 +01:00
Vincent Hanquez
ee6b0ad97a update LICENSE 2011-06-08 07:47:32 +01:00
Vincent Hanquez
5789a2cd22 fix certificateVerifyChain to not assume there's a chain. 2011-05-31 21:38:45 +01:00
Vincent Hanquez
6462d8069b add self signed functions 2011-05-31 21:37:46 +01:00
Vincent Hanquez
8df0b64b9d adding some documentation 2011-05-31 21:36:56 +01:00
Vincent Hanquez
a0ef8b36b3 remove commented code 2011-05-31 21:36:38 +01:00
Vincent Hanquez
cb41a771c3 fixup tls 0.7 new certificate callback usage 2011-05-14 09:12:30 +01:00
Vincent Hanquez
688bc7b951 rename CipherKeyExchangeRSA 2011-05-13 21:42:57 +01:00
Vincent Hanquez
283a1a8831 bump tls dependency to 0.7.0 2011-05-13 21:42:47 +01:00
Vincent Hanquez
ad5ed604f9 bump tls-extra 2011-05-13 21:42:37 +01:00
Vincent Hanquez
fa3b41c29c bump version to 0.2.3 2011-05-11 08:26:57 +01:00
Vincent Hanquez
dffebb649d add a function to return the certificate fingerprint 2011-05-11 08:26:46 +01:00
Vincent Hanquez
1dbf712ba9 add a function to check certificate validity 2011-05-11 08:26:32 +01:00
Vincent Hanquez
302709beef use proper time types related to certificate 0.9 2011-05-11 08:25:59 +01:00
Vincent Hanquez
43aa2c737e bump version of dependencies 2011-05-11 08:25:33 +01:00
Vincent Hanquez
255da1b7bd add gitignore 2011-05-11 08:25:01 +01:00
Vincent Hanquez
89f04beed4 bump version to 0.2.2 2011-05-09 09:20:26 +01:00
Vincent Hanquez
97df3e90fd bump version of tls and certificate 2011-05-09 09:20:22 +01:00
Vincent Hanquez
b73b170c03 bump version to 0.2.1 2011-05-04 08:43:47 +01:00