Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted sockets #131

Open
ajkeller34 opened this issue Jan 18, 2017 · 0 comments
Open

Encrypted sockets #131

ajkeller34 opened this issue Jan 18, 2017 · 0 comments

Comments

@ajkeller34
Copy link

It'd be nice to enable encryption functionality for sockets so that I could use ZeroMQ over a public network. It seems like it would be a pretty straightforward PR to enable setting socket options for zmq_curve, except that it appears these socket options were introduced in ZMQ v4, and ZMQ.jl also supports ZMQ v3. If a PR is welcome, would the recommended approach be to do something like this but also check the ZeroMQ version in the new definitions?

On a related note, it seems like version is declared as global const in __init__(), which the Julia documentation (modules section) says not to do when you precompile a module. In the same PR I could define const version = Ref{VersionNumber}() outside of __init__ and then copy the version in during __init__. I don't know if anyone is checking ZMQ.version in their packages, but they would have to then check ZMQ.version[] instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants