Avoid checksum generation when not desired to circumvent FIPS problems#222
Conversation
|
Hey @tommycbird , |
|
Hey @anancarv sorry for the late reply. Yes not adding checksums at all will cause a warning on Artifactory, which is annoying. I would suggest then to make this update be a modification to the |
Hey @tommycbird , |
|
Also, the lint job is failing on the |
1c4a313 to
ac23195
Compare
|
Rebased with |
|
Tests added and passing. Put it in a try catch, and made it call the get_hash from where |
Description
Resolves Issue: #223 (comment)
When running under a FIPS-enabled OpenSSL build,
Checksums.generateraises the following:ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPSYou would think that by marking deploy with
checksum_enabled=Falseit would circumvent this, but even though it does not use the checksum in this scenario, it still makes a call toChecksums.generatewhich is redundant and makes it impossible to avoid this specific problem.Type of change
How has it been tested ?
checksum_enabled=True(verified expected behavior)checksum_enabled=False(FIPS error gone)Checklist: