Overview of noise-libp2p secure channel handshake
masternoise-libp2p is a security handshake for libp2p channels built using the Noise Protocol Framework. It is used by a transport upgrader to layer security over raw connections (like TCP sockets).
Key characteristics:
- Handshake Process: A dialer (initiator) and listener (responder) exchange public keys and perform Diffie-Hellman exchanges to derive symmetric encryption keys.
- Authentication: The static DH key used for the Noise handshake is authenticated using the libp2p identity keypair.
- Post-Handshake: Once the handshake completes, peers use the derived symmetric keys to encrypt traffic using a specific wire format.
- Maturity: Currently at lifecycle stage 3A (Recommendation) and is an active specification.