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

[VL] Link openssl dynamicly for FIPS #8232

Open
FelixYBW opened this issue Dec 13, 2024 · 4 comments
Open

[VL] Link openssl dynamicly for FIPS #8232

FelixYBW opened this issue Dec 13, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@FelixYBW
Copy link
Contributor

Description

In some use cases we need to enable FIPS for openssl and use certain version of system installed libcrypto. It's related to security requirement. Let's add the exception of openssl for static link.

@FelixYBW FelixYBW added the enhancement New feature or request label Dec 13, 2024
@PHILO-HE
Copy link
Contributor

@FelixYBW, can static link still be used for openssl if required openssl & libcrypto version are installed by vcpkg?

@FelixYBW
Copy link
Contributor Author

No, it's said the libcrypto.so is certified. vcpkg does have FIPS enabled option but looks it's not enough. To avoid any potential issue related to security, the safe way is to use system's libcrypto.so always.

So we need to add an option to remove libssl from vcpkg, use system installed one instead. Is it easy?

@PHILO-HE
Copy link
Contributor

@FelixYBW, it seems a bit complex to handle it. Openssl is also introduced as a transitive dependency. I note grpc, folly and aws-sdk-cpp are depending on it. If we want to use shared openssl thoroughly, we may have to also remove these libs from vcpkg since static openssl lib is linked to these libs in vcpkg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants