[noise] Versioning (was Re: Noise Certificates?)
Stephen Touset
stephen at squareup.com
Wed Jul 30 21:55:31 PDT 2014
On Jul 30, 2014, at 9:53 PM, Trevor Perrin <trevp at trevp.net> wrote:
> On Wed, Jul 30, 2014 at 9:39 PM, Tony Arcieri <bascule at gmail.com> wrote:
>> On Wed, Jul 30, 2014 at 8:26 PM, Trevor Perrin <trevp at trevp.net> wrote:
>>>
>>> - precede all messages with 1-byte version
>>
>>
>> Is there a reason why the protocol version can't be negotiated up front so
>> it doesn't need to be sent with every packet?
>
> Sorry, I meant just the 3 handshake messages, not every packet:
>
> C->S: ClientStart
> C<-S: ServerBox
> C->S: ClientBox
If the ClientStart has the version number, and the server accepts it (how does the server signal rejection? implementation-defined?), shouldn’t it be good enough to simply include the version number in the AAD?
--
Stephen Touset
stephen at squareup.com
More information about the Noise
mailing list