BUG: Fix building NumPy in FIPS mode by charris · Pull Request #27130 · numpy/numpy
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 12.3k
Merged
charris merged 1 commit intonumpy:maintenance/2.0.xfrom
Aug 6, 2024Merged
BUG: Fix building NumPy in FIPS mode#27130
charris merged 1 commit intonumpy:maintenance/2.0.xfrom
BUG: Fix building NumPy in FIPS mode#27130
charris merged 1 commit intonumpy:maintenance/2.0.xfrom
Conversation
Copy link Copy Markdown
Member
charris
commented
Aug 6, 2024
charris
commented
Backport of #27104.
MD5 is an insecure cryptogrpahic hashing algorithm and is therefore blocked in FIPS mode. NumPy uses MD5 has digest algorithm without any security requirements. Use usedforsecurity=False flag to tell OpenSSL that the use of MD5 is okay in FIPS enforcing mode. I implemented the flag in Python 3.9 for exactly this purpose
Fixes: #27099
MD5 is an insecure cryptogrpahic hashing algorithm and is therefore blocked in FIPS mode. NumPy uses MD5 has digest algorithm without any security requirements. Use `usedforsecurity=False` flag to tell OpenSSL that the use of MD5 is okay in FIPS enforcing mode. I implemented the flag in Python 3.9 for exactly this purpose Fixes: numpy#27099 Signed-off-by: Christian Heimes <christian@python.org>
charris
added this to the
2.0.2 release milestone
charris
merged commit
225805f
into
numpy:maintenance/2.0.x
charris
deleted the
backport-27104
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment