[noise] Transport protocol spec finalizing

Trevor Perrin trevp at trevp.net
Thu Jul 13 02:19:14 PDT 2017


On Thu, Jul 13, 2017 at 7:36 AM, Alexey Ermishkin <scratch.net at gmail.com> wrote:
> Ok, makes sense. But we would still like to simplify handshake parsing and make a clear separation from transport messages.
>
> How about adding those fields (version, negotiation_data len) to the third packet? So that all handshake packets had the same structure.

We'd have to specify the rules for these fields.

For example, to match the behavior of client_version and
server_version, maybe requiring later version fields match the
previous version is best?

I don't have a strong opinion on this.  It's a little more complex, so
we should try to write it up and make sure it's not too complicated.

It would also be good if we could think of examples uses for it.

Trevor


More information about the Noise mailing list