common_boot: add locally managed ID warning - #938
Merged
Conversation
In `derive_shared_secret`, ensure that the attributes object always starts with the correct default value, so there can never be a path with uninitialised memory. Signed-off-by: Jordan Yates <jordan@embeint.com>
When resetting keys, delete them through the `psa_destroy_key` API instead of deleting through the underlying ITS API. This ends up in the same place, but eliminates a mismatch in the APIs used to create and destroy keys, and ensures any metadata at the PSA level is removed. Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a warning output on boot if a locally managed device ID is found, which notifies the user that Infuse-IoT cloud does not know about this device, and cannot be used to run authenticated commands like RPCs etc. The only use for locally managed mode is to observe Bluetooth advertising broadcasts while first trying out Infuse-IoT. Signed-off-by: Jordan Yates <jordan@embeint.com>
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.



Add a warning output on boot if a locally managed device ID is found, which notifies the user that Infuse-IoT cloud does not know about this device, and cannot be used to run authenticated commands like RPCs etc.
Includes minor API usage updates to the security module.