-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/net/quic: tests broken by d0edd9acc8 crypto/tls: implement X25519Kyber768Draft00 at go directive 1.23+ #67783
Comments
The root cause is the tests assume that each flight in the TLS handshake using the test certificates will fit into a single QUIC datagram (1200 bytes, less overhead), and the client hello is now spilling over into a second datagram. I can fix the assumption in the tests, but if there's some option I can set to get the handshake size down that'll be much simpler. |
You can set Let's make sure though we do have a test for Client Hellos that span datagrams, that's a common implementation issue (https://tldr.fail/). Also, how can we make sure that test failures in x/ repos triggered by the go.mod version are caught in CI? /cc @golang/release |
Change https://go.dev/cl/589855 mentions this issue: |
I'm pretty sure I've already got a test exercising the case where the TLS flights span multiple datagrams, but I'm adding one that uses the default key exchange preferences as well. Unfortunate that the client hello is no longer a single datagram. That was elegant. |
We're all pretty sad about the size of PQC keys, indeed. |
Filed #67791 for that. |
Go version
go version devel go1.23-d0edd9acc8 Wed May 22 14:56:25 2024 +0000 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Ran the net/quic package tests
What did you see happen?
Tests should have passed.
What did you expect to see?
Tests no longer pass.
Note that you need to run
go mod edit -go 1.23
in thenet
repository first, otherwise the “go 1.18” line results in not triggering the bug.Before the culprit commit:
But at the culprit commit:
The text was updated successfully, but these errors were encountered: