-
Notifications
You must be signed in to change notification settings - Fork 77
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
Feature/makesomenoise #37
Conversation
…x close/reset. Close == disconnect(), Reset == close()
…ature/mplex # Conflicts: # src/test/kotlin/io/libp2p/core/security/secio/NetworkTest.kt
…ls' support Resolve #28
Address a couple of issues
…should init channel
WIP: mplex implementation. Resolve #16
…2p/jvm-libp2p into feature/multistream-handler
- avoid allocating max buffers for each message - plain text should be binary
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.
I addressed all my comments in a separate PR: #48
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
Calling ByteBuff::array() directly causes an exception.
…ise negotiation now proceeds further
Noise static key initialized per process. Also, Noise static key (signed by identity private key) is verified as early as possible. Added new protobuf struct to hold identity pub key and signed noise static key, as well as data and signed data. Currently data fields are not examined or kept.
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.
Could you please rebase PR to the develop
branch?
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/io/libp2p/security/noise/NoiseXXSecureChannel.kt
Outdated
Show resolved
Hide resolved
…kesomenoise # Conflicts: # build.gradle.kts # src/main/kotlin/io/libp2p/core/multiformats/Protocol.kt # src/main/kotlin/io/libp2p/host/HostImpl.kt # src/main/kotlin/io/libp2p/host/MemoryAddressBook.kt # src/main/kotlin/io/libp2p/network/NetworkImpl.kt # src/main/kotlin/io/libp2p/transport/tcp/TcpTransport.kt # src/test/java/io/libp2p/tools/p2pd/P2PDDht.java # src/test/java/io/libp2p/tools/p2pd/P2PDHost.java # src/test/java/io/libp2p/tools/p2pd/libp2pj/DHT.java # src/test/java/io/libp2p/tools/p2pd/libp2pj/Host.java # src/test/java/io/libp2p/tools/p2pd/libp2pj/PeerInfo.java # src/test/java/io/libp2p/tools/p2pd/libp2pj/Transport.java # src/test/kotlin/io/libp2p/core/HostTest.kt # src/test/kotlin/io/libp2p/core/RpcHandlerTest.kt # src/test/kotlin/io/libp2p/pubsub/GoInteropTest.kt # src/test/kotlin/io/libp2p/pubsub/PubsubRouterTest.kt # src/test/kotlin/io/libp2p/security/secio/EchoSampleTest.kt # src/test/kotlin/io/libp2p/security/secio/SecIoSecureChannelTest.kt # src/test/kotlin/io/libp2p/security/secio/SecioHandshakeTest.kt # src/test/kotlin/io/libp2p/transport/tcp/TcpTransportTest.kt
@shahankhatch thanks for addressing my comments 👍 |
PR for #35