Antoine Pitrou <pit...@free.fr> added the comment:

With PEP 393 unicode objects can have several representations, which makes it 
unlikely that *really* constant-timing functions can be devised.

Speaking about this particular patch, I don't understand the point. 
secure_compare() is obviously meant to be used on inputs of some known length, 
not arbitrary data.

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15061>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to