joelguittet / mender-mcu-client

Mender client for MCU, just because it's cool to have it
Apache License 2.0
37 stars 7 forks source link

platform: integration of ATECC608 secure element #31

Closed joelguittet closed 10 months ago

joelguittet commented 11 months ago

The purpose of this Pull Request is to integrate ATECC608 secure element to perform authentication of the device with the mender server. This will permit to avoid generating keys in the device and expose the private key (it will instead remains secret inside the secure element).

To achieve this integration, the platform directory architecture needs to be reworked to permit several implementation of each feature. At the same time weak implementation is added to permit user custom variant.

Particularly regarding the platform "tls" module, variants available at the end will be "mbedtls" (the current one and will remains the default), "cryptoauthlib" (library from microchip to interface secure element such as the ATECC608) and "weak" (that the developer can select to create it's own version of the variant).

sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

0.0% 0.0% Coverage
5.9% 5.9% Duplication