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> |
||
|---|---|---|
| .. | ||
| aws-iot.bbclass | ||
| dey-image-installer.bbclass | ||
| dey-image.bbclass | ||
| dey-swupdate-common.bbclass | ||
| dey-swupdate.bbclass | ||
| populate_sdk_qt6.bbclass | ||
| qt-version.bbclass | ||
| trustfence.bbclass | ||