Skip to content
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

(PUP-12047) Add logic to skip MD5 checksum method on a FIPS system #9409

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

AriaXLi
Copy link
Contributor

@AriaXLi AriaXLi commented Jul 2, 2024

This commit adds logic in http_metadata.rb to skip MD5 related checksums when FIPS is enabled since MD5 is not supported on FIPS enabled systems. Additionally, a test is added to http_metadata_spec.rb that checks that the MD5 checksum type is skipped on FIPS enabled platforms.

Cherry picked from two commits:
(cherry picked from commit 1f7c8ef)
(cherry picked from commit fa721be)

This commit adds logic in http_metadata.rb to skip MD5 related checksums
when FIPS is enabled since MD5 is not supported on FIPS enabled systems.
Additionally, a test is added to http_metadata_spec.rb that checks that
the MD5 checksum type is skipped on FIPS enabled platforms.

Cherry picked from two commits:
(cherry picked from commit 1f7c8ef)
(cherry picked from commit fa721be)
@AriaXLi AriaXLi requested a review from a team as a code owner July 2, 2024 22:58
@AriaXLi
Copy link
Contributor Author

AriaXLi commented Jul 2, 2024

This is a manual backport of #9405 and #9407 that combines both commits into one.

@joshcooper joshcooper added the bug Something isn't working label Jul 2, 2024
@AriaXLi AriaXLi merged commit 079ddf8 into puppetlabs:7.x Jul 2, 2024
12 checks passed
@AriaXLi AriaXLi deleted the backport_PUP-12047 branch July 2, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants