sysbuild: mcuboot: Disable signing key in no signing mode

Prevents allowing the user to enter a signing key when the signing
mode is set to hash check only without signatures

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-11-01 14:48:03 +00:00 committed by Carles Cufí
parent bd6d43d4c8
commit 67696b7311

View file

@ -56,7 +56,7 @@ config BOOT_SIGNATURE_TYPE_ED25519
endchoice
config BOOT_SIGNATURE_KEY_FILE
string "Signing PEM key file"
string "Signing PEM key file" if !BOOT_SIGNATURE_TYPE_NONE
default "$(ZEPHYR_MCUBOOT_MODULE_DIR)/root-ec-p256.pem" if BOOT_SIGNATURE_TYPE_ECDSA_P256
default "$(ZEPHYR_MCUBOOT_MODULE_DIR)/root-ed25519.pem" if BOOT_SIGNATURE_TYPE_ED25519
default "$(ZEPHYR_MCUBOOT_MODULE_DIR)/root-rsa-2048.pem" if BOOT_SIGNATURE_TYPE_RSA