oslo.utils/releasenotes/notes/deprecate-constant_time_compare-53669f464c9811c1.yaml
Takashi Kajinami 1bd3e6142b Deprecate redundant constant_time_compare function
hmac.compare_digest has been available since Python 3.3 [1], so this
function is just a redundant wrapper for it in Python 3.x .

[1] https://docs.python.org/3/library/hmac.html#hmac.compare_digest

Closes-Bug: #2081732
Change-Id: I5203be58cb2aeb3b9d127840fd4b995bfb62fe4c
2024-10-01 12:49:24 +00:00

7 lines
190 B
YAML

---
deprecations:
- |
The ``oslo_utils.secretutils.constant_time_compare`` function has been
deprecated. Use the ``compare_digest`` function from the built-in ``hmac``
module.