Open ZiGaMi opened 1 year ago
Interesting link at that topic:
Invalid app catcher:
Locking bootloader with MPU:
Sharing linker script across bootloader and application:
NOTICE: On picture hash calculations are missing.
Link: https://interrupt.memfault.com/blog/secure-firmware-updates-with-code-signing
Interesting point of view on encrypting the application:
If using digital signatures (consequently HASH), then CRC of application is sort of a redundant info:
Digital signature is being evaluated based on:
Therefore if wanted to check signature in pre-validation phase, HASH and SIGNATURE shall be part of "Image info" in "Prepare command"!
Application header in that example:
OPEN SSL is already part of Git installation
Basic program flow proposal: UPDATE (26.02.2023): reason variable shall be linker in NOINIT RAM section to exchange data between app and bootlaoder
Requirements: