Support OpenSSL 3.0 SymCrypt provider and engine for bookworm#18088
Support OpenSSL 3.0 SymCrypt provider and engine for bookworm#18088lguohan merged 1 commit intosonic-net:masterfrom
Conversation
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? |
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)