[zeromq-dev] Documentation error for "ZMQ_CURVE_SERVER: Set CURVE server role"

Peter Kleiweg pkleiweg at xs4all.nl
Wed Oct 23 12:38:30 CEST 2013


Pieter Hintjens schreef op de 23e dag van de wijnmaand van het jaar 2013:

> For both clients and servers one must set public and secret keys; for
> clients one additionally sets the server's public key, and for servers
> one tells libzmq it is a server.

I got examples working without setting the public key on the 
server (modified from your examples in "Using ZeroMQ Security 
(part 2)").

All I do for server is:

  SetCurveServer(1)
  SetCurveSecretkey(server_secret_key)

For client, I do:

  SetCurveServerkey(server_public_key)
  SetCurvePublickey(client_public_key)
  SetCurveSecretkey(client_secret_key)




-- 
Peter Kleiweg
http://pkleiweg.home.xs4all.nl/



More information about the zeromq-dev mailing list