summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Gotthard <petr.gotthard@advantech.cz>2022-04-10 15:30:48 +0000
committerArmin Kuster <akuster808@gmail.com>2022-04-13 13:45:44 -0700
commitf203d64c1f722dfa7d52c19d64a7b5e3f3b7e058 (patch)
treea41490a2cf5b1de6ce3413c410105b361b39506a
parentc010297b49ec5da5e995805736df817fc92a0d93 (diff)
downloadmeta-security-f203d64c1f722dfa7d52c19d64a7b5e3f3b7e058.tar.gz
tpm2-openssl: update to 1.1.0
Also, the recipe is fixed to correctly package the openssl provider. This new tpm2-openssl: - Fixed segmentation fault when a signature algorithm is beging initialized without a private key. - Fixed RSA/EC key equality checks. Works with OpenSSL 3.0.1. - Added support for the `TPM2OPENSSL_PARENT_AUTH` environment variable. Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.0.bb11
-rw-r--r--meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.1.0.bb19
2 files changed, 19 insertions, 11 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.0.bb b/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.0.bb
deleted file mode 100644
index f6a694c..0000000
--- a/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1SUMMARY = "Provider for integration of TPM 2.0 to OpenSSL 3.0"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=b75785ac083d3c3ca04d99d9e4e1fbab"
4
5SRC_URI = "git://github.com/tpm2-software/tpm2-openssl.git;protocol=https;branch=master"
6
7SRCREV = "66e34f9e45c3697590cced1e4d3f35993a822f8b"
8
9S = "${WORKDIR}/git"
10
11inherit pkgconfig
diff --git a/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.1.0.bb b/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.1.0.bb
new file mode 100644
index 0000000..55061c9
--- /dev/null
+++ b/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.1.0.bb
@@ -0,0 +1,19 @@
1SUMMARY = "Provider for integration of TPM 2.0 to OpenSSL 3.0"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=b75785ac083d3c3ca04d99d9e4e1fbab"
4
5DEPENDS = "autoconf-archive-native tpm2-tss openssl"
6
7SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
8
9SRC_URI[sha256sum] = "eedcc0b72ad6d232e6f9f55a780290c4d33a4d06efca9314f8a36d7384eb1dfc"
10
11inherit autotools pkgconfig
12
13do_configure:prepend() {
14 # do not extract the version number from git
15 sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac
16}
17
18FILES:${PN} = "\
19 ${libdir}/ossl-modules/tpm2.so"