[IPython-dev] pyzmq authentication
benjaminrk at gmail.com
Wed Jun 1 19:42:49 EDT 2011
On Wed, Jun 1, 2011 at 16:35, Jason Grout <jason-sage at creativetrax.com> wrote:
> On 6/1/11 6:04 PM, Jason Grout wrote:
>> For example, we
>> could send a hash of the concatenation of the shared secret and the
>> content of the message.
> Of course, as aptly stated by khrafra  and many others, it's always
> better to use the prebuilt libraries to do signing. Here are two
> standard modules that could do authentication:
Certainly true. I've already started writing the signing code with
hmac, but I have to run
and meet some ZeroMQ folks in San Francisco. I should probably have a
sample up tomorrow.
> Standard Python module: http://docs.python.org/library/hmac.html
> Google Keyczar: http://www.keyczar.org/
> : Haha.. you fool! You fell victim to one of the classic blunders. The
> most famous is: Never get involved in a land war in Asia. But only
> slightly less famous is this: Never attempt to roll your own crypto when
> there's a well-tested library that'll do it better!
> IPython-dev mailing list
> IPython-dev at scipy.org
More information about the IPython-dev