meta-digi/meta-digi-dey/recipes-digi
Hector Palacios 998598415a dey-image: generate public key after rootfs install
When TrustFence is enabled, a PKI tree is generated.
In the case of NXP platforms, the PKI contains public certificates
from which the public key needs to be extracted using an openssl
command.
In the case of STM platforms, the PKI contains directly the
public key.

In all cases, we need the public key to be installed in the
rootfs /etc/ssl/certs/ folder, so that it can be used by
swupdate to authenticate signed SWU packages.
Up to now, this was being done on the dualboot recipe, but the
installation of the public key should really be only dependant
on the fact of TF being enabled.

This commit:
 - Removes the generation of the public key from dualboot.bb.
 - Generates a patch to extract the public key from the certificate
   as part of the PKI tree generation (on NXP platforms).
 - Installs the public key during a post install function after
   the final rootfs has been created.
 - For NXP platforms, extracts the public key using openssl if
   it does not exist (for backwards compatibility).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-08-21 09:21:30 +02:00
..
auto-serial-console kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
cloudconnector cloudconnector: set 'MACHINE' as the default device type 2023-06-21 16:57:27 +02:00
dey-examples dey-examples: cloudconnector:return status code in device request data callbacks 2023-05-09 11:47:25 +02:00
dualboot dey-image: generate public key after rootfs install 2023-08-21 09:21:30 +02:00
fbtest kirkstone migration: cosmetic, clean build warnings 2022-06-21 16:49:56 +02:00
libdigiapix ccimx93: libdigiapix: fix default I2C bus 2023-05-05 09:58:41 +02:00
memwatch kirkstone migration: cosmetic, clean build warnings 2022-06-21 16:49:56 +02:00
packagegroups connectcore-demo: separate in several packages 2023-02-07 14:00:52 +01:00
swu-images meta-digi-dey: swupdate: add firmware update support based on differences for R/O systems 2023-08-14 10:59:16 +02:00
sysinfo meta-digi-dey: sysinfo: include the new firmware version variable in the 'sysinfo' report 2023-06-21 18:23:50 +02:00