-
Notifications
You must be signed in to change notification settings - Fork 726
Avoid handshake message round-tripping for binders #2359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Verifying a _received_ `ClientHello` binder should be done against the original received bytes, not our re-encoding of them. This previously worked, because we required and tested that we could accurately round-trip handshake messages. But that is a less-robust approach.
Benchmark resultsInstruction countsSignificant differencesClick to expand
Other differencesClick to expand
Wall-timeSignificant differencesClick to expand
Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2359 +/- ##
==========================================
+ Coverage 94.89% 94.93% +0.03%
==========================================
Files 103 103
Lines 24274 24460 +186
==========================================
+ Hits 23034 23220 +186
Misses 1240 1240 ☔ View full report in Codecov by Sentry. |
Nice. Was just thinking about #1475 this morning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Verifying a received
ClientHello
binder should be done against the original received bytes, not our re-encoding of them.This previously worked, because we required and tested that we could accurately round-trip handshake messages. But that is a less-robust approach.
(change split out from #1475)