[noise] New test vectors

Trevor Perrin trevp at trevp.net
Tue May 17 02:16:14 PDT 2016


On Tue, May 17, 2016 at 1:47 AM, Rhys Weatherley
<rhys.weatherley at gmail.com> wrote:
> Hi all!
>
> I wrote a Noise vector generator for Noise-C over the last few days based on
> the v29 draft specification.  Here are my vectors:
>
> https://raw.githubusercontent.com/rweather/noise-c/master/tests/vector/noise-c-basic.txt
> https://raw.githubusercontent.com/rweather/noise-c/master/tests/vector/noise-c-ssk.txt
>
> The main differences to Alex's excellent cacophony.txt are:
>
> * PSK and SSK values are 32 bytes.
> * New tag "handshake_hash" that specifies the expected handshake hash for
> both sides at the end of a successful handshake.
> * New tags "init_ssk" and "resp_ssk" to specify the SSK values for each side
> of the communication.


Sounds good to me - if you could add links these from the wiki, I'll
link the wiki from the website soon.

https://github.com/noiseprotocol/noise_wiki/wiki


> I'm working on some other vectors for Noise Pipes, namely for starting
> communications in IK and then transitioning to XXfallback.  IK and XX
> scenarios without fallback are already covered by the current vectors.

Mm, good thought, I wonder how we'll describe that in the format.

Trevor


More information about the Noise mailing list