nimble/hs: Generate and store/load IRK on startup
Open
enhancement
- Dominant language
- C
- Stars
- 893
- Forks
- 512
- Avg merge
- 13d 31m
- Merged PRs (30d)
- 7
Description
We should not use the same default IRK for every device that doesn't set a custom IRK. By default, we should generate a new one and store it. If the storage is set to RAM then the key will last until power cycle. Otherwise, the IRK will be persisted.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing NimBLE startup initialization and the existing IRK storage path. Verify that a generated IRK is unique per device, survives power cycles only with persistent storage, and is retained only until power loss with RAM storage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100