CONFIG_SB_SIGNING_COMMAND

Custom signing command

Type: string

Help

This command will be called to produce a signature of the firmware.
It will be called as "${CONFIG_SB_SIGNING_COMMAND} <file>"
The command must take calculate the signature over the the contents
of the <file> and write the signature to stdout.
The signature must be on DER format.

Direct dependencies

SECURE_BOOT

(Includes any dependencies from ifs and menus.)

Default

  • “”

Kconfig definition

At <nRF>/subsys/bootloader/Kconfig:75

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

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

config SB_SIGNING_COMMAND
    string "Custom signing command" if !SB_PRIVATE_KEY_PROVIDED
    default ""
    depends on SECURE_BOOT
    help
      This command will be called to produce a signature of the firmware.
      It will be called as "${CONFIG_SB_SIGNING_COMMAND} <file>"
      The command must take calculate the signature over the the contents
      of the <file> and write the signature to stdout.
      The signature must be on DER format.

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