-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
noise: use Noise Extension to negotiate the muxer during the handshake #1813
Conversation
@julian88110 Could you rebase ( |
d6a4ca3
to
718ec88
Compare
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.
This is looking really good. Just a few nits!
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.
Code LGTM.
Something seems to be wrong with the Protobuf though. This PR adds a single entry to the Noise extension. This shouldn't lead to a 537 LOC change in the generated .pb.go
file.
This might be related to proto buf compiler version difference, I used the latest protbuf 21.8 and protoc-gen-gogo/1.3.2_2/ to compile the protobuf file, I do notice it changed a lot of the generated file content, even the imported modules are different, indicating a significant code generation change. |
I'm not opposed to switching to a different protobuf compiler, but we should be intentional about it, and consistent across the code base. We should also use (Unified) CI to check that all of our I've recompiled the Protobuf here, so this PR can make progress. |
Thanks Marten. |
Muxer negotiation using early data of Noise handshake.
This is the Noise implementation of issue #1789