This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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_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:434

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:8subsys/bluetooth/Kconfig:236

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_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.

      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.)