-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When running in a FIPS-enabled environment, deploy always calls Checksums.generate, which tries to compute MD5 and SHA1. These algorithms are disabled in FIPS, so it raises:
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS
To Reproduce
Steps to reproduce the behavior:
- Run
deploy(...)inside a Python container with FIPS OpenSSL enabled - See error when
Checksums.generateis invoked
Expected behavior
If checksum_enabled=False, checksum generation should be skipped entirely.
Screenshots
Work restricted - N/A
Environment:
- OS: Linux (GitLab EKS runner with FIPS-enabled OpenSSL)
- pyartifactory version: [2.10.0]
Additional context
Issue has been worked in a PR of mine (linked)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working