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> |
||
|---|---|---|
| .. | ||
| trustfence-sign-tools | ||
| nativesdk-trustfence-sign-tools_git.bb | ||
| trustfence-sign-tools-native_git.bb | ||
| trustfence-sign-tools.inc | ||