[zeromq-dev] Authentication with curve

Nicolas Delaby ticosax at free.fr
Tue Dec 31 18:51:34 CET 2013


On 12/31/2013 06:30 PM, Drew Crawford wrote:
> Hi Nicolas,
>
> I’m reasonably sure we have the same problem, and I’ve gotten somewhat further along without solving it.  We may want to compare notes.  Take a look at my thread "How do I find out which ZAP user I'm talking to?”.

Hi Drew,
Yes indeed, we are facing same issue.
So far I'm using an ugly hack assuming that the immediate next recv() 
contains the identity of the peer I just authorized within my 
zap_handler. This code is not used yet on production, so I believe it 
works only by chance. I wanted to have confirmation from zeromq dev.

My attitude on open-source project is to come with a pull request when 
my needs are not fulfilled. But unfortunately C++ is way far beyond my 
skills. So I hope to find here new ideas I didn't thought about it.

Your testimony doesn't make me feel more confident :)

As an ultimate workaround I will probably fallback on zmq.PLAIN + stunnel.

Cheers,
Nicolas



More information about the zeromq-dev mailing list