-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support OpenSSL 3.0 SymCrypt provider and engine for bookworm #18088
Conversation
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.
Hi @xumia -is there any ETA for this fix?
0482776
to
f48bb1c
Compare
The upstream symcrypt repo to support provider + engine is not ready yet. Some of the OpenSSL UTs are failed. It is only for test now. Maybe in this month. |
12a1541
to
16cc57d
Compare
/azp run ms_conflict |
No pipelines are associated with this pull request. |
/azpw ms_conflict |
@qiluo-msft @zjswhhh help to review this PR? Need to get into master to meet the 202405 due date (end of May). |
16cc57d
to
69d3047
Compare
@xumia At least in the Broadcom build (likely other platforms as wel), it doesn' t look like the FIPS version of openssh is getting built. From the logs:
Is there some dependency that needs to be updated? Edit: never mind, it's getting packaged in:
|
The FIPS version of OpenSSH will be built as one of the extra packages depended by all of the platform images. |
One observation on the openssh fips image unpack. Buildimage has non fips openssh as well as openssh fips debians together. It looks to me FIPS one is always unpacked and used. This means when FIPS is disabled, sonic still uses the openssh fips libraries/binaries. Is this by design? |
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
For the first question, when INCLUDE_FIPS is set, it is by design to use the libraries. |
@qiluo-msft Please help to review. Thanks. |
Why I did it
Support OpenSSL 3.0 SymCrypt provider and engine for bookworm
Restore the feature support for SymCrypt-OpenSSL.
For bookworm, using OpenSSL 3.0.11, it supports both provider and engine. The engine is in deprecating, it will be deprecated in the long term. Currently, some of the applications which still use the low-level OpenSSL APIs are not ready to migrate to OpenSSL provider, so OpenSSL engine will still be used for some time.
The OpenSSL SymCrypt provider and engine are included in the openssl-symcrypt debian package (>=1.0-preview).
Work item tracking
How I did it
Integrate the OpenSSL SymCrypt provider and engine into SONiC to restore the SONiC FIPS feature.
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)