When generating our SPL-verifying certificate, we use FIT_KEY_REQ_ARGS,
which is intended for the U-Boot-verifying certificate. Instead, use
UBOOT_FIT_KEY_REQ_ARGS.
Fixes: 0e6b0fefa0 ("u-boot: Use a different Key for SPL signing")
Signed-off-by: Sean Anderson <[email protected]>
---
meta/classes-recipe/uboot-sign.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/uboot-sign.bbclass
b/meta/classes-recipe/uboot-sign.bbclass
index debbf23ec6..4b5912a01d 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -298,7 +298,7 @@ do_uboot_generate_rsa_keys() {
"${UBOOT_FIT_SIGN_NUMBITS}"
echo "Generating certificate for signing U-Boot
fitImage"
- openssl req ${FIT_KEY_REQ_ARGS}
"${UBOOT_FIT_KEY_SIGN_PKCS}" \
+ openssl req ${UBOOT_FIT_KEY_REQ_ARGS}
"${UBOOT_FIT_KEY_SIGN_PKCS}" \
-key
"${SPL_SIGN_KEYDIR}/${SPL_SIGN_KEYNAME}".key \
-out
"${SPL_SIGN_KEYDIR}/${SPL_SIGN_KEYNAME}".crt
fi
--
2.35.1.1320.gc452695387.dirty
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172050):
https://lists.openembedded.org/g/openembedded-core/message/172050
Mute This Topic: https://lists.openembedded.org/mt/94487625/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-