libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.56k stars 273 forks source link

noise spec: various refinements. #244

Closed raulk closed 4 years ago

raulk commented 4 years ago

Following from the discussion in #234, we've abandoned the "handshake seal" construction, as it is considered redundant. This PR carries forward the other changes introduced in that PR, for inclusion in the spec.

Concretely, this PR simplifies protobuf field naming, and formalises in which Noise messages of IK and XX the message payload is to be shared, to guarantee secrecy, integrity and authentication.

Since these changes have been reviewed in past iterations with no comments, I will merge this PR in 24h unless somebody screams.

ping: @shahankhatch @Mikerah @djrtwo @dryajov @mpetrunic @morrigan @araskachoi @mhchia

raulk commented 4 years ago

@mhchia done, thanks!