[zeromq-dev] A security authentication module for pyzmq

Chris Laws clawsicus at gmail.com
Sun Dec 8 14:07:19 CET 2013


I was wanting to use ZMQ's security features in my pyzmq applications. As
far as I can tell the security API in pyzmq is pretty low level (sockopts
and write your own ZAP handler). Hopefully I have not overlooked an
existing module that already does what I want.

Anyway, I am familiar with czmq and what I think is an elegantly designed
zauth module. So I created a security authentication module for pyzmq that
is modelled on zauth from czmq. I have posted the implementation in the
following gist: https://gist.github.com/claws/7856874

It pretty much does what zauth does - easily configurable ZAP management.
The passing tests indicate that it appears to function properly.

I think this authenticator module would be a useful addition to pyzmq. Are
there any pyzmq users who think this might be of use to them? If there is
interest I'll turn it into a pyzmq pull request.

Regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131208/3ad29ea5/attachment.htm>


More information about the zeromq-dev mailing list