The latest development version of this page may be more current than this released 2.7.5 version.

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.

WARNING: This option enables anyone to decrypt on-air traffic.
Use of this feature in production is strongly discouraged.

Direct dependencies

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

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:9subsys/bluetooth/Kconfig:174

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Security Manager Protocol support

config BT_USE_DEBUG_KEYS
    bool "Enable Security Manager Debug Mode"
    depends on 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.

      WARNING: This option enables anyone to decrypt on-air traffic.
      Use of this feature in production is strongly discouraged.

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