rust-libp2p icon indicating copy to clipboard operation
rust-libp2p copied to clipboard

transports/noise: Expose Prologue mechanism

Open mxinden opened this issue 3 years ago • 1 comments

Description

Enable users to provide a Noise Prologue via Builder::prologue.

Motivation

Needed for https://github.com/libp2p/rust-libp2p/pull/2622, more specifically to validate the remote's TLS fingerprints. See https://github.com/libp2p/specs/pull/412#discussion_r930582351.

Requirements

Open questions

Are you planning to do it yourself in a pull request?

Maybe. In case someone wants to pick this up instead, please comment to make sure we are not duplicating work.

mxinden avatar Aug 02 '22 08:08 mxinden

Corresponding pull request on the Golang side: https://github.com/libp2p/go-libp2p/pull/1663

mxinden avatar Aug 02 '22 08:08 mxinden

@melekes Let me know if you are going to pick this up, otherwise I'll take it :)

thomaseizinger avatar Sep 12 '22 12:09 thomaseizinger

Please go ahead. I will focus more on smoldot / substrate side for now.

melekes avatar Sep 12 '22 12:09 melekes