src.dualinventive.com/go/dinet/vendor/github.com/pebbe/zmq4/examples_security
Jerry Jacobs 1193c82181 initial 2024-08-09 12:10:16 +02:00
..
Makefile initial 2024-08-09 12:10:16 +02:00
README.md initial 2024-08-09 12:10:16 +02:00
grasslands.go initial 2024-08-09 12:10:16 +02:00
ironhouse.go initial 2024-08-09 12:10:16 +02:00
stonehouse.go initial 2024-08-09 12:10:16 +02:00
strawhouse.go initial 2024-08-09 12:10:16 +02:00
woodhouse.go initial 2024-08-09 12:10:16 +02:00

README.md

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.