[zeromq-dev] pyzmq and curve, as server

Julien Kauffmann julien.kauffmann at freelan.org
Mon Jun 13 14:57:54 CEST 2016


Hi,

I'm trying to use the CURVE mechanism with PYZMQ, following the code 
example at 
https://github.com/zeromq/pyzmq/blob/master/examples/security/stonehouse.py.

I created an authenticator, I generated key pairs (which work as a CURVE 
client), set the `curve_server` flag to `True`, and finally bound the 
socket.

However, when the REP socket tries to contact the REQ socket, a network 
dump shows that it actually sends the `as_server` flag as `False` and 
I'm lost as to understand why. For all intents and purpose, I'm 
following the exact sequence done in the ironhouse sample.

Any clue what I could be missing here ? Is there any facility that could 
help me debug this (additional logs for instance) ?

Thanks,

Julien.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4269 bytes
Desc: Signature cryptographique S/MIME
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160613/8f0decac/attachment.bin>


More information about the zeromq-dev mailing list