-
Notifications
You must be signed in to change notification settings - Fork 111
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
Implement noise-libp2p secure channel handshake #375
Comments
Forgot to assign to myself previously. I will have a PR for it soon. |
Hey @mhchia @hwwhww, just a quick question: what is the status of the noise implementation? While secio works noise seems to break when talking to a nimbus node. this is my setup (taken from the trinity host implementation): muxer_transports_by_protocol = {MPLEX_PROTOCOL_ID: Mplex}
noise_key = ed25519.create_new_key_pair()
security_transports_by_protocol = {
TProtocol(secio.ID): secio.Transport(
key_pair
),
TProtocol(noise.PROTOCOL_ID): noise.Transport(
key_pair, noise_key.private_key
)
}
upgrader = TransportUpgrader(
security_transports_by_protocol, muxer_transports_by_protocol
)
for example, noise fails for this node: |
Hi @tintinweb , sorry I haven't worked on py-libp2p implementation for a while. By the time I was working on the noise protocol in py-libp2p, we were able to talk to [email protected], as shown in this CI result. I didn't try to talk with nim's implementation at that time so I'm not sure what results in this failure. |
Hi @tintinweb , we have been chatting on the gitter but just to circle around here I think there are some interoperability bugs to work through across client implementations. If you get a chance to look at |
What was wrong?
Spec: https://github.com/libp2p/specs/blob/master/noise/README.md
Noise protocol Python implementations:
How can it be fixed?
Fill this section in if you know how this could or should be fixed.
The text was updated successfully, but these errors were encountered: