Best Approach to Access an Array from MCUboot Space into Zephyr Application via Linker Symbol #89698
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For a secure system, hardware should be used to make the bootloader unreadable, and if not that, at least unwriteable and uneraseable. Reading a certificate from the bootloader is frankly a bad idea. If you really wanted to do that, you should use bindesc https://docs.zephyrproject.org/latest/services/binary_descriptors/index.html instead so that applications images can parse it from the bootloader image instead of the things here. The proper solution would be to have a static partition defined somewhere outside of all application space which holds the certificate instead, ideally this should be in a secure enclave system which protects the certificate itself and only allows it to be used without revealing the certificate itself |
Beta Was this translation helpful? Give feedback.
For a secure system, hardware should be used to make the bootloader unreadable, and if not that, at least unwriteable and uneraseable. Reading a certificate from the bootloader is frankly a bad idea. If you really wanted to do that, you should use bindesc https://docs.zephyrproject.org/latest/services/binary_descriptors/index.html instead so that applications images can parse it from the bootloader image instead of the things here. The proper solution would be to have a static partition defined somewhere outside of all application space which holds the certificate instead, ideally this should be in a secure enclave system which protects the certificate itself and only allows it to be used…