Skip to content

Take latest bogo test suite#1314

Merged
ctz merged 15 commits into
mainfrom
jbp-bogo-updates
Jun 13, 2023
Merged

Take latest bogo test suite#1314
ctz merged 15 commits into
mainfrom
jbp-bogo-updates

Conversation

@ctz

@ctz ctz commented Jun 12, 2023

Copy link
Copy Markdown
Member

resolves #1158

@ctz ctz requested a review from cpu June 12, 2023 15:18
@codecov

codecov Bot commented Jun 12, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1314 (1c3d59d) into main (5791a48) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1314      +/-   ##
==========================================
- Coverage   95.81%   95.81%   -0.01%     
==========================================
  Files          60       60              
  Lines       14455    14467      +12     
==========================================
+ Hits        13850    13861      +11     
- Misses        605      606       +1     
Impacted Files Coverage Δ
rustls/src/error.rs 95.12% <ø> (ø)
rustls/src/client/handy.rs 98.80% <100.00%> (ø)
rustls/src/client/hs.rs 97.17% <100.00%> (+<0.01%) ⬆️
rustls/src/server/tls13.rs 97.01% <100.00%> (+0.03%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment thread rustls/src/error.rs Outdated
@ctz ctz force-pushed the jbp-bogo-updates branch from 8739201 to ee0bca1 Compare June 12, 2023 15:27
@ctz ctz marked this pull request as ready for review June 12, 2023 15:28
Comment thread bogo/fetch-and-build
Comment thread bogo/config.json Outdated
Comment thread rustls/src/error.rs Outdated
ctz added 9 commits June 13, 2023 11:55
In TLS1.3 middlebox-compatiblity mode requires a random session_id.
If TLS1.3 is disabled, the TLS1.2 rules apply:

> This field is empty if no session_id is available, or if the
> client wishes to generate new security parameters.

Tested by bogo TLS12NoSessionID-TLS13
On the assumption that the server might unilaterally expire
the oldest tickets, it makes the most sense to use the ones
we received most recently.  This has a possible marginal
improvement in accepted resumption.
Previously this was out of spec, but safe, because (in psk_mode_offered)
we just looked for PSK_DHE_KE and treated a missing extension as being
empty.

Tested by bogo TLS13-SendNoKEMModesWithPSK-Server.
This checks that early data continues to work after the server's
first flight is being received.  This defends a BoringSSL bug fix
that is private, so it's a bit of a guess.
@ctz ctz force-pushed the jbp-bogo-updates branch from 1c3d59d to 7bb73c5 Compare June 13, 2023 10:55
@ctz ctz merged commit 4f29321 into main Jun 13, 2023
@ctz ctz deleted the jbp-bogo-updates branch June 13, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for latest BoGo updates

3 participants