Addendum Fix to support FIPS enabled machines with MD5 hashing (#17043)
Signed-off-by: sydarb <areebsyed237@gmail.com>
This commit is contained in:
+2
-1
@@ -794,6 +794,7 @@ def compute_hash() -> str:
|
||||
if key in environment_variables:
|
||||
factorize(key)
|
||||
|
||||
hash_str = hashlib.md5(str(factors).encode()).hexdigest()
|
||||
hash_str = hashlib.md5(str(factors).encode(),
|
||||
usedforsecurity=False).hexdigest()
|
||||
|
||||
return hash_str
|
||||
|
||||
Reference in New Issue
Block a user