Skip to content

samples: bluetooth: update minimum key size in security parameters - #845

Merged
eivindj-nordic merged 2 commits into
nrfconnect:mainfrom
anhmolt:increase-min-key-size
Aug 29, 2026
Merged

samples: bluetooth: update minimum key size in security parameters#845
eivindj-nordic merged 2 commits into
nrfconnect:mainfrom
anhmolt:increase-min-key-size

Conversation

@anhmolt

@anhmolt anhmolt commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Update the minimum key size of the Bluetooth LE GAP security parameters to 16 bytes in the applicable bluetooth samples.
Reason: "safe by default".

@anhmolt
anhmolt requested review from a team as code owners August 20, 2026 16:18
@github-actions github-actions Bot added the doc-required PR must not be merged without tech writer approval. label Aug 20, 2026
@github-actions

Copy link
Copy Markdown

You can find the documentation preview for this PR here.

Comment thread doc/nrf-bm/release_notes/release_notes_changelog.rst Outdated
Comment thread doc/nrf-bm/release_notes/release_notes_changelog.rst Outdated
Update the minimum key size of the Bluetooth LE GAP security
parameters to 16 bytes in the applicable bluetooth samples.
Want safe by default.

Signed-off-by: Andreas Moltumyr <andreas.moltumyr@nordicsemi.no>
@anhmolt
anhmolt force-pushed the increase-min-key-size branch from 39d08bc to ae6c192 Compare August 27, 2026 10:41
@eivindj-nordic
eivindj-nordic requested a review from b-gent August 27, 2026 12:54

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is SEC_PARAM_MIN_KEY_SIZE defined? I cannot find it. Should we change to 16 here as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking a look!

SEC_PARAM_MIN_KEY_SIZE and SEC_PARAM_MAX_KEY_SIZE was probably meant as a wildcard. I agree it makes sense to change it to 16. Updated.

Update the minimum key size of the Bluetooth LE GAP security
parameters in peer manager documentation.

Signed-off-by: Andreas Moltumyr <andreas.moltumyr@nordicsemi.no>
@anhmolt
anhmolt force-pushed the increase-min-key-size branch from ae6c192 to b00a6e9 Compare August 28, 2026 08:13
@eivindj-nordic
eivindj-nordic merged commit d5a84ae into nrfconnect:main Aug 29, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants