Re: [zeromq-dev] PyZMQ with Libsodium on Windows?
Hi, Tweetnacl linux integration has been added to libzmq some month ago. You could try compiling with tweetnacl and VS2008. One(only?) thing missing is randombytes() function on windows. Probably MS has a crypto API somewhere which should make this simple, if you trust them. And you can check how libsodium does it. regards Frank Min RK benjami...@gmail.com writes: For pyzmq, it must work with VC9 (VS2008), for Python 2.7. -MinRK On Oct 9, 2014, at 18:08, Steven McCoy steven.mc...@miru.hk wrote: I think it is easier now as they have more support than just MSVC2013 (C99 compat) when crypto was added to ZeroMQ. On 9 October 2014 17:47, MinRK benjami...@gmail.com wrote: It's not bundled simply because I couldn't build it on Windows. If you can come up with a simple fix for building bundled libsodium, then I would bundle libsodium on Windows. -MinRK On Thu, Oct 9, 2014 at 1:48 PM, André Caron andre.l.ca...@gmail.com wrote: Hi there! I'm trying to secure some PyZMQ communications with the curve security features. The code seems straightforward, but when I call `zmq.auth.create_certificates()` to generate some keys, I get the following exception: zmq.error.ZMQError: Not supported This seems to be due to the absence of libsodium. In the release notes for PyZMQ 14.1.0, I can see that libsodium is not bundled with PyZMQ on Windows. First, I'm curious to know why it's not bundled on Windows. If it's simply a matter of finding a volunteer, maybe I can pitch in? Second, I'd like to know if there's any known procedure to get it running on Windows? Thanks! André ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[zeromq-dev] jeromq-0.3.3 builds
Hi, I'm using JeroMQ 0.3.3 in a product, and I've just noticed that there's a difference between the jar I've been using up until now, and the one that's currently downloadable (from https://oss.sonatype.org/content/repositories/releases/org/zeromq/jeromq/0.3.3/). Many of the class files are different, but that could mean anything, and I'm not about to start poking around that in detail. However, there are other differences suggesting the builds were done with different source: the org.jeromq package was present in the older jar, but not the most recent; the class org.zeromq.ZMQ$Event is new. Moreover, the SCM details recorded in their respective pom.xml files are different. (See attached diff.) Does anyone have any idea what the significance of this is? My guess is that I should just use the more recent jar, and that provided I wasn't depending on classes from org.jeromq (which I wasn't) then it should all be fine. I'm mainly asking because I don't like mysteries. (That said, the thought that the content of release builds might change is a bit unsettling.) Thanks, Robin diff -r v1/META-INF/MANIFEST.MF v2/META-INF/MANIFEST.MF 5,6c5,6 Build-Jdk: 1.7.0_45 Bnd-LastModified: 1388520924615 --- Build-Jdk: 1.7.0_55 Bnd-LastModified: 1400163603536 13,15c13 Export-Package: org.jeromq;uses:=zmq;version=0.3.3,org.zeromq;uses:= zmq;version=0.3.3,zmq;version=0.3.3,org.jeromq.codec;uses:=zmq;ve rsion=0.3.3 --- Export-Package: org.zeromq;uses:=zmq;version=0.3.3,zmq;version=0.3.3 diff -r v1/META-INF/maven/org.zeromq/jeromq/pom.properties v2/META-INF/maven/org.zeromq/jeromq/pom.properties 2c2 #Tue Dec 31 16:15:53 AST 2013 --- #Thu May 15 11:20:30 ADT 2014 diff -r v1/META-INF/maven/org.zeromq/jeromq/pom.xml v2/META-INF/maven/org.zeromq/jeromq/pom.xml 22,24c22,24 urlg...@github.com:zeromq/jeromq3-x.git/url connectionscm:git:g...@github.com:zeromq/jeromq3-x.git/connection developerConnectionscm:git:g...@github.com:zeromq/jeromq3-x.git/developerConnection --- urlg...@github.com:zeromq/jeromq.git/url connectionscm:git:g...@github.com:zeromq/jeromq.git/connection developerConnectionscm:git:g...@github.com:zeromq/jeromq.git/developerConnection 102a103,121 /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.11/version executions execution phasevalidate/phase goals goalcheck/goal /goals configuration consoleOutputtrue/consoleOutput includeTestSourceDirectorytrue/includeTestSourceDirectory configLocation${project.basedir}/src/checkstyle/checks.xml/configLocation failOnViolationfalse/failOnViolation !-- will be turned on -- /configuration ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] Higher level zeromq orchestration
You'll probably be able to use the Majordomo protocol (and implementation at https://github.com/zeromq/majordomo for this. On Thu, Oct 9, 2014 at 2:26 AM, Al MailingList alpal.mailingl...@gmail.com wrote: Hi all, Apologies if this question is irrelevant or ill conceived ... I've previously used zeromq and thoroughly enjoyed the experience. I am considering using it again for a slightly larger project (which is very much still a thought bubble) and am taking some time to consider options. I have a rudimentary understanding of the power zeromq offers, but I'm more interested if anyone can point me at a project or documentation or ideally a library that assists with orchestration of a full message processing topology. The mythical library I'm searching for would assist with worker management, assisting with deploying additional or intermediary nodes and auto generating zeromq queues/queue end points etc. For example, I have a node that spawns two workers A and B. At one point in execution everything is working fine - A passes messages to node B over a single queue. I now want to dynamically introduce node C in the middle of the two nodes to do some additional processing, and change the zeromq plumbing accordingly. Is this a case of just get on with it and implement the logic yourself - zeromq is just the transport, or can someone point me at a library or project that has gone some way to handling this? Full disclosure: I'm only a third of the way through code connected so if it is covered later in the book I apologise! Regards, Al ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] jeromq-0.3.3 builds
Hi Robin, I think a previous build might have been overwritten. See: - https://github.com/zeromq/jeromq3-x/tree/v0.3.3 - https://github.com/zeromq/jeromq/tree/v0.3.3 I would run a diff between to two to see if there are any significant differences. I would use the latest stable build which is v0.3.4. Regards, Trevor On Fri, Oct 10, 2014 at 7:24 AM, Robin Newton robin.new...@linguamatics.com wrote: Hi, I'm using JeroMQ 0.3.3 in a product, and I've just noticed that there's a difference between the jar I've been using up until now, and the one that's currently downloadable (from https://oss.sonatype.org/content/repositories/releases/org/zeromq/jeromq/0.3.3/). Many of the class files are different, but that could mean anything, and I'm not about to start poking around that in detail. However, there are other differences suggesting the builds were done with different source: the org.jeromq package was present in the older jar, but not the most recent; the class org.zeromq.ZMQ$Event is new. Moreover, the SCM details recorded in their respective pom.xml files are different. (See attached diff.) Does anyone have any idea what the significance of this is? My guess is that I should just use the more recent jar, and that provided I wasn't depending on classes from org.jeromq (which I wasn't) then it should all be fine. I'm mainly asking because I don't like mysteries. (That said, the thought that the content of release builds might change is a bit unsettling.) Thanks, Robin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[zeromq-dev] jeromq raw-sockets
Hi Trevor, thanks for your work on JeroMQ. Are raw sockets on the road map? I would like to use JeroMQ as a backend for web-requests like Mongrel. Regards, Benjamin On Fri, Oct 10, 2014 at 1:45 PM, Trevor Bernard trevor.bern...@gmail.com wrote: Hi Robin, I think a previous build might have been overwritten. See: - https://github.com/zeromq/jeromq3-x/tree/v0.3.3 - https://github.com/zeromq/jeromq/tree/v0.3.3 I would run a diff between to two to see if there are any significant differences. I would use the latest stable build which is v0.3.4. Regards, Trevor On Fri, Oct 10, 2014 at 7:24 AM, Robin Newton robin.new...@linguamatics.com wrote: Hi, I'm using JeroMQ 0.3.3 in a product, and I've just noticed that there's a difference between the jar I've been using up until now, and the one that's currently downloadable (from https://oss.sonatype.org/content/repositories/releases/org/zeromq/jeromq/0.3.3/ ). Many of the class files are different, but that could mean anything, and I'm not about to start poking around that in detail. However, there are other differences suggesting the builds were done with different source: the org.jeromq package was present in the older jar, but not the most recent; the class org.zeromq.ZMQ$Event is new. Moreover, the SCM details recorded in their respective pom.xml files are different. (See attached diff.) Does anyone have any idea what the significance of this is? My guess is that I should just use the more recent jar, and that provided I wasn't depending on classes from org.jeromq (which I wasn't) then it should all be fine. I'm mainly asking because I don't like mysteries. (That said, the thought that the content of release builds might change is a bit unsettling.) Thanks, Robin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] jeromq raw-sockets
We tend not to develop against a road map -- we pose problems then solve them. This avoids creating features that no one uses. In the case of raw sockets, this is already in libzmq and shouldn't be that difficult to port into JeroMQ. I would create an issue in GitHub. Even better would be if you submitted a pull request with the fix. -Trev On Fri, Oct 10, 2014 at 11:40 AM, Benjamin benjamin.l.cor...@gmail.com wrote: Hi Trevor, thanks for your work on JeroMQ. Are raw sockets on the road map? I would like to use JeroMQ as a backend for web-requests like Mongrel. Regards, Benjamin On Fri, Oct 10, 2014 at 1:45 PM, Trevor Bernard trevor.bern...@gmail.com wrote: Hi Robin, I think a previous build might have been overwritten. See: - https://github.com/zeromq/jeromq3-x/tree/v0.3.3 - https://github.com/zeromq/jeromq/tree/v0.3.3 I would run a diff between to two to see if there are any significant differences. I would use the latest stable build which is v0.3.4. Regards, Trevor On Fri, Oct 10, 2014 at 7:24 AM, Robin Newton robin.new...@linguamatics.com wrote: Hi, I'm using JeroMQ 0.3.3 in a product, and I've just noticed that there's a difference between the jar I've been using up until now, and the one that's currently downloadable (from https://oss.sonatype.org/content/repositories/releases/org/zeromq/jeromq/0.3.3/). Many of the class files are different, but that could mean anything, and I'm not about to start poking around that in detail. However, there are other differences suggesting the builds were done with different source: the org.jeromq package was present in the older jar, but not the most recent; the class org.zeromq.ZMQ$Event is new. Moreover, the SCM details recorded in their respective pom.xml files are different. (See attached diff.) Does anyone have any idea what the significance of this is? My guess is that I should just use the more recent jar, and that provided I wasn't depending on classes from org.jeromq (which I wasn't) then it should all be fine. I'm mainly asking because I don't like mysteries. (That said, the thought that the content of release builds might change is a bit unsettling.) Thanks, Robin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[zeromq-dev] CZMQ Build on Windows.
Just a little feedback. Finally, at last, I've been able to build CZMQ on Windows. Had to configure both projects in the CZMQ solution with 'include' and 'linker' instructions pointing at relevant zeromq-4.0.4 folders on my machine. The Visual Studio 2013 solution files worked well except for this from the file: libzmq.import.props Copy Condition=$(Configuration.IndexOf('Release')) != -1 !-- SourceFiles=$(ProjectDir)..\..\..\..\..\libzmq\bin\$(PlatformName)\Release\ $(PlatformToolset)\dynamic\libzmq.dll -- THIS LINE COULD NOT FIND libzmq.dll SourceFiles=C:\zeromq-4.0.4\bin\Win32\libzmq.dll SO I USED THIS INSTEAD; WHICH WORKED DestinationFiles=$(TargetDir)libzmq.dll SkipUnchangedFiles=true / Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev