@@ -604,6 +604,7 @@ RECIPE_MAINTAINER:pn-piglit = "Ross Burton <ross.burton@arm.com>"
RECIPE_MAINTAINER:pn-pigz = "Kris Gavvala <kris.gavvala@windriver.com>"
RECIPE_MAINTAINER:pn-pinentry = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-pixman = "Unassigned <unassigned@yoctoproject.org>"
+RECIPE_MAINTAINER:pn-pkcs11-provider = "Ayoub Zaki <ayoub.zaki@embetrix.com>"
RECIPE_MAINTAINER:pn-pkgconf = "Ross Burton <ross.burton@arm.com>"
RECIPE_MAINTAINER:pn-pm-utils = "Ross Burton <ross.burton@arm.com>"
RECIPE_MAINTAINER:pn-pointercal-xinput = "Unassigned <unassigned@yoctoproject.org>"
new file mode 100644
@@ -0,0 +1,18 @@
+SUMMARY = "An OpenSSL provider for accessing PKCS#11 tokens"
+DESCRIPTION = "An OpenSSL provider to access hardware or software tokens through \
+the PKCS#11 Cryptographic Token Interface."
+HOMEPAGE = "https://github.com/openssl-projects/pkcs11-provider"
+SECTION = "libs"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b53b787444a60266932bd270d1cf2d45"
+
+DEPENDS = "openssl p11-kit"
+
+SRC_URI = "git://github.com/openssl-projects/${BPN}.git;branch=main;protocol=https;tag=v${PV}"
+SRCREV = "b55b94344af87a058fd84d6e15390760a5585b1d"
+
+inherit meson pkgconfig
+
+FILES:${PN} += "${libdir}/ossl-modules/pkcs11.so"
+
+BBCLASSEXTEND = "native"
Add a generic PKCS#11 provider alongside OpenSSL and p11-kit in OE-Core to support token-backed keys for target applications and native signing tools. OpenSSL 4.x removed the legacy ENGINE API so this provides the provider-based integration without requiring meta-oe layer. Import the recipe from meta-openembedded and update it to 1.3.0 which already includes the existing i686 fix. The recipe will be removed from meta-openembedded once this addition is merged into OE-Core. Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com> --- meta/conf/distro/include/maintainers.inc | 1 + .../pkcs11-provider/pkcs11-provider_1.3.0.bb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 meta/recipes-support/pkcs11-provider/pkcs11-provider_1.3.0.bb