[zeromq-dev] Using CurveZMQ to secure multiple sockets?

Luca Boccassi luca.boccassi at gmail.com
Wed Oct 5 15:56:23 CEST 2016

zauth and zcert can work with any socket and are the correct choice.
Curvezmq was a proof of concept (and made to bring auth for the legacy
libraries) and should not be used with libzmq/czmq as there's built in

On 5 October 2016 at 09:27, Mark Gillott <mgillott at brocade.com> wrote:
> Suppose we have a server and one or more client applications that
> communicate using a number of 0MQ sockets; a ROUTER-DEALER, a PUB-SUB
> and a REP-REQ.
> Is it possible to use CurveZMQ to secure all of these connections? Using
> the various zactor, zcert & zsock_set_curve functions I can secure the
> ROUTER-DEALER connections. But what about the other two?
> What I really want is to be able to do is secure the lower layer
> transport such that *any* 0MQ socket between client & server is always
> secure. From the curvezmq.org page:
>         To secure a single hop between client and server, which is the
>         CurveCP use case. For this use case we would embed CurveZMQ in
>         the transport layer so that it can work for all patterns
>         (publish-subscribe, pipeline, and so on).
> Yet I can't find any example. The examples I've seen secure a single
> socket. Have I misunderstood? Can I build a CurveZMQ-based "pipe" over
> which other 0MQ sockets can operate?
> Thanks,
> Mark
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list