Skip to content

pulp_hashlib.new() fails on FIPS systems for non-security hashes #7434

@kush-gupt

Description

@kush-gupt

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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions