[noise] Protocol Names
alex at centromere.net
Mon May 29 19:09:09 PDT 2017
On Tue, 30 May 2017 00:26:21 +0000
Trevor Perrin <trevp at trevp.net> wrote:
> On Fri, May 26, 2017 at 7:11 PM, Alex <alex at centromere.net> wrote:
> > cacophony takes a blind (uninspected/not acted upon) string as
> > input. The "Noise_" part is prepended and the cipher/curve/hash are
> > appended.
> > What if we defined a JSON schema to encompass all possible handshake
> > parameters/choices? The test vector format kind-of-sort-of does
> > this, and while it's specialized for testing, it seems like a good
> > starting point.
> At that point, we could simplify the test vector format by removing
> the redundant "dh", "cipher", "hash" etc parameters from the test
> vectors, since the test code could just parse the name. Make sense?
I understand your idea, but I am not in favor of it. Compiling a
structured format (JSON) to a final handshake name seems so much easier
to me than parsing a string (and less error prone).
More information about the Noise