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/Kconfig.mcuboot:10

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:26<nRF>/modules/Kconfig:7

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect

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.)