-
Notifications
You must be signed in to change notification settings - Fork 57
Avoid checksum generation when not desired to circumvent FIPS problems #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
anancarv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Good work 😃
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: