
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
7 lines
190 B
YAML
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.
|