[zeromq-dev] Zmq Security for the C# wrapper

Robert Pickering robertfpickering at fastmail.com
Mon Jul 20 17:14:03 CEST 2015

Hi all,

I'm new to this list so sorry if I'm breaking some protocol that I don't
know about :) I've done some googling about this topic, but info is a
bit unclear to me, so I thought I write to list for clarification.

Currently using zmq to provide sub/pub messaging in our C# application.
This is all working nicely, but I'd like to add authentication and
encryption and it seems the APIs to do this are not yet exposed to C#.

>From what I've read there's two implementation of zmq security, one in
the native c++ zmq repo [1], if it's possible to use the latest version
of zmq (as we do), then you should use this one. There also exists a
reference implementation outside of the main repo, for people can't use
the latest version zmq. It's available here [2]. 

>From what I've read in Pieter Hintjens's blog [3], the interface to the
security apis doesn't look too complicated, so if I were to folk and the
C# wrapper [4] and add the missing api calls it should be reasonable
straight forward. Has anyone tried this before? Is there some pitfall
that I missing that would make this a trick task?

Kind regards,

[1] https://github.com/zeromq/libzmq
[2] https://github.com/zeromq/libcurve
[3] http://hintjens.com/blog:49
[4] https://github.com/zeromq/clrzmq4

More information about the zeromq-dev mailing list