Hi,
I am trying to solve the following: using the standard CURVE mechanism
for authentication, how can I get either the full public key or the
fingerprint of the public key the client used to connect, from a
received message frame from that respective client?
zmq_msg_gets seems to retrieve all sorts of possibly useful fields set
by the authenticator mechanism ("User-Id", ..). However, this just seems
to be briefly mentioned at http://api.zeromq.org/4-2:zmq-msg-gets
without a comprehensive list, and the only guide on Curve ZMQ I could
find http://curvezmq.org/page:read-the-docs seems to be more of a
specification of the raw protocol, not the api of the zmq default
implementation.
In addition, "User-Id" specifically just seems to contain "user" (as an
actual string) for my test, which doesn't really seem to be useful
information(?).
Therefore, I wondered whether there is:
1. a complete list/documentation of all fields set by the curve ZAP
mechanism as provided in the standard implementation (like "User-Id" and
others)
2. a specific field or some other helper function that allows me to
obtain the respective public key of a message frame
Sorry if I missed some obvious guide that contains all this info, please
feel free to link if there is one!
Regards,
Jonas Thiem
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev