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

Authentication and Encryption #35

Closed
3 of 8 tasks
digitalextremist opened this issue Mar 31, 2014 · 6 comments
Closed
3 of 8 tasks

Authentication and Encryption #35

digitalextremist opened this issue Mar 31, 2014 · 6 comments
Labels

Comments

@digitalextremist
Copy link
Member

In early analysis of 0MQ security underlying DCell, it seems the best way to bring authentication and encryption to DCell is by implementing CurveZMQ:

https://github.com/zeromq/libcurve

Research the API; if possible and wise: integrate libcurve to provide security for DCell.

  • Research API
  • Write integration
  • Test implementation
  • Write applicable tests
  • Update documentation
  • Write example code

Coverage:

  • Encryption
  • Authentication
@digitalextremist
Copy link
Member Author

@tarcieri / @chuckremes -- In ZMQland, is there ever a time that a:

  • Subscribing socket
  • Pulling socket, or
  • Requesting socket

...would ever be a server?

@digitalextremist
Copy link
Member Author

It seems like the whole concept of server vs. client is a misnomer in this case.

Whoever has the secret is the receiver of the connection, and therefore the server but the client doesn't seem to be read only in every case.

@Asmod4n
Copy link

Asmod4n commented May 8, 2014

Authentication and Encryption is already there: https://github.com/Asmod4n/celluloid-zmq-zap/blob/master/examples/curve_redis.rb

Its just that ZAP is broken, or at last it was when i was testing it.
When a client connects with wrong credentials the server will storm the handler forever and there is no error or anything propagated anywhere. @digitalextremist @tarcieri @chuckremes

@Asmod4n
Copy link

Asmod4n commented May 8, 2014

With Router(Server) and Dealer(Client) sockets after sending a message from a dealer to a router they both can exchange messages in any way, fully async.

http://zguide.zeromq.org/page:all#advanced-request-reply
http://zguide.zeromq.org/page:all#The-DEALER-to-ROUTER-Combination

@Asmod4n
Copy link

Asmod4n commented Mar 28, 2015

czmq is about to get official ruby bindings, so my wrapper won't receive any updates anymore: https://github.com/zeromq/czmq/tree/master/bindings/ruby/lib/czmq/ffi

@digitalextremist
Copy link
Member Author

Will reapproach once bindings land.

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

No branches or pull requests

2 participants