Skip to content

Commit

Permalink
pkcs11-provider: Add recipe
Browse files Browse the repository at this point in the history
Starting with version 3.0 the OpenSSL project introduced a new modular
system to extend OpenSSL that replaces the deprecated Engine modules.

Providers are loaded via configuration directives in the openssl
configuration file (or directly loaded by applications).

The pkcs11 provider allows applications linked to openssl to use keys
and cryptographic operations from a hardware or software token via
their PKCS openembedded#11 driver and the use of PCKS openembedded#11 URIs.

The pkcs11 provider can be configured to be automatically loaded via
openssl.cnf

For more details, visit
https://github.com/latchset/pkcs11-provider/blob/main/docs/provider-pkcs11.7.md

Signed-off-by: Niko Mauno <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
nikomauno authored and kraj committed Dec 19, 2023
1 parent 6459e1f commit e8ad2bc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
SUMMARY = "An OpenSSL provider that allows direct interfacing with pkcs11 drivers"
DESCRIPTION = "\
This is an Openssl 3.x provider to access Hardware or Software Tokens using \
the PKCS#11 Cryptographic Token Interface\
\
This code targets version 3.1 of the interface but should be backwards \
compatible to previous versions as well.\
"
HOMEPAGE = "https://github.com/latchset/pkcs11-provider"
SECTION = "libs"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=b53b787444a60266932bd270d1cf2d45"
DEPENDS = "\
autoconf-archive \
openssl \
p11-kit \
"

SRCREV = "e2abc4a7ae33159f2fb21b9d87a05ea9e79ef584"
PV = "0.2+git"

SRC_URI = "git://github.com/latchset/${BPN}.git;branch=main;protocol=https"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

FILES:${PN} += "${libdir}/ossl-modules/pkcs11.so"

0 comments on commit e8ad2bc

Please sign in to comment.