zephyr/samples/bluetooth
Sergey Korotkov 2ee0e38929 Bluetooth: Host: more secure defaults for key size and legacy pairing
Default the Minimum encryption key size to 16.
Key with reduced size is easier to brut force.
Disable LE legacy pairing by default since it's not secure.

These defaults should suite majority of newly developed applications.
It's better to use sensible more secure defaults,
so applications that really need less secure option consciously change it,
not the other way around.
This may help to prevent downgrade attacks.

Signed-off-by: Sergey Korotkov <sergey.korotkov@nordicsemi.no>
2024-12-04 12:10:54 +01:00
..
bap_broadcast_assistant bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
bap_broadcast_sink bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
bap_broadcast_source Bluetooth: BAP: Depend on BT_ISO_BROADCASTER instead of select 2024-11-21 09:19:47 +01:00
bap_unicast_client bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
bap_unicast_server bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
beacon tests: bt: enable entropy sources where missing 2024-11-27 16:40:47 -05:00
broadcaster doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
broadcaster_multiple samples: Bluetooth: broadcaster_multiple: Refactor for reuse 2024-10-27 20:26:35 +00:00
bthome_sensor_template doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
cap_acceptor bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
cap_initiator bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
central doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
central_gatt_write doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
central_hr samples: bt: some RAM footprint reductions 2024-11-27 16:40:47 -05:00
central_ht tests: bt: enable entropy sources where missing 2024-11-27 16:40:47 -05:00
central_multilink Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol 2024-11-27 10:30:59 +01:00
central_otc zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
central_past Bluetooth: Host: Add conversion macros from ms to various units 2024-11-16 14:06:03 -05:00
channel_sounding bluetooth: samples: Remove auto phy update from connected CS samples 2024-11-27 10:31:25 +01:00
direct_adv Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
direction_finding_central Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
direction_finding_connectionless_rx Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
direction_finding_connectionless_tx Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
direction_finding_peripheral Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
eddystone Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
encrypted_advertising Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
extended_adv samples: Bluetooth: ext_adv_scanner: Fix bad use of adv_type 2024-09-25 04:04:46 -04:00
handsfree doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
handsfree_ag sample: Bluetooth: hfp_ag: update device discovery 2024-10-02 10:05:32 +02:00
hap_ha bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
hci_ipc Revert "samples: bt: reduce system heap memory for the hci_ipc sample" 2024-11-28 15:38:57 +00:00
hci_pwr_ctrl samples: bluetooth: Add build asserts for VS-using samples 2024-11-27 10:30:32 +01:00
hci_spi bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
hci_uart Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
hci_uart_3wire Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
hci_uart_async Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
hci_usb doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
hci_usb_h4 doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
hci_vs_scan_req samples: bluetooth: Add build asserts for VS-using samples 2024-11-27 10:30:32 +01:00
ibeacon doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
iso_broadcast samples: Bluetooth: ISO: Update conn and adv intervals 2024-11-25 10:07:30 +01:00
iso_broadcast_benchmark samples: Bluetooth: ISO: Update conn and adv intervals 2024-11-25 10:07:30 +01:00
iso_central samples: Bluetooth: ISO: Update conn and adv intervals 2024-11-25 10:07:30 +01:00
iso_connected_benchmark tests: bt: enable entropy sources where missing 2024-11-27 16:40:47 -05:00
iso_peripheral Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
iso_receive samples: Bluetooth: iso_broadcast: Restrict max stream sync 2024-10-27 20:26:35 +00:00
mesh bt: crypto/host: remove CONFIG_BT_USE_PSA_API symbol 2024-11-27 16:40:47 -05:00
mesh_demo samples: bt: some RAM footprint reductions 2024-11-27 16:40:47 -05:00
mesh_provisioner bt: crypto/host: remove CONFIG_BT_USE_PSA_API symbol 2024-11-27 16:40:47 -05:00
mtu_update Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
observer doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
pbp_public_broadcast_sink Bluetooth: BAP: Depend on BT_PER_ADV_SYNC instead of select 2024-11-21 09:19:47 +01:00
pbp_public_broadcast_source Bluetooth: BAP: Depend on BT_ISO_BROADCASTER instead of select 2024-11-21 09:19:47 +01:00
periodic_adv doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
periodic_adv_conn doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
periodic_adv_rsp samples: bluetooth: Fix PAwR null dereference on disconnection 2024-09-26 17:40:54 -04:00
periodic_sync Bluetooth: Host: Add conversion macros from ms to various units 2024-11-16 14:06:03 -05:00
periodic_sync_conn doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
periodic_sync_rsp Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral tests: bt: enable entropy sources where missing 2024-11-27 16:40:47 -05:00
peripheral_accept_list Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_csc Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_dis Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_esp bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
peripheral_gatt_write Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_hids Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_hr Bluetooth: Host: more secure defaults for key size and legacy pairing 2024-12-04 12:10:54 +01:00
peripheral_ht tests: bt: enable entropy sources where missing 2024-11-27 16:40:47 -05:00
peripheral_identity Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol 2024-11-27 10:30:59 +01:00
peripheral_nus Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_ots Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_past Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
peripheral_sc_only bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
scan_adv doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
st_ble_sensor tests: bt: enable entropy sources where missing 2024-11-27 16:40:47 -05:00
tmap_bmr bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
tmap_bms bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
tmap_central bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
tmap_peripheral bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
bluetooth.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00