Commit Graph

2690 Commits

Author SHA1 Message Date
Joseph Birr-Pixton 2f586e663e No -ize, please, we're British :) 2016-05-30 23:00:58 +01:00
ctz d2a1c8d75d Merge pull request #1 from frewsxcv/patch-1
Fix typo in README.
2016-05-30 23:00:40 +01:00
Corey Farwell f6b2701408 Fix typo in README. 2016-05-30 17:48:06 -04:00
Joseph Birr-Pixton 31ba585438 Update readme 2016-05-30 21:34:05 +01:00
Joseph Birr-Pixton 40248a173f remove unused imports 2016-05-30 20:44:21 +01:00
Joseph Birr-Pixton 29b0389f34 Point at webpki fork for cert-based sig validation 2016-05-30 20:39:06 +01:00
Joseph Birr-Pixton 9af16867bb Use log crate to note alerts 2016-05-30 20:31:50 +01:00
Joseph Birr-Pixton 14d27b7b2c Add travis.yml 2016-05-30 20:14:38 +01:00
Joseph Birr-Pixton c207843eb4 Reconstitute handshake messages
also delete quite a bit of printf tracing
2016-05-30 19:56:00 +01:00
Joseph Birr-Pixton 3b02040431 s_client: connection: close & handle read errors 2016-05-30 19:55:15 +01:00
Joseph Birr-Pixton 3b501ed6aa Support curve25519 kx (works against google.com) 2016-05-30 13:17:59 +01:00
Joseph Birr-Pixton 1aa22a1476 Fix assorted warnings 2016-05-30 10:31:45 +01:00
Joseph Birr-Pixton a7204bfd52 add contents of PEM file to RootCertStore 2016-05-30 10:12:31 +01:00
Joseph Birr-Pixton 8362ae2518 s_client connects to given hostname 2016-05-30 10:11:22 +01:00
Joseph Birr-Pixton 2925f07636 Handle alerts at any point 2016-05-30 10:10:46 +01:00
Joseph Birr-Pixton 96714fcc69 Thing for extracting DER from PEM files 2016-05-30 09:54:20 +01:00
Joseph Birr-Pixton 88d2cd9af6 Add ECDHE-ECDSA suites 2016-05-29 18:00:24 +01:00
Joseph Birr-Pixton ed0ec5441f we can pass application data :) 2016-05-27 21:47:13 +01:00
Joseph Birr-Pixton 5d9ae0287d Fix warnings 2016-05-27 20:02:46 +01:00
Joseph Birr-Pixton 4d165eb06e Enough to fully complete client handshake 2016-05-27 16:41:28 +01:00
Joseph Birr-Pixton 7167808b4b don't keep server/client randoms in two places 2016-05-24 22:32:51 +01:00
Joseph Birr-Pixton 2db1ab3e10 make prf write into output slice 2016-05-24 21:03:39 +01:00
Joseph Birr-Pixton c3dea1d0d0 Fix ClientKeyExchange encoding
we want an ECPoint here, which is effectively a PayloadU8
2016-05-23 23:19:04 +01:00
Joseph Birr-Pixton 29b2140c77 bring in ring/webpki here 2016-05-23 23:17:51 +01:00
Joseph Birr-Pixton 329864e156 client: Verify cert and do key exchange
we have:

- hash_hs: a thing which hashes handshake messages. feed this.
- minor: ccs message support
- use webpki to verify cert chain
- a thing which reuses parts of webpki to have it
  verify the ServerKeyExchange too
- some assorted messy and chaotic code
2016-05-23 23:05:43 +01:00
Joseph Birr-Pixton d7beab9b44 Sorry, need minor local changes to webpki for now 2016-05-23 23:03:41 +01:00
Joseph Birr-Pixton 2a9dd6f801 verify certs with webpki 2016-05-21 12:43:01 +01:00
Joseph Birr-Pixton 9ac839a44b add dodgy ca script 2016-05-20 22:03:05 +01:00
Joseph Birr-Pixton e72f28a584 work towards decoding serverkx
replace rand crate with existing ring code
2016-05-19 23:03:04 +01:00
Joseph Birr-Pixton b802430174 start client-side handshaking 2016-05-19 19:46:52 +01:00
Joseph Birr-Pixton 7fd0ebc0bb many more things, including a server test program 2016-05-17 20:46:36 +01:00
Joseph Birr-Pixton d7269b541e more server-side handshake work 2016-05-08 22:31:33 +01:00
Joseph Birr-Pixton 16bdea8493 add prf, start other things 2016-05-07 19:48:07 +01:00
Joseph Birr-Pixton ee073647db reorganise 2016-05-05 23:34:53 +01:00
Joseph Birr-Pixton 3f50745823 Support SNI, heartbeat, tickets, reneg extensions 2016-05-04 02:24:00 +01:00
Joseph Birr-Pixton c0d0e065b9 decode -> read, and handle failure 2016-05-04 00:42:02 +01:00
Joseph Birr-Pixton 8306c5901d More extensions 2016-05-03 23:23:48 +01:00
Joseph Birr-Pixton b24ddffcb9 Initial commit; doesn't do anything useful 2016-05-02 21:53:04 +01:00
ctz 4ba2770c37 Update README.md 2016-05-02 21:51:05 +01:00
ctz 4460bbe15b Initial commit 2016-05-02 21:50:44 +01:00