Joseph Birr-Pixton
4f8455c4fb
Provide a separate stream for 0rtt client data
...
This adds:
- ClientSession::early_data() which may return a WriteEarlyData
if early data is possible with the server. WriteEarlyData
implements io::Write and also tells how many bytes can be
written.
- ClientSession::is_early_data_accepted which returns true if
early data was signalled as accepted by the server.
Update the 0rtt example with some docs for this.
2018-07-31 20:23:17 +01:00
Yiming Jing
398c4457a4
Push unsent early data back to sendable_plaintext
2018-07-31 20:23:17 +01:00
Yiming Jing
66131c1846
Add a simple example to test against Cloudflare's 0-rtt server implementation
2018-07-31 20:23:17 +01:00
Yiming Jing
3ef32a23d2
Add bogo tests for TLS 1.3 0-RTT
2018-07-31 20:23:17 +01:00
Yiming Jing
cab926ef47
Support early data in the client-side TLS state machine
2018-07-31 20:23:17 +01:00
Yiming Jing
23af3d531f
Persist max_early_data_size in ClientSessionValue
2018-07-31 20:23:17 +01:00
Yiming Jing
0deae304ed
Support early traffic secret in the key schedule
2018-07-31 20:23:17 +01:00
Yiming Jing
19aea98b50
Support EarlyData and EndOfEarlyData in handshake msgs
2018-07-31 20:23:17 +01:00
Yiming Jing
ed817bb3e7
Add new session APIs for early data
2018-07-31 20:23:17 +01:00
Joseph Birr-Pixton
8dad136647
Update changelog
2018-07-29 19:02:04 +01:00
Joseph Birr-Pixton
9a230c6dfb
Merge branch 'jbp-tls13-draft-28'
2018-07-29 19:00:21 +01:00
Joseph Birr-Pixton
20f16668db
Make bogo only test for draft 28
2018-07-29 18:59:05 +01:00
Joseph Birr-Pixton
8486a15af2
Update draft to draft-28
2018-07-29 10:33:41 +01:00
Joseph Birr-Pixton
012e841739
Update bogo config for new draft
2018-07-29 10:33:41 +01:00
Joseph Birr-Pixton
5fb0c6b5ee
Update bogo for draft-28 support
2018-07-29 10:32:23 +01:00
Dirkjan Ochtman
f7653e18cb
Move to draft-26
2018-07-29 10:32:23 +01:00
Dirkjan Ochtman
cef59cf561
Use headers for additional data, for 1.3-25 (see #165 )
2018-07-29 10:32:23 +01:00
Joseph Birr-Pixton
276426461a
0.13.0
2018-07-15 12:13:10 +01:00
Joseph Birr-Pixton
c6af00a225
StreamOwned: a Stream that owns its dependencies
2018-07-08 13:05:49 +01:00
Brian Smith
d6f5c329fb
Add `BulkAlgorithm` to the public API.
...
Allow users of Rustls to use `BulkAlgorithm` to filter the cipher
suites in their configurations.
2018-07-07 21:08:46 +01:00
Brian Smith
63a80d1d12
Do less unwrapping.
2018-07-07 20:55:38 +01:00
Wei Tang
ecd0010d24
Send only info log for CloseNotify
2018-07-02 21:12:28 +08:00
Joseph Birr-Pixton
c525993e86
Require untrusted 0.6.2
2018-06-27 20:27:44 +01:00
Joseph Birr-Pixton
8a78639c7f
Fix other tests
2018-06-09 16:00:51 +01:00
Joseph Birr-Pixton
320707f25a
Update dependencies
2018-06-09 15:31:30 +01:00
Joseph Birr-Pixton
6b255981ed
Demo setting protocol version in tlsclient/tlsserver
2018-06-07 21:11:58 +01:00
ctz
097788b375
Use logo in readme
2018-06-03 13:04:13 +01:00
Joseph Birr-Pixton
aa401fbf25
Add logo
2018-06-03 12:37:32 +01:00
Joseph Birr-Pixton
612370e1cf
Cover ECDSA in server_suites tests
2018-06-03 12:18:34 +01:00
Joseph Birr-Pixton
794794ea27
Support ECDSA in benchmarks
2018-06-03 12:18:10 +01:00
Joseph Birr-Pixton
6bd6d523c6
Mention ECDSA etc. in readme
2018-06-02 16:19:08 +01:00
Joseph Birr-Pixton
5a4d3d7827
Extend bogo testing of signature algorithms
2018-06-02 15:54:22 +01:00
Joseph Birr-Pixton
3912f0b701
Enable ECDSA bogo tests
2018-06-01 23:45:06 +01:00
Joseph Birr-Pixton
53cd637e56
Refactor tests to support ECDSA
2018-06-01 23:28:11 +01:00
Joseph Birr-Pixton
9bc1cdfdcb
Allow sign::SigningKey full sigscheme choice
2018-06-01 23:28:11 +01:00
Joseph Birr-Pixton
4d1e82b8e7
Rejig key loading to support ECDSA keys
2018-06-01 23:28:11 +01:00
Joseph Birr-Pixton
09a7f4ef22
Move to ring 0.13 alpha4
2018-06-01 22:34:10 +01:00
Joseph Birr-Pixton
b1628eb2d0
Remove incorrect info about Send/Sync
2018-05-30 21:31:56 +01:00
Joseph Birr-Pixton
ae70e4a9e1
Add support for vectored IO
...
This is abstract: behind a trivial rustls-specific trait so it
can be tested and doesn't rely on implementation details of vecio.
2018-05-30 21:31:56 +01:00
Joseph Birr-Pixton
c9099c5b26
Add behaviour change to readme
2018-05-30 20:56:24 +01:00
Joseph Birr-Pixton
673a082fff
Correct more clippy lints
2018-05-28 11:14:13 +01:00
Joseph Birr-Pixton
a163656276
Remove try_ret! now ? does the same thing
2018-05-28 09:51:15 +01:00
Joseph Birr-Pixton
91fd2398f5
Correct some clippy warnings
2018-05-27 22:12:21 +01:00
Joseph Birr-Pixton
5fa7277797
Bubble up errors in set_single_cert (et al)
2018-05-23 21:17:14 +01:00
Brian Smith
b2da0902c2
Update *ring* and webpki dependencies.
...
*ring* 0.13.0 will be released soon. There have been *many* changes
between *ring* 0.13.0-alpha and 0.13.0-alpha2 so there will be a
pre-release testing period.
2018-05-23 20:55:26 +01:00
Joseph Birr-Pixton
c4359ec6bd
Make google topsite test less sensitive
2018-05-22 01:38:25 +01:00
Joseph Birr-Pixton
e4cb43ce23
Add tests for degenerate extensions in getters
2018-05-22 01:38:25 +01:00
Joseph Birr-Pixton
da4d331565
Add quic to README and document quic feature
2018-05-14 21:07:09 +01:00
Joseph Birr-Pixton
dd765a9eb2
Cover TransportParameters in handshake_test
2018-05-14 21:00:17 +01:00
Joseph Birr-Pixton
87ab639360
Enable quic tests in bogo
...
- bogo_shim needs quic feature
- provide/check quic transport params in bogo_shim
- reject servers that handshake at TLS1.2, but include a quic transport
params extension.
- don't expose quic transport params extension for TLS1.2 clients.
These last two match BoringSSL.
2018-05-14 21:00:17 +01:00