← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2081732] Re: oslo_utils.secretutils.constant_time_compare is redundant

 

** Also affects: ceilometer
   Importance: Undecided
       Status: New

** Also affects: keystonemiddleware
   Importance: Undecided
       Status: New

** Also affects: octavia
   Importance: Undecided
       Status: New

** Also affects: osprofiler
   Importance: Undecided
       Status: New

** Also affects: nova
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2081732

Title:
  oslo_utils.secretutils.constant_time_compare is redundant

Status in Ceilometer:
  New
Status in keystonemiddleware:
  New
Status in OpenStack Compute (nova):
  In Progress
Status in octavia:
  New
Status in oslo.utils:
  Fix Released
Status in osprofiler:
  New

Bug description:
  The constant_time_compare function is equivalent to
  hmac.compare_digest in Python 3, because the constant_time_compare
  function has been available since Python 3.3 .

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

  We can get rid of the redundant wrapper and use the built-in
  implementation instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/2081732/+subscriptions