meta-digi/meta-digi-arm/recipes-bsp
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
..
alsa-state sound: max98088: update card name 2023-08-08 10:29:16 +02:00
ath-prop-tools kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
digi-sc-firmware digi-sc-firmware: fix license checksum 2023-08-01 13:47:19 +02:00
firmware-atheros kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
firmware-murata firmware-murata: install the FCC.CE specific hcd patch 2023-06-21 12:51:07 +02:00
firmware-qualcomm firmware_qualcomm: remove BDF symlinks 2023-07-07 15:55:46 +02:00
formfactor kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
libedgetpu Move Coral-related recipes to dynamic Freescale layer 2023-05-08 13:00:59 +02:00
libubootenv libubootenv: add support for environment encryption on CCMP1 2023-07-28 13:29:51 +02:00
tensorflow-lite meta-digi: fix binary names in Google Coral recipes 2023-05-10 09:11:19 +02:00
trustfence-cst dey-image: generate public key after rootfs install 2023-08-21 09:21:30 +02:00
trustfence-stm-signtools trustfence-stm-signtools: add rdepends on nativesdk-qtbase 2023-05-11 11:29:02 +02:00
u-boot u-boot-dey: ccimx93: fix boot from sdcard image 2023-08-18 17:19:58 +02:00
usbutils kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00