authpub

File List
Login

The union of all files from all check-ins in the top-level directory


authpub

This is a simple example of how to use ZeroMQ's PLAIN security mechanism from a C++ project. It pulls in libsodium to do the actual password checking, because that is both important and non-obvious, but other things you would want to do in a production application are elided for reasons of "I didn't want to spend the time and it's an example anyway." There are explanatory comments throughout the code.

I'm not primarily a C++ dev so it's a bit of a mess, sorry.

With the exception of the CMake goop to pull in libsodium, which has its own license header, all code in this project is placed in the public domain to the extent possible; see the file LICENSE.txt for more such words.