Files
src.dualinventive.com/go/redis-proxy/vendor/github.com/pebbe/zmq4/examples_security
2024-08-09 12:10:16 +02:00
..
2024-08-09 12:10:16 +02:00
2024-08-09 12:10:16 +02:00
2024-08-09 12:10:16 +02:00
2024-08-09 12:10:16 +02:00
2024-08-09 12:10:16 +02:00
2024-08-09 12:10:16 +02:00
2024-08-09 12:10:16 +02:00

These are Go versions of the C examples described in Using ZeroMQ Security (part 2) by Pieter Hintjens. Those C examples use the zauth module in the czmq library.

There are some differences:

  • The zauth module doesn't handle domains. The Go version does.
  • The zauth module handles files with usernames/passwords and directories with certificates. The Go version just uses maps of usernames/passwords and lists of public user keys.