nimble/host: Fix rejected SM SC debug keys - #2250
Open
mkasenberg wants to merge 1 commit into
Open
Conversation
sjanc
requested changes
Jul 7, 2026
| } | ||
|
|
||
| cmd = (struct ble_sm_public_key *)(*om)->om_data; | ||
| #if !MYNEWT_VAL(BLE_SM_SC_DEBUG_KEYS) |
Contributor
There was a problem hiding this comment.
even with debug keys enabled this should allow to have same public keys only if keys is debug
mkasenberg
force-pushed
the
fix-rejected-debug-keys
branch
from
August 7, 2026 18:13
8bc12d1 to
0804795
Compare
If a device is in a debug mode, the spec does not prohibit both devices from having debug keys enabled. If a device receives the debug public key, and it is in a mode in which it cannot accept the debug key then it may send the Pairing Failed command with the reason set to "Invalid Parameters".
mkasenberg
force-pushed
the
fix-rejected-debug-keys
branch
from
August 7, 2026 18:15
0804795 to
49ab32b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.