Acreo / DoubleDecker

Hierarchical messaging system
http://acreo.github.io/DoubleDecker/
GNU Lesser General Public License v2.1
3 stars 2 forks source link

Problem: Client - Broker authentication is not using CurveMQ #6

Open eponsko opened 8 years ago

eponsko commented 8 years ago

Revisit the use of CurveMQ for authenticating broker-broker and broker-client. Initial problem is that with CurveMQ the server-generated identity seems to not be passed to the zauth module, unless identity has been set by the client (zsock_set_identity(). Any way of getting libzmq to send the server generated id?
If so, should be possible to base some code on zauth.c in czmq

eponsko commented 8 years ago

Seems to be a known problem, https://github.com/zeromq/libzmq/issues/1537# hopefully solved in later ZMQ versions

eponsko commented 8 years ago

Solved by https://github.com/zeromq/libzmq/commit/370b8c9bb1af509e4bc2f1bb24a6858f4521fc79 , on release 4.0.2-test, so hopefully working in libzmq 4.1.0 / 4.2.0