[IPython-dev] pyzmq authentication

Jason Grout jason-sage at creativetrax.com
Thu Jun 2 15:10:06 EDT 2011

On 6/2/11 1:41 PM, MinRK wrote:
> I'm realizing that, in the parallel code at least, there is no way to
> maintain these counters in a synchronized way.  This is because the
> connections are in fact many-to-many, not one-to-many, so the receiver
> can't know the count for the sender, and for load-balanced execution
> the sender doesn't know who the receiver is. What I've done instead to
> prevent sniffed duplicates is to simply keep track of previously seen
> digests, and don't allow repeats.

That makes sense.

> The code is pretty simple, and I'll merge it after the newconfig code is merged.

Did you happen to push it to a github branch somewhere?  If so, we might 
use it pretty much immediately in our Sage "single-cell" web server.

You're right that it should be simple enough to write myself, but I 
figure (*especially* with crypto) it's better to have two eyes looking 
at one piece of code rather than two people rewriting the same thing twice.


More information about the IPython-dev mailing list