meta-digi/meta-digi-arm/recipes-digi/trustfence/trustfence-sign-tools
Hector Palacios 4f33afcbcf trustfence: split ccmp13 passwords in 8 files and set SWUPDATE keys
For signing SWU files we need to set a couple of variables:
 - SWUPDATE_PRIVATE_KEY_TEMPLATE to the private key file
 - SWUPDATE_PASSWORD_FILE to the password of the private key

The latter must only contain one password, whereas the current key_pass.txt
file had (for the ccmp13) the eight keys separated by a white space.

This commit:
 - If the file key_pass.txt exists, it extracts each key into a separate
   file key_pass0X.txt.
 - If the keys don't exist, generates separate files per key.
 - Changes the permissions of password files to 400.
 - Adapts the sign script to use the single password files.
 - Fixes a few quotes

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-01-03 13:05:05 +01:00
..
encrypt_ahab trustfence: add new TRUSTFENCE_SRK_REVOKE_MASK variable 2021-01-13 17:00:29 +01:00
encrypt_hab trustfence: Add Trustfence support for CCMX8X 2020-02-04 12:20:38 +01:00
sign_ahab trustfence: add new TRUSTFENCE_SRK_REVOKE_MASK variable 2021-01-13 17:00:29 +01:00
sign_hab trustfence: [cosmetic] fix typos on cst templates 2020-09-01 11:29:25 +02:00
trustfence-gen-pki-stm.sh trustfence: split ccmp13 passwords in 8 files and set SWUPDATE keys 2024-01-03 13:05:05 +01:00
trustfence-sign-artifact-nxp.sh trustfence: add ccimx6qp platform to the sign tool 2023-06-20 16:46:16 +02:00
trustfence-sign-artifact-stm.sh trustfence: split ccmp13 passwords in 8 files and set SWUPDATE keys 2024-01-03 13:05:05 +01:00