libp2p / jvm-libp2p

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

Fix ecdsa cert usage in TLS which bouncycastle broke #293

Closed ianopolous closed 1 year ago

ianopolous commented 1 year ago

Also update unit test to cover this

Edit: Including another fix for early muxer negotiation via ALPN which wasn't actually using the ALPN result.

Added a helper method to construct ECDSA based instances of TLS.