Comments (6)
libzmq 4.1 has integrated curve support - why are you trying to use this library?
from libcurve.
Hi @bluca , thanks for the prompt response.
Reason I tried libcurve because I thought in order to use zmq_setsockopt (*socket, ZMQ_CURVE_ROUTER, const *char, size_t), I would need to have ZMQ_HAVE_CURVE. The value I get from geterr() is 22 meaning that I didn't hit to :
"libzmq\src\option.cpp"
// If curve encryption isn't built, these options provoke EINVAL
#ifdef ZMQ_HAVE_CURVE
case ZMQ_CURVE_SERVER:
if (is_int && (value == 0 || value == 1)) {
as_server = value;
mechanism = value? ZMQ_CURVE: ZMQ_NULL;
return 0;
}
break;
from libcurve.
That's because of a configuration error in your libzmq build. Make sure it can find libsodium and it should enable curve.
from libcurve.
@bluca You are right. I missed to change libzmq Properties\Configuration Properties\ZMQ Option\Libsodium ON to Yes.
I am able to use CURVE now.
Thank you very much.
from libcurve.
No problem
from libcurve.
Hi Bluca,
I thought I have resolved this problem. I actually resolved the libsodium option with libzmq version 4.2 instead of 4.1. Now I am in need to build libzmq version 4.1 with ZMQ_HAVE_CURVE (libsodium) however I am still not able to have it enabled. Can you give me some instruction on this? In my Libzmq\Properties\Configuration Property, I have set ZMQ Options\sodium to Yes and apply to All Configurations. I also choose in Configuration Property\Local Dependencies\libsodium\Linkage=Dynamic (DLL).
Thank you for your supports.
from libcurve.
Related Issues (11)
- error compiling libcurve HOT 3
- Wrong Key used for generating Vouch in INITATE message HOT 1
- Other examples of using libcurve HOT 3
- Bob And Alice HOT 3
- build fails HOT 18
- error compiling libcurve HOT 1
- Error in configure and compile (with patches) HOT 2
- Unable to build latest libcurve on Ubuntu 16.04 HOT 2
- i got error on configure during installation...
- Where in source do frames get encrypted by libsodium
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcurve.