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

Fix CurveMQ for libsodium feature #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

esemeniuc
Copy link

@esemeniuc esemeniuc commented May 30, 2024

I tried https://github.com/bartols/rust-zmq, https://github.com/SylvainMartel/rust-zmq, and https://github.com/conanoc/rust-zmq/tree/libsodium, they didn't work for me. Only 0.9.2 worked.

Simple test:

        let publisher_keypair = zmq::CurveKeyPair::new().unwrap();
        let subscriber_keypair = zmq::CurveKeyPair::new().unwrap();

        println!("Publisher Public Key: {:?}", publisher_keypair.public_key);
        println!("Publisher Secret Key: {:?}", publisher_keypair.secret_key);
        println!("Subscriber Public Key: {:?}", subscriber_keypair.public_key);
        println!("Subscriber Secret Key: {:?}", subscriber_keypair.secret_key);

Fixes: #357

References:
jean-airoldie/zeromq-src-rs#32

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

Successfully merging this pull request may close these issues.

Curve encryption does not work with 0.10.0
1 participant