-
Notifications
You must be signed in to change notification settings - Fork 0
FIPS Adaptations #1
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
base: main
Are you sure you want to change the base?
Conversation
find ${TOOLS_PATH}/deps -name '*.so*' -exec rm {} \; | ||
# FIPS: In order to build FIPS compatible Python, we don't want to | ||
# remove the shared libraries libssl and libcrypto | ||
find ${TOOLS_PATH}/deps -name '*.so*' ! -name 'libssl.*' ! -name 'libcrypto.*' -exec rm {} \; |
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.
Important!
@@ -389,7 +391,7 @@ CONFIGURE_FLAGS=" | |||
--build=${BUILD_TRIPLE} | |||
--host=${TARGET_TRIPLE} | |||
--prefix=/install | |||
--with-openssl=${TOOLS_PATH}/deps | |||
--with-builtin-hashlib-hashes=sha256,sha512 |
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.
Important!
@@ -37,12 +37,14 @@ EXTRA_TARGET_CFLAGS=${EXTRA_TARGET_CFLAGS/\-arch x86_64/} | |||
|
|||
EXTRA_FLAGS="${EXTRA_FLAGS} ${EXTRA_TARGET_CFLAGS}" | |||
|
|||
# FIPS: Notice the 'fips' and 'shared' flags |
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.
Important!
section = ( | ||
"static" if "static" in build_options else info.get("build-mode", "static") | ||
) | ||
# FIPS: Always shared |
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.
Important!
@@ -245,10 +245,10 @@ | |||
# using the latest available. | |||
# Remember to update OPENSSL_VERSION_INFO in verify_distribution.py whenever upgrading. | |||
"openssl-3.0": { |
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.
Important!
--prefix=/tools/deps \ | ||
--libdir=lib \ | ||
${OPENSSL_TARGET} \ | ||
no-legacy \ | ||
no-shared \ | ||
shared \ |
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.
@vitalis89 a few questions: |
@medigate-nir, please read here : https://team82.atlassian.net/browse/XD-23933?focusedCommentId=252684 |
No description provided.