This is the documentation for the latest (main) 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_SMP_DISABLE_LEGACY_JW_PASSKEY

Forbid usage of insecure legacy pairing methods

Type: bool

Help

This option disables Just Works and Passkey legacy pairing methods to
increase security.

Direct dependencies

!(BT_SMP_SC_PAIR_ONLY || BT_SMP_SC_ONLY || BT_SMP_OOB_LEGACY_PAIR_ONLY) && 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:328

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:313

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

config BT_SMP_DISABLE_LEGACY_JW_PASSKEY
    bool "Forbid usage of insecure legacy pairing methods"
    depends on !(BT_SMP_SC_PAIR_ONLY || BT_SMP_SC_ONLY || BT_SMP_OOB_LEGACY_PAIR_ONLY) && BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      This option disables Just Works and Passkey legacy pairing methods to
      increase security.

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