98 Commits

Author SHA1 Message Date
Armin Kuster 440c37f0b6 tpm2-tss-engine: License changed
Fixes this error:

ERROR: tpm2-tss-engine-1.0.1-r0 do_populate_lic: QA Issue: tpm2-tss-engine: The LIC_FILES_CHKSUM does not match for file://LICENSE;md5=3fb0047fd29391478a71e8e6101c76eb
tpm2-tss-engine: The new md5 checksum is 7b3ab643b9ce041de515d1ed092a36d4
tpm2-tss-engine: Here is the selected license text:

The License changed to BSD-3 14 months ago so I suspect the commit was incorrect.

This corrects the License and hash

[Yocto #13926]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-06-24 16:35:47 -07:00
Norbert Kaminski ea65bb6090 meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb: add new udev dir to FILES and append EXTRA_OECONF
The tpm2 tool freezes in a XEN distro. It stores the udev rules in
/lib/udev directory,
thus these changes append the FILES and EXTRA_OECONF to make tpm2 work
properly.

Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-04 15:46:27 -08:00
Christophe PRIOUZEAU 705b0b50ec cryptsetup tpm incubator: fix installed vs shipped
Fix [installed-vs-shipped] by adding /usr/lib/tmpfiles.d
on FILES.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-04 15:46:15 -08:00
Armin Kuster a0dee993cd layer.conf: Update for zeus series
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-11 07:41:01 -07:00
Armin Kuster 76d3625bcf tpm2-pkcs11: update to tip
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster 278ef0fafa tpm2-tcti-uefi: update to tip
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster 17a3944dbf tpm2-totp: update to 0.1.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster c51ba72837 tpm2-tss-engine: update to 1.0.1
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster b87717157e tpm2-tss: update to 2.3.0
drop patch already in update

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster c30907fda0 tpm2-abrmd: update to 2.2.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster b8528ffe48 swtpm: update to 0.2.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster 13b26b8df9 libtpm: update to 0.7.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-12 16:04:47 -07:00
Armin Kuster a05d954240 cryptsetup-tpm-incubator: fix QA error RDEPENDS
ERROR: cryptsetup-tpm-incubator-0.9.9-r0 do_package_qa: QA Issue: /usr/lib/libcryptsetup.so.12.3.0 contained in package cryptsetup-tpm-incubator requires libdevmapper.so.1.02(DM_1_02_97)(64bit), but no providers found in RDEPENDS_cryptsetup-tpm-incubator? [file-rdeps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-07 08:34:22 -07:00
Dmitry Eremin-Solenikov a655c8e4b4 tpm2-tcti-uefi: build and install examples
Examples are usefull to actually check TPM2 from UEFI shell. Add them to
tpm2-tcti-uefi package.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-08-04 12:17:25 -07:00
Dmitry Eremin-Solenikov 60fc73e4da tpm2-tcti-uefi: stop inserting host directories into build path
Do not insert /usr/lib and /usr/lib64 into LDFLAGS.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-08-04 12:17:25 -07:00
Dmitry Eremin-Solenikov e3352832a7 tpm2-tcti-uefi: fix configure arguments
Pass correct location of EFI's crt0 and ld script.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-08-04 12:17:25 -07:00
Dmitry Eremin-Solenikov 95e58ad690 tpm2-tcti-uefi: add autoconf-archive-native dependency
Add dependency on autoconf-archive-native to receive AX_* macro definitions.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-08-04 12:17:25 -07:00
Dmitry Eremin-Solenikov df2745e172 tpm2-tss: fix compilation when using updated AX_CODE_COVERAGE macro
New autoconf-archive comes with updated AX_CODE_COVERAGE macro, which is
not compatible with current tpm2-tss source base. Apply upstream patch
to fix this incompatibility.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-08-04 12:17:25 -07:00
Dmitry Eremin-Solenikov 00a05ed92a packagegroup-security-tpm2: stop including tpm2-tcti-uefi
tpm2-tcti-uefi is a EFI module, so it should not be included in the
rootfs.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-08-04 12:17:25 -07:00
Armin Kuster f59c5437d6 tpm2-tss-engine: update to 1.0.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 6cd8959569 tpm2-totp: update to offical release v0.1.1
Clean up recipe to match actual app

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster cdd44a61c6 tpm2-tss: update to 2.2.3
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 1a02980de6 tpm2-tools: update to 3.2.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 432dafda41 tpm2-tcti-uefi: update to tip
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 90e47de316 tpm2-pkcs11/tpm2-pkcs11: update to tip
license-check-sum: Add SPDX format

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 7af4d16f33 tpm image: split out tpm2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 44cb58c3e8 tpm2 images: create tpm2 image and fix packagegroup
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 6aae738ee6 runtime: tpm2 fix names in packagecheck
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 723cd9e372 layers: set warrior only
remove TEST_SUITES from main layer.conf

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Yi Zhao eaa616a2e2 meta-tpm/README: update
Add more description

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-05-01 15:53:40 -07:00
Yi Zhao e3f6970b09 meta-tpm/conf/layer.conf: update layer dependencies
Add openembedded-layer to layer dependencies.

Fix the following build errors:

ERROR: Required build target 'tpm2-pkcs11' has no buildable providers.
Missing or unbuildable dependency chain was: ['tpm2-pkcs11', 'dstat']

ERROR: Required build target 'cryptsetup-tpm-incubator' has no buildable providers.
Missing or unbuildable dependency chain was: ['cryptsetup-tpm-incubator', 'libdevmapper']

ERROR: Required build target 'tpm2-totp' has no buildable providers.
Missing or unbuildable dependency chain was: ['tpm2-totp', 'qrencode']

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-05-01 15:53:32 -07:00
Armin Kuster 63af29ba48 layer.conf: Add warrior to compatible release series
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-04-07 05:10:15 +05:30
Armin Kuster 83c47bed13 tpm2.0 prefix: rename to tpm2 take2
v1 was commited. This is the additional changes.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-25 22:33:22 -07:00
Armin Kuster 2b017427f9 packagegroup-security-tpm2: update to name change
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-23 09:50:16 -07:00
Armin Kuster 2e654a1013 meta-tpm: add maintainers file
This simples checking package updates

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-23 09:50:08 -07:00
Armin Kuster 29e847feb3 tpm2.0 prefix: rename to tpm2
this aligns with the rest of the tpm2 recipes

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-23 09:49:59 -07:00
Armin Kuster eb9e2cde9c tpm2simulator: replaced by ibmswtpm2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-23 09:15:39 -07:00
Armin Kuster 3406611b12 meta-tpm: add runtime test for tpm2
This runs a basic tpm test using the simulator

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-23 09:15:39 -07:00
Armin Kuster 30699d6bae ibmswtpm2: Add new recipe
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-23 09:15:39 -07:00
Armin Kuster 09366d63fe packagegroup-security-tpm2: add new packages
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-17 15:39:01 -07:00
Armin Kuster 73e5fb5f4c tpm2-pkcs11: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-17 15:39:01 -07:00
Armin Kuster dda3e09e5b tpm2-tcti-uefi: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-17 15:39:01 -07:00
Armin Kuster 5b7c372770 cryptsetup-tpm-incubator: add new package
[v2]
add missing patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-17 15:38:53 -07:00
Armin Kuster c4f34bc88c tpm2.0-tools: fix protocol
A commit amend misstep didn't capture the https to git change in
SRC_URI.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-16 04:17:29 -07:00
Armin Kuster acd6a1aa9a tpm2-totp: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-16 04:17:29 -07:00
Armin Kuster a471489ea2 tpm2: move tpm2 apps to recipes-tpm2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-16 04:17:29 -07:00
Armin Kuster 77740fc3bd tpm2-tss-engine: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-16 04:17:29 -07:00
Armin Kuster 66d48abff2 tpm2.0-tools: update SRC_URI
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-16 04:17:29 -07:00
Armin Kuster 4e47373858 tpm2-abrmd: updatet to 2.1.1
switch SRC_URI to upstream

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-16 04:17:19 -07:00
Armin Kuster f3a2f4e04e swtpm: update to stable release 0.1.0
added PE

split cuse into its own package

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-06 11:49:35 -08:00