Skip to content
Commit 2ee0e389 authored by Sergey Korotkov's avatar Sergey Korotkov Committed by Benjamin Cabé
Browse files

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: default avatarSergey Korotkov <sergey.korotkov@nordicsemi.no>
parent 9a6fea35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment