[noise] [NoiseSocket] First handshake message parsing questions

Trevor Perrin trevp at trevp.net
Mon Feb 27 20:15:23 PST 2017


On Mon, Feb 27, 2017 at 11:54 AM, Alexey Ermishkin
<scratch.net at gmail.com> wrote:
> Another question that I'd like to discuss once again is sub-messages naming.
>
> Do we really need to switch from Noise_XX_blablabla to NoiseSocket_blablabla? The pattern logic is the same and we have our mandatory prologue if we want to differ (why?) from other implementations
> I really want to add IK support to the first version and it will look ugly to use NoiseSocket for XX and Noise_IK for IK

I agree, use the standard names (Noise_XX_blabla).

I was suggesting NoiseSocket_blabla as a naming convention for
referring to the whole protocol including the versioning/framing, not
to change the Noise protocol name string.

Trevor


More information about the Noise mailing list