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 not working #640

Open
muscleman opened this issue Jul 8, 2024 · 5 comments
Open

Curve not working #640

muscleman opened this issue Jul 8, 2024 · 5 comments

Comments

@muscleman
Copy link

following some examples of implementing curve on a pub/sub i get cannot set public, secret or server public keys

setting socket.curveserver = true throws exceptions too.

  • OS: [Ubuntu 22.04]
  • ZeroMQ.js version: [6.0.0-beta.20]
@muscleman muscleman added the bug label Jul 8, 2024
@aminya
Copy link
Member

aminya commented Jul 8, 2024

Curve is not included in the prebuilt binaries anymore following the upstream approach. You should build the binaries from the source if that is desired.
Also see,
#638 (comment)

@muscleman
Copy link
Author

muscleman commented Jul 9, 2024

so adding
`
#.npmrc

build_from_source=true
zmq_draft=true
`

and setting
#build.ts -DWITH_LIBSODIUM=ON

is enough to get curve?

@muscleman
Copy link
Author

nope, still want work

@muscleman
Copy link
Author

would be super helpful if someone could do a little documentation on how to turn on curve

@aminya aminya added the 6.x label Aug 13, 2024
@damiDev8
Copy link

damiDev8 commented Sep 9, 2024

@aminya is it planned that curve will be reintegrated into the prebuilt binaries?

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

3 participants