-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
crypto/tls: send illegal_parameter on invalid ECHClientHello.type #71062
base: master
Are you sure you want to change the base?
crypto/tls: send illegal_parameter on invalid ECHClientHello.type #71062
Conversation
… illegal_parameter The spec indicates that if a client sends an invalid ECHClientHello.type in ClientHelloOuter, the server will abort the handshake with a decode_error alert. Defined errInvalidECHExt for invalid ECHClientHello.type. If parseECHExt returns an errInvalidECHExt error, Conn now sends an illegal_parameter alert. Fixes golang#71061
This PR (HEAD: 3d6c233) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/639235. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Roland Shoemaker: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-12-30T17:10:58Z","revision":"ce55c045c4a692f8fc69ec49ea7673760a5da5fd"} Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Roland Shoemaker: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Go LUCI: Patch Set 1: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Roland Shoemaker: Patch Set 1: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Dmitri Shuralyov: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
Message from Dmitri Shuralyov: Patch Set 2: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/639235. |
The spec indicates that if a client sends an invalid ECHClientHello.type
in ClientHelloOuter, the server will abort the handshake with a
decode_error alert.
Define errInvalidECHExt for invalid ECHClientHello.type. If parseECHExt
returns an errInvalidECHExt error, Conn now sends an illegal_parameter
alert.
Fixes #71061.