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/
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to