[zeromq-dev] Implementing zeromq security
Phillip Mienk
mienkphi at gmail.com
Sun Dec 14 02:42:09 CET 2014
You might find
http://lists.zeromq.org/pipermail/zeromq-dev/2014-November/027804.html
which describes libsodium configuration w.r.t. the Visual Studio 2013
project of some use.
On Sat, Dec 13, 2014 at 5:26 PM, Pieter Hintjens <ph at imatix.com> wrote:
>
> You may have to modify the solution for libzmq to pick up the
> libsodium include files. Also check the builds/msvc/platform.hpp, it
> probably needs a #define HAVE_LIBSODIUM 1 in it.
>
> On Sat, Dec 13, 2014 at 8:46 PM, Riskybiz <riskybizlive at live.com> wrote:
> > Ok, so I’m getting underway to create a demonstration project using
> zeromq
> > and curve security on Windows 7 (64 bit). Started out by trying to
> create a
> > security certificate and the code below is giving the error shown.
> >
> >
> >
> > char public_txt[41];
> >
> > char secret_txt[41];
> >
> >
> >
> > int rc = zmq_curve_keypair(public_txt, secret_txt);
> >
> > if(rc != 0)
> >
> > {
> >
> > std::string errStr = zmq_strerror(zmq_errno());
> >
> > std::string errConc = "Error Creating KeyPair: " + errStr;
> >
> > std::cout << errConc.c_str() << std::endl;
> >
> > }
> >
> >
> >
> >
> >
> > Error Creating KeyPair: Not supported
> >
> >
> >
> > I suspect this is due to the zeromq build not picking up the libsodium
> > files. I have the software located like so:
> >
> >
> >
> > C:\libsodium
> >
> > C:\zeromq-4.0.4
> >
> >
> >
> > To try and fix the error I rebuilt libsodium and then rebuilt
> zeromq-4.0.4
> > both using provided solution files for Visual Studio 2013 on Windows 7.
> >
> >
> >
> > They both build OK but still the curve security is not supported.
> >
> >
> >
> > Can anyone please suggest what I should do to get the curve security
> > built-in with zeromq? Also how do I run the self-tests to verify the
> > installation is sound?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Riskybiz.
> >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141213/9e4bfd2d/attachment.htm>
More information about the zeromq-dev
mailing list