Commit Graph

29 Commits

Author SHA1 Message Date
Joseph Birr-Pixton 3d874b17aa Require interior mutability from persistence impls 2017-06-17 14:27:08 +01:00
Stepan Koltsov 746dd9f6c8 impl Clone for ClientConfig 2017-06-17 11:22:57 +01:00
Joseph Birr-Pixton a1119e260e Prefer ? to try! 2017-06-04 18:11:27 +01:00
Joseph Birr-Pixton 9e3d7a497e Store the verifier in a Box
These objects are seldom created.
2017-05-14 17:44:51 +01:00
Joseph Birr-Pixton 0c066ba125 Update example code based on pr #64 2017-05-13 18:08:21 +01:00
Joseph Birr-Pixton 14e9529e40 Update mio dependency to 0.6 2017-05-06 18:23:30 +01:00
Joseph Birr-Pixton 3bb21abda5 Fix most clippy issues 2017-02-18 06:33:42 +00:00
Joseph Birr-Pixton dc1d0d08db cargo fmt
Formatting only commit: no functional change.

More cargo fmt
2017-01-04 19:49:01 +00:00
Pierre-Étienne Meunier 1d0d5a5497 Adding Certificate/PrivateKey types everywhere. 2016-12-07 11:25:36 +01:00
Joseph Birr-Pixton f466739560 Track StoresClientSessions change in tlsclient 2016-09-24 10:25:22 +01:00
Joseph Birr-Pixton 03c198e5ac docopt still needs to be told about cardinality 2016-09-11 18:12:57 +01:00
Joseph Birr-Pixton 6aa9cbaeb8 Clean up tool help output 2016-09-11 17:03:20 +01:00
Joseph Birr-Pixton a582391d26 Initial client-side ticket support 2016-09-11 15:49:43 +01:00
Joseph Birr-Pixton 3da6ce6b43 Depend on webpki-roots crate for ca certs 2016-08-28 15:03:04 +01:00
Joseph Birr-Pixton d110af5a5c Internal API cleanups
- just use Vec<u8> instead of boxed slices; much easier
- use new() for types in msgs/base
- fix various commentary
- remove some errant debug
2016-08-14 20:59:54 +01:00
Joseph Birr-Pixton 27e84d4d11 tlsclient clientauth support and basic tests 2016-08-13 06:23:12 +01:00
ctz b6561adeac Merge pull request #10 from sciyoshi/session-trait
Add a Session trait to allow being generic over client/server TLS sessions
2016-07-22 19:16:53 +01:00
Samuel Cormier-Iijima c141af95ac Add a Session trait to allow being generic over client/server TLS sessions
This is (minorly) backwards-incompatible, since it requires importing the
trait directly to use its methods.
2016-07-20 00:54:41 -04:00
Yann Simon 6094966ff3 issue 6: handle absent CA file 2016-07-19 11:19:45 +02:00
Joseph Birr-Pixton d2a5d7edad Example code commentary and cleanups 2016-07-08 19:45:50 +01:00
Joseph Birr-Pixton b08e57c032 Docs updates 2016-07-03 12:41:33 +01:00
Joseph Birr-Pixton 86a7727cab more docs 2016-06-30 23:50:37 +01:00
Joseph Birr-Pixton bc799d4495 Reorganise things to make public interface clear
Plus docs
2016-06-21 01:13:49 +01:00
Joseph Birr-Pixton 5aadeb0e87 Add MTU control, and test fragmentation paths 2016-06-17 23:14:43 +01:00
Joseph Birr-Pixton 5f363a735b Implement resumption
- client-side StoresSessions trait which implements
  an opaque bytestring->bytestring map.
- persistence message layer which reuses the existing types to
  define a key and value format for saving sessions.
- second handshake route if the server agrees to resume.
- add 'features' tests, to check specific features work at the
  integration level.
2016-06-08 00:59:14 +01:00
Joseph Birr-Pixton 17e1670593 Implement ALPN
Testing this is relatively annoying because OpenSSL
don't do error handling as specified by the RFC,
and because the RFC contradicts itself.  Quality
all round.
2016-06-05 21:18:46 +01:00
Joseph Birr-Pixton 23e9da1dc6 Test rsa and ecdsa suites, and topsites
We can't handshake with netflix. Yikes!
2016-06-05 00:15:05 +01:00
Joseph Birr-Pixton 82bdabbb0a testing updates 2016-06-03 02:28:28 +01:00
Joseph Birr-Pixton 078802cdd7 rename s_client to tlsclient 2016-06-01 19:44:36 +01:00