[IPython-dev] Disabling Authentication for Kernels

Thomas Kluyver takowl at gmail.com
Mon Mar 2 16:58:10 EST 2015


On 2 March 2015 at 12:58, Andrew Gibiansky <andrew.gibiansky at gmail.com>
wrote:

> Is the signature supposed to be in any way readable? I am getting
> something like
>
>
> \xf6\xd9hV\xea\xa0\xe1\x9cV\x9f"\xa5\x04\x8f\x87\x05\xd4=\xde\x04V4\xcc\x9eo\xcc/\x10\x92\x16I\x0f
>

That's the raw bytes; you need to get the hex digest. In Python, an HMAC
object has methods .digest() and .hexdigest(), and we use the latter. If
there isn't an explicit way to get the hex digest, translating the bytes to
hex should work.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/210d71bb/attachment.html>


More information about the IPython-dev mailing list