libp2p / jvm-libp2p

a libp2p implementation for the JVM, written in Kotlin 🔥
https://libp2p.io
Apache License 2.0
260 stars 74 forks source link

Fix remotePubKey in Noise secure Session #364

Closed Nashatyrev closed 3 months ago

Nashatyrev commented 3 months ago

Noise negotiator was putting the wrong pubKey into SecureChannel.Session: local instead of remote

Nashatyrev commented 3 months ago

Also increased the flaky test timeout. It indeed takes 10 seconds sometimes to complete