meta-digi/meta-digi-arm/recipes-digi/trustfence
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
..
trustfence-sign-tools trustfence: split ccmp13 passwords in 8 files and set SWUPDATE keys 2024-01-03 13:05:05 +01:00
nativesdk-trustfence-sign-tools_git.bb nativesdk: add STM signtools to SDK 2023-10-09 15:36:44 +02:00
trustfence-sign-tools-native_git.bb trustfence: add artifacts signing script for STM platforms 2023-05-10 17:33:23 +02:00
trustfence-sign-tools.inc trustfence: stm: move generation of PKI out of sign script 2023-08-14 09:19:16 +02:00