go-libp2p/p2p/security/tls
julian88110 ebd000db1e
tls: use ALPN to negotiate the stream multiplexer (#1772)
* Muxer selection in TLS handshake first cut

* Clean up some part of the code

* Change earlydata to ConnectionState for security connection.

* resolve merging conflicts

* Add stubs for noise

* clean up code

* Switch over to passing muxers to security transport constructors

* Address feedback points

* Update p2p/net/upgrader/upgrader.go

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* clean up accidental checked file.

* Review points round 2

* Address some go nit points

* Update tls transport test to address review points

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-10-07 10:34:58 -07:00
..
cmd tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
LICENSE.md add a license 2018-11-24 15:34:45 +07:00
conn.go tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
crypto.go switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
crypto_test.go tls: add tests for test vector from the spec (#1788) 2022-10-06 23:21:02 -07:00
extension.go use the new Protocol Labs PEN for the certificate extension 2019-03-14 09:55:14 +09:00
extension_test.go migrate the extension tests away from Ginkgo 2022-01-04 13:04:57 +04:00
transport.go tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
transport_test.go tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00