Version: main (0e52cd7)
Bug: pulp_hashlib.new() calls hashlib.new() without usedforsecurity=False, raising UnsupportedDigestmodError on FIPS-enabled systems when ALLOWED_CONTENT_CHECKSUMS includes md5 or sha1.
Expected: Non-security content-addressing hashes should pass usedforsecurity=False to hashlib.new().
Version: main (0e52cd7)
Bug:
pulp_hashlib.new()callshashlib.new()withoutusedforsecurity=False, raisingUnsupportedDigestmodErroron FIPS-enabled systems whenALLOWED_CONTENT_CHECKSUMSincludes md5 or sha1.Expected: Non-security content-addressing hashes should pass
usedforsecurity=Falsetohashlib.new().