I was able to setup an encrypted connection with #167, but I couldn't find anything on how to do actual authentication. Currently, only the server is authenticated but any client can connect and send messages.
It would be nice if it'd be possible to add a list of public keys which I trust to send messages.
I've got a decent implementation from my lib here that could be ported if you are interested. The general principle is to start a ZAP handler thread with every context and send commands to it via inproc.
I was able to setup an encrypted connection with #167, but I couldn't find anything on how to do actual authentication. Currently, only the server is authenticated but any client can connect and send messages.
It would be nice if it'd be possible to add a list of public keys which I trust to send messages.