[zeromq-dev] CurveZMQ thoughts
Pieter Hintjens
ph at imatix.com
Mon Aug 26 22:58:03 CEST 2013
On Mon, Aug 26, 2013 at 3:04 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
> 9) Separing curvezmq_codec_execute in two parts, one for the client and the
> other for the server would quite not take more lines of code, and would
> provide better clarity and maintainability IMO.
Hmm, yes, indeed.
> 10) In my understanding, the respect of nonce sequences, for long nonces
> that use them, should be controlled by the peers. Let's say the client uses
> 1, 3, 5, etc. and the server 2, 4, 6, etc, the client should control that
> the nonce is 2 when it processes the welcome. In case of sequence rupture,
> the connection should be closed.
Not particularly; the sender chooses a nonce that only has to be
unique. Using an incrementing counter is one strategy but the
recipient shouldn't be validating that.
-Pieter
More information about the zeromq-dev
mailing list