286 Commits

Author SHA1 Message Date
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
Armin Kuster c17e39b705 libtpm: upate to stable 0.6.0
Add PE

This update include support for tpm2.0

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-06 11:49:35 -08:00
Armin Kuster 6a18b6c145 tpm2-abrmd: update to 2.1.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-06 11:49:35 -08:00
Armin Kuster 155c0cb09d tpm2.o-tss: update to 2.4.1
LIC_FILES_CHKSUM changed to do SPDX ref being removed.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-06 11:49:35 -08:00
Armin Kuster e7dec926cf tpm2.0-tools: update 3.1.3
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-06 11:49:35 -08:00
Daniel Dragomir 32e2a2d06c tpm2-abrmd: Fix QA error
QA Issue: tpm2-abrmd: Files/directories were installed but not
          shipped in any package:
/usr/share/dbus-1
/usr/share/dbus-1/system-services
/usr/share/dbus-1/system-services/com.intel.tss2.Tabrmd.service

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-12-15 11:52:59 -08:00
Daniel Dragomir 22c18444aa tpm2.0-tss: Remove resourcemgr sub-package
Since in 2.0.x branch resourcemgr was removed as deprecated by
commit 7966ef8916f79ed09eab966a58d773f413fbb67f ("Remove resourcemgr
and fixup build.") and commit 0e175d36c13b1801d75ae768ac520154585326f8
("contrib: Remove systemd service and udev rules for old resourcemgr."),
remove resourcemgr sub-package with it's components.

Build will fail when trying sed command on resourcemgr.service
(No such file or directory).

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-12-10 08:55:55 -08:00
Armin Kuster 57cac8ede6 swtpm: switch to stable branch and clean up recipe
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-10-31 09:02:21 -07:00
Armin Kuster b15dbacb32 packagegroup-security-tpm2: add and remove packages
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-10-31 09:02:21 -07:00
Armin Kuster 4bf54d58ad tpm2-abrmd: update to 2.0.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-10-31 09:02:21 -07:00
Armin Kuster 6149fb61b0 tpm2 packagegroup: fix filenames
tpm2.0-tss package names changed, update accordingly

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-10-31 09:02:21 -07:00
Armin Kuster 04ef9df593 meta-security: add THUD
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-29 10:42:53 -07:00
Armin Kuster d255fa5bfb swtpm: update to tip for openssl 1.1 support
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00