azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

Add OpenSSL FIPS provider

Open corvus-callidus opened this issue 1 month ago • 0 comments

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • [ ] The toolchain has been rebuilt successfully (or no changes were made to it)
  • [ ] The toolchain/worker package manifests are up-to-date
  • [ ] Any updated packages successfully build (or no packages were changed)
  • [ ] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • [ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • [x] All package sources are available
  • [ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • [ ] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • [ ] All source files have up-to-date hashes in the *.signatures.json files
  • [ ] sudo make go-tidy-all and sudo make go-test-coverage pass
  • [ ] Documentation has been updated to match any changes to the build system
  • [ ] Ready to merge

Summary

This adds a new package named openssl-fips-provider which will install the OpenSSL 3.1.2 FIPS provider and associated config file. This package has a mutual conflict with the SymCrypt-OpenSSL package. This change also updates the OpenSSL provider loading patch to allow loading one or the other of the FIPS-certified providers.

Change Log
  • Add openssl-fips-provider
  • In SymCrypt-OpenSSL.spec, add conflict with openssl-fips-provider
  • In OpenSSL, modify the provider loading patch to allow loading either SCOSSL or the OpenSSL FIPS provider
Does this affect the toolchain?

YES

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Pipeline build id: 988199
  • LISA tests

corvus-callidus avatar Nov 22 '25 01:11 corvus-callidus