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

Curve support zmq::CurveKeyPair::new(); #401

Open
glennpierce opened this issue Jun 10, 2024 · 1 comment
Open

Curve support zmq::CurveKeyPair::new(); #401

glennpierce opened this issue Jun 10, 2024 · 1 comment

Comments

@glennpierce
Copy link

Hi I am running on debian 12,5

I have a zeromq python client script working fine that includes the line

context = zmq.Context()
public_key, secret_key = zmq.curve_keypair()

this script works fine and i need to translate it to rust
but I get errors when doing

// Generate curve keypair
let keypair_result = zmq::CurveKeyPair::new();

I get the error

Err(Operation not supported)

Is the a feature I need to enable. I can see one from the docs

I am using versions

zmq = { version = "0.10", optional = true }
zmq-sys = { version = "0.12.0", optional = true }

Thanks

@esemeniuc
Copy link

My pr fixes it: #400

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

No branches or pull requests

2 participants