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:74

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:8

Menu path: (Top) → Modules → 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.)