Christian Heimes <li...@cheimes.de> added the comment:

I don't see how the function is going to leak this information when both this 
patch and the patch in #14955 are applied. With 
http://bugs.python.org/file25801/secure-compare-fix-v2.patch ord() is no longer 
used and thus avoid the timing difference for integers > 256 (NSMALLPOSINTS is 
defined as 257, not 100).

----------
title: hmac.secure_compare() leaks information of  length of strings -> 
hmac.secure_compare() leaks information about  length of strings

_______________________________________
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