Disable Openssl engine support
Summary
We disable support of engines in OpenSSL
Owner
- Name: Dmitry Belyavskiy
- Email: dbelyavs@redhat.com
Current status
- Targeted release: Fedora Linux
- Last updated: 2024-04-04
- Announced
- Discussion Thread
- FESCo issue: #3182
- Tracker bug: N/A
- Release notes tracker: N/A
Detailed Description
We are going to build OpenSSL without engine support. Engines are not FIPS compatible and corresponding API is deprecated since OpenSSL 3.0. The engine functionality we are aware of (PKCS#11, TPM) is either covered by providers or will be covered soon.
Feedback
Benefit to Fedora
We get rid of deprecated functionality and enforce using up-to-date API. Engine support is deprecated in OpenSSL upstream, and after provider migration caused some deficiencies with engine support. No new features will be added to engine. So we reduce maintenance burden and potentially attack surface.
It follows approach planned for CentOS 10.
Scope
- Proposal owners: maintainers of packages enumerated here: https://clang.fedorapeople.org/c10s-engine-users/ plus probably owners of some Fedora-only packages
For most of the packages the maintainers will just have to rebuild their packages after the OpenSSL change lands in compose. For several packages some patches should be implemented to prevent compilation errors.
- Other developers: -
- Release engineering: #Releng issue number
This change probably requires mass-rebuild.
- Policies and guidelines: We need reject/modify packages providing OpenSSL engines
- Trademark approval: N/A (not needed for this Change)
- Alignment with Community Initiatives:
Upgrade/compatibility impact
OpenSSL engines will no longer be supported. Engines will not be supported in openssl configuration files (presumably silently ignored). Users will have to reconfigure systems to providers if they use engines.
How To Test
OpenSSL libcrypto.so doesn't export any ENGINE_* symbols (~120 lines). Application is normally built.
User Experience
Users will have to reconfigure systems to providers if they use engines. No other changes are expected.
Dependencies
In theory, all OpenSSL-dependent packages. In practice, only those that explicitly use ENGINE api.
Contingency Plan
Reenable engine support but remove engine header file to allow old applications work preventing appearing new ones.
- Contingency mechanism: (What to do? Who will do it?) rebuild OpenSSL and dependent packages
- Contingency deadline: beta freeze?
- Blocks release? Yes
Documentation
TBD
Release Notes
TBD