79377036

Date: 2025-01-22 08:56:55
Score: 3.5
Natty:
Report link

You only need to set the key for the mcuboot child image. From my example here:

set(mcuboot_CONFIG_BOOT_SIGNATURE_KEY_FILE \"${CMAKE_CURRENT_SOURCE_DIR}/custom_key_dir/custom_priv.pem\")

I also had to set CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256 in an MCUboot overlay, but that is since I used ECDSA. For RSA you would have to set the same for RSA yes, but remember to set it in child_image/mcuboot.conf or similar to set it for the child image.

Does this fix the issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Sigurd Hellesvik