[noise] Test vector format update

Trevor Perrin trevp at trevp.net
Thu Jun 15 10:23:50 PDT 2017


On Thu, Jun 15, 2017 at 5:05 PM, Jake McGinty <me at jake.su> wrote:
>
> It might be more flexible to use either
>
> { …
>   “protocol_name”: “Noise_XXpsk0+psk1_25519_AESGCM_SHA256”,
>   “init_psks”: [“hex string”, “hex string”]
> … }
>
> if you clarify what the order means, or
>
> { …
>   “protocol_name”: “Noise_XXpsk0+psk1_25519_AESGCM_SHA256”,
>   “init_psks”: [{ position: 0, key: “hex string” }, { position: 1, key: “hex string” }]
> … }

The list seems better, since we could have different modifiers in the
future which allow different PSK placements, but the order of psk
tokens will always be clear.

Trevor


More information about the Noise mailing list