317 Commits

Author SHA1 Message Date
Armin Kuster 26bb4e7d08 tpm2-pkcs11: update 1.2.0
add yaml package
Updated LICNESE

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-06-19 16:03:23 -07:00
Armin Kuster 60f93f8066 tpm2-tss-engine: add branch to SRC_URI & update to tip
LICENSE changed to BSD 3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-06-19 16:03:23 -07:00
Armin Kuster df8a690941 tpm2-tss: update to 2.4.1
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-06-19 16:03:23 -07:00
Armin Kuster d9d31d1f66 tpm2-tools: update to 4.1.3
LICENSE changed to BSD3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-06-19 16:03:16 -07:00
Martin Jansa 7f7897590c layer.conf: update LAYERSERIES_COMPAT for dunfell
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-27 16:53:25 -07:00
André Draszik d7ca573c36 linux-yocto: update the bbappend to 5.x
As linux-yocto upgraded to 5.x in oe-core, update
the bbappend to 5.x to remove the warning

ERROR: No recipes available for:
  .../meta-security/meta-tpm/recipes-kernel/linux/linux-yocto_4.%.bbappend

This patch hasn't been verified any further than allowing bitbake
to complete with a non-linux-yocto kernel. In particular options could
be different, or new ones needed / desired.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-08 14:13:07 -07:00
Armin Kuster 69ad1d51fd libtpm: fix build issue over pod2man
/bin/bash: pod2man: command not found
| Makefile:585: recipe for target 'TPMLIB_CancelCommand.3' failed

inherit perlnative to fix

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-05 08:06:51 -08:00
Armin Kuster 676d7166a2 ibmswtpm2: update to 1563
fix build issue

[v2]
Fix subject line

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-10 19:13:52 -08:00
Armin Kuster 5f258016b3 tpm2-tss: update to 2.3.2
clean up reciped. drop git fetching

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-10 19:13:52 -08:00
Armin Kuster e87130f429 tpm2-tcti-uefi: fix build issue for i386 machine
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-10 19:13:52 -08:00
Armin Kuster f2e9e8f96f tpm2-tools: update to 4.1.1
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-10 19:13:52 -08:00
Armin Kuster 84fb57b53f swtpm: fix configure error
checking for whether to build with seccomp profile... configure: error: "Is libseccomp-devel installed? -- could not get cflags for libseccomp"

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-01 09:52:51 -08:00
Philip Tricca 4029f92ac8 tpm2-abrmd: Port command line options to new version.
These have changed upstream.

Signed-off-by: Philip Tricca <flihp@twobit.org>
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-07 15:31:42 -08:00
Trevor Woerner 6d059a9d34 tpm2-abrmd-init.sh: fix for /dev/tpmrmX
Newer kernels, in addition to the traditional /dev/tpmX device nodes, are now
also creating /dev/tpmrmX device nodes. This causes this script to get
confused and abort, meaning tpm2-abrmd does not get started during boot.

Fix for https://github.com/flihp/meta-measured/issues/56

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-07 15:31:42 -08:00
Armin Kuster 72b05edff5 meta-security: add layer index callouts
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-07 15:31:34 -08:00
Armin Kuster 5b1d0ff414 tpm2-totp: update to 0.2.0
LIC_FILES_CHKSUM update to be true BSD-3-clause text
Drop patch included

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-05 18:00:46 -08:00
Armin Kuster 42df7b4eb0 tpm2-tss-engine: update to tip to us tss-tools 4.0.x
LIC_FILES_CHKSUM update to be true BSD-3-clause text

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-05 18:00:46 -08:00
Armin Kuster d49f702580 tpm2-tools: update to 4.0.1
LIC_FILES_CHKSUM added new copyrights

Migrate to https d/l from git clone

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-05 18:00:46 -08:00
Armin Kuster 405ad633aa tpm2-abrmd": update to 2.3.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-05 18:00:46 -08:00
Armin Kuster 02bd1dc6c7 tpm2-pkcs11: update to tip
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-12-05 18:00:37 -08:00
Norbert Kaminski 3743c5daae 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>
2019-11-27 13:38:58 -08:00
Christophe PRIOUZEAU 4dd3835150 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>
2019-11-27 13:38:50 -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