summaryrefslogtreecommitdiffstats
path: root/openstack/common/setup.py
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-03-19 17:07:24 -0400
committerRussell Bryant <rbryant@redhat.com>2012-03-19 17:11:23 -0400
commitb3f900170561c03b40d376e76fdedf49799e0c7d (patch)
treeb8710138e3d6b50777e506325465defa81eb96c6 /openstack/common/setup.py
parent13ed88186bb5c6a1900c3bb742d06743fd21ac58 (diff)
downloadoslo-b3f900170561c03b40d376e76fdedf49799e0c7d.tar.gz
oslo-b3f900170561c03b40d376e76fdedf49799e0c7d.tar.xz
oslo-b3f900170561c03b40d376e76fdedf49799e0c7d.zip
Add auth_str_equal() to common utils.
This function provides a constant-time string comparison. Its primary use case is for authentication to avoid timing vulnerabilities. Similar functions currently exist in keystone, nova, and swift. The three diverged in slight ways immediately after going in. This version comes from keystone, which I consider the "best" version to promote to openstack-common. Change-Id: I39537a21be8a402e34e526466f6b90188344a35d
Diffstat (limited to 'openstack/common/setup.py')
0 files changed, 0 insertions, 0 deletions