-
Notifications
You must be signed in to change notification settings - Fork 7.9k
feat(tls): Support runtime ATECC608A I2C address configuration in TLS (IDFGH-16280) #17435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/v5.5
Are you sure you want to change the base?
feat(tls): Support runtime ATECC608A I2C address configuration in TLS (IDFGH-16280) #17435
Conversation
👋 Hello TheSciBoy, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Hi @TheSciBoy, |
Sounds good! I have been busy with other things since I posted the PR and have not had time to dig into the details of contributing yet (such as the CLA), which is why the PR remains in draft. But if you maybe want to refactor this completely, then I will not continue with the PR until you have a decision. |
Description
Includes changes in MQTT and MBED-TLS to support setting the I2C address of a secure element during runtime. This is required for systems where it cannot be determined at compile-time which secure element (ATEC608A) is installed on the hardware, something which may be, for example, configured during production instead.
This way, a new option is added in the configuration to instead of selecting which secure element is used in hardware, a runtime selection item is chosen instead. Checks are added that require the I2C address to be actively set (default is 0, which is not a valid address).
Related
None
Testing
Testing has only been performed on our own proprietary hardware, with the libraries for our own purposes activated. We build locally in a clean docker environment.
Checklist
Before submitting a Pull Request, please ensure the following: