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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:295

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:8subsys/bluetooth/Kconfig:144

Menu path: (top menu) → Bluetooth → Bluetooth support → Security Manager Protocol support

config BT_USE_DEBUG_KEYS
    bool
    prompt "Enable Security Manager Debug Mode" if BT_TINYCRYPT_ECC && BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    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.

(Definitions include propagated dependencies, including from if’s and menus.)