Add support for OpenSSL Provider API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 18 repliesIn review
- v41 patch 14 repliesSuperseded
- v31 patch 14 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 9 replies | Superseded | |
| v1 | 1 patch | 4 replies | Superseded |
Changes in v5 from the cover letter
- Fix Tested-by trailers
- Change error string in drain_openssl_errors()
- Additional testing on RHEL 8 with openssl 1.1.1
- Tested hardware token signing path with SoftHSM
v4: https://lore.kernel.org/u-boot/[email protected]/
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add support for OpenSSL Provider APIlib/ lib/ | +100 | 3 replies | |
| 2/3 | Add pkcs11-provider package to build dependenciesdoc/ tools/ | +3 | 1 reply | |
| 3/3 | rsa: load a pkcs11 token key through OSSL_STORE in the provider pathlib/ | +92 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Enric Balletbo i Serra | Mark Kettenis |
|---|---|---|
| 1/3 | T-b | T-b |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/3] Add support for OpenSSL Provider API
The Engine API has been deprecated since the release of OpenSSL 3.0. End users have been advised to migrate to the new Provider interface. Several distributions have already removed support for engines, which is preventing U-Boot from being compiled in those environments.
This series adds support for the OpenSSL Provider API while continuing to support the existing Engine API on distros shipping older releases of OpenSSL. Build dependencies for local development and CI are also updated, while the final patch adds support for using hardware tokens with the Provider API.
The changes have been tested with the FIT signature verification vboot tests on Fedora 44, Debian 13, and RHEL 8 with OpenSSL 1.1.1. All 37 tests pass with both the legacy Engine library installed and with the Provider API.
---
Changes in v5:
- Fix Tested-by trailers
- Change error string in drain_openssl_errors()
- Additional testing on RHEL 8 with openssl 1.1.1
- Tested hardware token signing path with SoftHSM
v4: https://lore.kernel.org/u-boot/[email protected]/
Changes in v4:
- Add comment that @engine pointer is null when using pkcs11 provider
- Remove extra line break
- Add pkcs11-provider package to build dependencies
v3: https://lore.kernel.org/u-boot/[email protected]/
Changes in v3:
- Removed Kconfig option
- Changed macro symbol from CONFIG_OPENSSL_NO_DEPRECATED to USE_PKCS11_PROVIDER or USE_PKCS11_ENGINE
v2: https://lore.kernel.org/u-boot/[email protected]/
Changes in v2:
- Remove default for new Kconfig option
- Use #ifdef instead of IS_ENABLED macro
- Remove comment after #endif
- Remove unrelated checkpatch cleanup of 'sslErr' variable name
v1: https://lore.kernel.org/u-boot/[email protected]/
---
Eddie Kovsky (3):
Add support for OpenSSL Provider API
Add pkcs11-provider package to build dependencies
rsa: load a pkcs11 token key through OSSL_STORE in the provider path
doc/build/gcc.rst | 4 +- lib/aes/aes-encrypt.c | 4 +- lib/rsa/rsa-sign.c | 194 ++++++++++++++++++++++++++++++++++++++-- tools/docker/Dockerfile | 1 + 4 files changed, 195 insertions(+), 8 deletions(-)
Signature · 1 line
2.56.0