CONFIG_BT_LOG_SNIFFER_INFO

Bluetooth log information for sniffer

Type: bool

Help

This option enables the Bluetooth stack to log information such as
DH private key and LTK keys, which can be used by sniffers to decrypt
the connection without the use of Debug keys.

WARNING: This option prints out private security keys such as
the Long Term Key.
Use of this feature in production is strongly discouraged

Direct dependencies

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:323

Menu path: (Top) → Sub Systems and OS Services → Bluetooth

config BT_LOG_SNIFFER_INFO
    bool "Bluetooth log information for sniffer"
    depends on BT_HCI && BT
    help
      This option enables the Bluetooth stack to log information such as
      DH private key and LTK keys, which can be used by sniffers to decrypt
      the connection without the use of Debug keys.

      WARNING: This option prints out private security keys such as
      the Long Term Key.
      Use of this feature in production is strongly discouraged

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