[zeromq-dev] Implementing zeromq security
Riskybiz
riskybizlive at live.com
Sat Dec 13 20:46:40 CET 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141213/5f4dc1a0/attachment.htm>
More information about the zeromq-dev
mailing list