Joseph Birr-Pixton
e18e999c4a
Refactor api-level tests
2019-04-22 20:34:01 +01:00
Joseph Birr-Pixton
56f25ec41d
Extra unit test for deframer
2019-04-21 19:07:39 +01:00
Joseph Birr-Pixton
cd66549efd
Prepare 0.15.2
2019-04-02 20:44:10 +01:00
Joseph Birr-Pixton
27d29e4283
Add azure/codecov badges
2019-03-10 17:53:03 +00:00
Joseph Birr-Pixton
f22e9b5977
Send HTTP/1.0 request to avoid chunked encoding
2019-03-10 16:40:07 +00:00
Joseph Birr-Pixton
a66884131e
Fix path for benchmarks on Windows
2019-03-10 16:40:07 +00:00
Joseph Birr-Pixton
562aed5657
tlsclient: deal with spurious WouldBlocks on Windows
2019-03-10 14:01:08 +00:00
Joseph Birr-Pixton
7597818244
Run bogo
2019-03-10 13:55:12 +00:00
Joseph Birr-Pixton
76b7bb7a9f
Try both ipv4 and ipv6 localhost
2019-03-10 13:55:12 +00:00
Joseph Birr-Pixton
31e12febf8
Try codecov.io instead
...
- Temporarily remove branch coverage measurement
- Also install llvm & llvm-3.8
2019-03-10 13:54:56 +00:00
Joseph Birr-Pixton
1115857dfc
Run coverage, mio tests, benchmarks
2019-03-09 15:43:27 +00:00
Joseph Birr-Pixton
bbba4449b3
Minimum toolchain is in fact 1.31 for 2018 edition
2019-03-09 15:43:27 +00:00
Joseph Birr-Pixton
34496e2fe1
Don't use writev API on Windows
2019-03-09 15:43:27 +00:00
Joseph Birr-Pixton
2f1ce3aca3
bump minimum to 1.27
2019-03-08 21:41:02 +00:00
Joseph Birr-Pixton
2e9fd0441c
add starter azure pipelines config
2019-03-08 21:41:02 +00:00
Joseph Birr-Pixton
a97c5efa01
Fill in coverage only provided by example code
2019-03-08 21:37:07 +00:00
Joseph Birr-Pixton
edf98927dc
Split up mio-using examples/tests
2019-03-08 19:04:05 +00:00
Erick Tryzelaar
b3a06b9a38
Migrate examples into a subcrate
...
Fuchsia doesn't support yet mio, and there is unfortunately no
way to run the rustls on Fuchsia as the crate is currently setup.
Unfortunately there is no way to make dev-dependencies optional (see
https://github.com/rust-lang/cargo/issues/1596 ), so this patch
migrates the examples into a subcrate so we can compile the
rustls tests without mio.
2019-03-08 17:06:05 +00:00
ctz
919e4284e3
Merge branch 'master' into logger
2019-03-08 16:47:34 +00:00
Erick Tryzelaar
6c7a10767c
sort the dependencies
2019-03-08 16:46:26 +00:00
Erick Tryzelaar
3dd033fdf6
env_logger 0.6.1 replaced `.parse` with `.parse_filters`
...
env_logger 0.6.1 deprecated `Builder::parse`, and replaced it with
`Builder::parse_filter`.
2019-03-07 20:41:55 -08:00
Erick Tryzelaar
399ed16e29
Embed test-ca files into the test binaries
...
When cross compiling to operating systems like Fuchsia,
it's a little complicated to build the test binaries,
copy them and the test-ca files to the target, and make
sure that everything is executed with the correct working
directory. This PR makes it much easier to test rustls
by embedding the test-ca files directly into the test
binaries, which now can recreate a temporary test-ca directory
as needed. This allows us to just copy the executable over,
which really simplifies testing.
2019-03-01 21:04:23 +00:00
Erick Tryzelaar
bc8cec0c9c
allow tests to find openssl in a custom directory
...
The tests are hardcoding the openssl path on OSX, but it's possible
for users to install openssl in an alternative location, like
in $HOME. This allows users to customize where to find openssl to
get the tests to pass.
2019-03-01 21:01:44 +00:00
Joseph Birr-Pixton
73880639f3
Remove many_sans test temporarily
...
Cert is expired upstream. Reinstate when it's fixed.
2019-02-24 13:09:24 +00:00
Benjamin Saunders
e4510b415f
Fix obfuscated ticket age computation
2019-02-23 19:53:01 +00:00
Benjamin Saunders
ec3604ca01
Only enable receiving early data if client asked for it
...
Fixes a handshake failure when a 0-RTT capable server receives a
non-0-RTT resumption.
2019-02-23 19:53:01 +00:00
Benjamin Saunders
5c360613e6
Report handshake decode errors in QUIC
2019-02-03 13:34:43 +00:00
Benjamin Saunders
6e430e5c30
Use QUIC key logging labels when appropriate
...
Also adds client early traffic secret key logging.
2019-02-03 13:34:18 +00:00
Joseph Birr-Pixton
214252aaa9
update README for 0.15.1
2019-01-29 08:51:28 +00:00
Joseph Birr-Pixton
158a1619b6
0.15.1
2019-01-29 08:35:49 +00:00
Joseph Birr-Pixton
48d3091d15
Add test for lack of SHA1
2019-01-28 20:00:27 +00:00
Joseph Birr-Pixton
0b4cda581b
Update readme
2019-01-27 21:03:36 +00:00
Joseph Birr-Pixton
40bd3d1aa8
Fix bogo tests:
...
- disable SHA1 invalid signature tests
- test for golang sending an internal error alert when
we don't offer its selected signature algorithm
- also look for 'no common signature algorithms' in SHA1 tests
2019-01-27 18:39:19 +00:00
Joseph Birr-Pixton
026abd4ac7
Use 'static slices rather than vecs for these
2019-01-27 17:40:23 +00:00
Joseph Birr-Pixton
974ec9eb1b
Move supported algorithms facts out of msgs module
...
These didn't really belong here.
2019-01-27 17:28:36 +00:00
Kyle Huey
dc9fc45844
Change test failure to note handshake failure now that SHA-1 is unsupported.
2019-01-26 20:11:30 -08:00
Kyle Huey
272970e906
Don't advertise SHA-1 support.
...
1be8320fc9
removed support for using SHA-1 but it didn't remove advertising support for SHA-1. Empirically, connecting to sns.us-east-2.amazonaws.com has been found to select PKCS1_SHA1 if it is advertised.
2019-01-26 19:26:27 -08:00
Joseph Birr-Pixton
f93c325ce5
Update README
2019-01-20 20:32:11 +00:00
Joseph Birr-Pixton
da4a492061
Deal with 2018 macro-as-item changes
...
This promised to unify macros and items, but
unfortunately doesn't apply to macros from the current
crate. Hence, this adds significant mess.
2019-01-20 20:12:58 +00:00
Joseph Birr-Pixton
ffbbc4e8c1
Fix extern crates and log expressions
2019-01-20 20:12:58 +00:00
Joseph Birr-Pixton
5c2c750f5b
cargo fix --edition-idioms --all-features
2019-01-20 17:25:45 +00:00
Joseph Birr-Pixton
a15ff1197c
Set edition 2018
2019-01-20 17:24:40 +00:00
Joseph Birr-Pixton
46ba147d2b
cargo fix --edition --all-features
2019-01-20 17:24:27 +00:00
Joseph Birr-Pixton
bfc8ae3f76
README
2019-01-20 12:47:22 +00:00
Joseph Birr-Pixton
0124afea77
bogo: Entry in TestErrorMap denotes expected failure
2019-01-20 12:12:20 +00:00
Brian Smith
47486717b1
Adjust BoGo configuration to account for SHA-1 not being supported.
2019-01-19 19:12:44 +00:00
Brian Smith
1be8320fc9
Remove SHA-1 signature support.
...
It has been removed from the latest webpki already.
2019-01-19 19:12:44 +00:00
Benjamin Saunders
2dae86c502
Don't send duplicate fatal alerts on bad client version
...
This avoids providing an incorrect alert code to QUIC and skips
unnecessary work for regular TLS.
2019-01-19 08:59:12 +00:00
Jonas Schievink
8351847a22
Reexport `WriteEarlyData`
...
Otherwise, the struct can't be named and doesn't show up in generated docs,
which makes the `bytes_left` method very hard to discover.
2019-01-19 08:13:03 +00:00
Joseph Birr-Pixton
261ce07131
Parallelise bogo runs
2019-01-13 19:15:46 +00:00