Skip to content

Conversation

@alxelax
Copy link
Contributor

@alxelax alxelax commented Jul 7, 2025

… not own it

Commit adds destruction of the persisted in PSA ITS key if mesh does not own it (zero bit in the bitmap of persisted keys).

This is not standard mesh behavior, but might happen if something happens between removing key data in mesh and in the crypto library (for example power off in bettwen).

Previously, mesh wasn't able to import key with gotten stuck key id. The current fix reproduces more robust behavior.

Upstream PR #: 92780

… not own it

Commit adds destruction of the persisted in PSA ITS key if
mesh does not own it (zero bit in the bitmap of persisted keys).

This is not standard mesh behavior, but might happen
if something happens between removing key data in mesh and
in the crypto library (for example power off in bettwen).

Previously, mesh wasn't able to import key with gotten stuck
key id. The current fix reproduces more robust behavior.

Upstream PR #: 92780

Signed-off-by: Aleksandr Khromykh <[email protected]>
@nordicjm nordicjm merged commit 2de979d into nrfconnect:main Jul 8, 2025
22 checks passed
@alxelax alxelax deleted the robust_key_import_downstream branch July 8, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants