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 <Zephyr>/subsys/bluetooth/host/Kconfig:431

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:8<Zephyr>/subsys/bluetooth/Kconfig:239

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