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

Oh dead god, what have I done ... I threw a small stone and caused a major 
landslide. :)

I'm all with Nick on this topic. A correctly named and documented function 
provides a tool to users that greatly reduced the change of a side channel 
attack. It's all about teaching good practice. I also agree that we must 
neither call it 'secure' nor documented it as 'secure'. I believe the correct 
term is 'hardened against timing analysis and side channel attacks'

I could wrap up a quick C implementation if you like. The operator module is a 
better place for a total_compare() function. Do you a agree?

I recommend that you read/watch Geremy Condra's  PyCon talk "Through the Side 
Channel: Timing and Implementation Attacks in Python". The slides contain 
timing analysis diagrams.

----------

_______________________________________
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