CONFIG_BT_USE_DEBUG_KEYS

Enable Security Manager Debug Mode

Type: bool

Help

This option places Security Manager in a Debug Mode. In this mode predefined Diffie-Hellman private/public key pair is used as described in Core Specification Vol. 3, Part H, 2.3.5.6.1. This option should only be enabled for debugging and should never be used in production. If this option is enabled anyone is able to decipher encrypted air traffic.

Direct dependencies

BT_TINYCRYPT_ECC && BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:271

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:8subsys/bluetooth/Kconfig:142

Menu path: (Top) → Bluetooth → Security Manager Protocol support

config BT_USE_DEBUG_KEYS
    bool "Enable Security Manager Debug Mode"
    depends on BT_TINYCRYPT_ECC && BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      This option places Security Manager in a Debug Mode. In this mode
      predefined Diffie-Hellman private/public key pair is used as described
      in Core Specification Vol. 3, Part H, 2.3.5.6.1. This option should
      only be enabled for debugging and should never be used in production.
      If this option is enabled anyone is able to decipher encrypted air
      traffic.

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