286 Commits

Author SHA1 Message Date
Patrick Williams
a6fc2597b4 tpm2-pkcs11: fix RDEPENDS variable
The RDEPENDS variable was misspelled and as a result was never fixed up
with the `_${PN}` to `:${PN}` transition.  Fix both aspects.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-02-20 19:39:36 -08:00
Armin Kuster
32c0e160ea tpm2-tss: update to 3.1.0
Drop 001-configure.ac-fix-compatibility-with-autoconf-2.70.patch which is included in update.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-02-20 19:38:30 -08:00
Armin Kuster
deeadddfb4 tpm2-pkcs11_1.7.0: Drop dstat from DPENDS
dstat was removed from meta-oe.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-01-30 12:14:37 -08:00
Armin Kuster
0594aee231 packagegroup-security-tpm2.bb: remove dynamic pkgs
fixes:
packagegroup-security-tpm2-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (libtss2-tcti-device to libtss2-tcti-device0)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-01-30 12:14:37 -08:00
Armin Kuster
c20b35b527 meta-tpm: drop strongswan bbappends
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-27 11:47:56 -08:00
Armin Kuster
147ed69a19 packagegroup-security-tpm2: drop ibmswtpm2
ibmswtpm2 has not been ported to openssl 3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-27 11:47:15 -08:00
Armin Kuster
e3b50febf8 tpm2-pkcs11: backport openssl 3.x build fixes
bump to tip of current sources.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-27 11:47:11 -08:00
Armin Kuster
9bf5c504d1 tpm2-pkcs11: update to 1.7.0
drop patch now included.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-25 11:29:19 -08:00
Yi Zhao
59295103f1 openssl-tpm-engine: fix warning for append operator combined with +=
Fixes:
WARNING: openssl-tpm-engine_0.5.0.bb: CFLAGS:append += is not a
recommended operator combination, please replace it.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-28 16:16:19 -08:00
Stefan Mueller-Klieser
696651d0c3 tpm2-tss: fix fapi package config
When enabling fapi, the build breaks with:

 | configure: error: Package requirements (libcurl) were not met:
 | No package 'libcurl' found

This adds the missing dependency and bundles the additional config files
in the base package.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-07 11:26:49 -08:00
Armin Kuster
7e27eb5fca recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-04 08:18:00 -07:00
Armin Kuster
8215ed27aa tpm2-pkcs11: update to 1.7.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-26 08:20:55 -07:00
Armin Kuster
d77b7765e7 tpm2-openssl: add new pkg
openssl 3.x support for tpm2 tss function found in tpm2-ssl

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-26 08:20:51 -07:00
Armin Kuster
b5e277022b openssl-tpm-engine: fix build issue with openssl 3
ERROR: openssl-tpm-engine-0.5.0-r0 do_package: QA Issue: openssl-tpm-engine: Files/directories were installed but not shipped in any package:
  /usr/lib/engines-3/tpm.so

fix engine locations

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-26 07:23:30 -07:00
Armin Kuster
5d2afb321c tpm2-tools: update to 5.2
openssl 3.0 support

see https://github.com/tpm2-software/tpm2-tools/releases/tag/5.2

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-26 07:23:30 -07:00
Kristian Klausen
01bdc2918c swtpm: update to 0.6.1
swtpm no longer depends on Python[1] so the dependencies have been
removed.

"inherit perlnative" has been added due to (in oe-core):
deda455b3c ("bitbake.conf: drop pod2man from hosttools")

Some leftover dependencies have also been removed, ex: tpm-tools
required in the past by swtpm_setup.sh (<0.4.0)[2].

[1] https://github.com/stefanberger/swtpm/issues/437
[2] eee8cb5dfb

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-18 21:50:13 -07:00
Kristian Klausen
3673954669 libtpm: update to 0.8.7
Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-09-28 16:19:27 -07:00
Armin Kuster
de6712a806 tpm-quote-tools: Update SRC_URI
The wget now asks for user info so git clone.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-09-16 21:45:01 -07:00
Armin Kuster
5fb3730c37 ibmswtpm2: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-09-15 06:48:26 -07:00
Armin Kuster
f01d5fbaa1 ibmtpm2tss: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-09-15 06:48:26 -07:00
Armin Kuster
ef3315c34d trousers: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-3-Clause

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-09-15 06:48:26 -07:00
Marta Rybczynska
c71c237d51 README: fix mailing lists and a typo
A number of typo fixes:
- tmp->tpm in the DISTRO_FEATURES
- update the mailing list address as it was out of date
- update the distro name in the subject

Signed-off-by: Marta Rybczynska <rybczynska@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-08-26 21:43:27 -07:00
Martin Jansa
68be8afc6b layer.conf: Update to honister
This marks the layers as compatible with honister now they use the new override
syntax.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-01 08:47:08 -07:00
Armin Kuster
c7632b927c meta-tpm: Convert to new override syntax
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-08-01 08:47:08 -07:00
Armin Kuster
e161900985 tpm-tools: fix build issue
This error occurs randomly.
/bin/bash: pod2man: command not found

[Yocto #14304]

minor space/tab cleanup

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Cc: Ben <koncept1@gmail.com>
2021-07-10 05:16:52 -07:00
Armin Kuster
35e1b61750 meta-tpm/linux-yocto: use sanity support
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-06-06 13:03:37 -07:00
Armin Kuster
2bfc09017d meta-tpm: add layer sanity check
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-06-06 13:03:37 -07:00
Ricardo Salveti
8236d78343 tpm2-tss: fix usrmerge udev install path
Update ${base_prefix}/lib to ${nonarch_base_libdir} to fix a package QA
issue when usrmerge is enabled in DISTRO_FEATURES.

QA Issue: tpm2-tss package is not obeying usrmerge distro feature. /lib
should be relocated to /usr. [usrmerge]

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-06-05 19:25:22 +00:00
Armin Kuster
2410c36f1f ibmtpm2tss: update to tip
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-05-16 13:23:55 -07:00
Armin Kuster
ab9da58c3a ibmswtpm2: update to 1661
Drop patch now included in updated

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-05-16 13:23:55 -07:00
Armin Kuster
5a9e1224e7 tpm2-pkcs11: Update to 1.6.0
Includes gcc11 fix.
Added p11-kit
Minor cleanup

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-05-16 13:23:55 -07:00
Armin Kuster
0f79f5aa67 swtpm: fix check for tscd deamon on host
Found a few  places that tscd check was trying to run the hosts.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-12 07:00:47 -07:00
Armin Kuster
e70a97b570 swtpm: file pip3 issue
need native pip3, was using host's

Signed-off-by: Armin Kuster <akuster808@gmail.com>

--
V2]
add python3-cryptography-native to DEPENDS
forgot to add changes.
2021-04-02 08:21:34 -07:00
Armin Kuster
6bcba5f95c swtpm: now need python-cryptography, pull in layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-02 08:21:34 -07:00
Armin Kuster
775870980b swtpm: update to 0.5.2
Add python package

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-25 18:29:41 +00:00
Armin Kuster
5e1ae67684 tpm2-tss-engine: update 1.1.0
LIC_FILES_CHKSUM hash changed between branches.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-25 18:29:41 +00:00
Armin Kuster
f9fdf97730 layer.conf: Add hardknott to LAYERSERIES_COMPAT
Thats codename for 3.3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-18 08:01:19 -07:00
Armin Kuster
77b17e6865 tpm-tools: update to 1.3.9.1
drop patch included in update

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
31aa858948 trousers: update to 0.3.15
includes: CVE-2020-24332, CVE-2020-24330, CVE-2020-24331

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
b6e41623f6 tpm2-topt: update 0.3.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
c8c31f0c1e tpm2-pkcs11: update to 1.5.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
b246b2d696 tpm2-tss: update to 3.0.3
include automate 2.70 fix

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
ef93f8c906 tpm2-tools: update to 5.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
caa7a1b527 tpm2-abrmd: update to 2.4.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
dff404dc36 ibmtpm2tss: update to 1.6.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-09 08:52:21 -08:00
Armin Kuster
7e4ceed4f5 libtpm: update to 0.8.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>

--
V2]
let include the updated changes
2021-03-09 08:51:51 -08:00
Yi Zhao
0a3c0f3499 ibmswtpm2: disable camellia algorithm
The openssl in oe-core has disabled several deprecated algorithms
including camellia. Disable this algorithm to fix the build error.

Fixes:
TpmToOsslSym.h:185:42: error: unknown type name 'CAMELLIA_KEY'
  185 | #define tpmKeyScheduleCAMELLIA           CAMELLIA_KEY
      |                                          ^~~~~~~~~~~~

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-01-23 15:19:33 -08:00
Adrian Ratiu
6053e8b8e2 tpm2-pkcs11: build and package python tools
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-12-24 14:40:04 -08:00
Armin Kuster
58c17d008d meta-security: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-10-19 18:14:23 -07:00
Armin Kuster
0a07bf8046 tpm2-pkcs11: update to 1.4.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-10-15 21:15:03 -07:00