CONFIG_BOOT_SIGNATURE_KEY_FILE

MCUBoot PEM key file

Type: string

Help

Absolute path to PEM key file containing the private key corresponding
to the public key included in MCUBoot. This will be used to sign the
image so that it can be verified by MCUBoot. Since MCUBoot is not
built from source, it is not possible for the build system to deduce
what key was used when compiling it. Hence, it is required that the
key is passed to the build system through this option.

Direct dependencies

!MCUBOOT_BUILD_STRATEGY_FROM_SOURCE

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to the empty string.

Kconfig definition

At <nRF>/modules/mcuboot/Kconfig:3

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:8

Menu path: (Top) → Modules → mcuboot (/home/runner/work/sdk-nrf/sdk-nrf/ncs/bootloader/mcuboot) → MCUboot

config BOOT_SIGNATURE_KEY_FILE
    string "MCUBoot PEM key file"
    depends on !MCUBOOT_BUILD_STRATEGY_FROM_SOURCE
    help
      Absolute path to PEM key file containing the private key corresponding
      to the public key included in MCUBoot. This will be used to sign the
      image so that it can be verified by MCUBoot. Since MCUBoot is not
      built from source, it is not possible for the build system to deduce
      what key was used when compiling it. Hence, it is required that the
      key is passed to the build system through this option.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)