Skip to content

No negative response if remote enabled encryption too soon #3222

@zephyrbot

Description

@zephyrbot

Reported by Szymon Janc:

This was found with robustness tester.

If we are in the process of pairing (and thus has no valid key yet) we should reply with negative response for any LTK requests we get until STK/LTK is computed.

Currently we reply with whatever we store in smp->tk depending on when LTK request was received.

(Imported from Jira ZEP-1771)

Metadata

Metadata

Assignees

Labels

area: BluetoothbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions