micahflee/onionshare — pull request #4 by andrew-d (2014-05-21 22:30:34+00:00)
Title: Use constant-time string comparison (fixes #3)

Note: this isn't 100% constant-time, as can be seen here:

http://bugs.python.org/issue15061

Specifically: "Note that it takes different time to create a result of ord() depending whether it's <=100 or > 100 due to caching of small numbers."