2017-01-17 12:38 AM
I find
http://www.bdtic.com/DownLoad/ST/AN4023.pdf
STM32 secure firmware upgrade (SFU) overview , AN isunfortunately from 2012 and ending
sentence
'For more details about the complete solution, please contact your local ST salesrepresentative.'I seeking a
safe solution
for distribution new firmware, in other words boot loader with fw decryption.
Exist such bootloader directly from ST or you know about free publised project this bootloader for STM32F1, F3?
2017-01-17 04:24 AM
Hi
Kral.Karel
,You can use the
.Khouloud.
2017-01-17 07:45 AM
Thanks for link, unfurtunately it is version for STM32F2 and only in binary version without source code .
For STM32F1 or F3
not usable .
2017-06-16 12:43 PM
Hi Charles,
I'm also currently looking into secure bootloader for other STM32 devices, namely STM32F0...
I'd like to know whether you have found any other references or libraries for implementing the secure bootloader.
Thank in advanced.
Cheers!
2017-06-16 06:38 PM
The problem with libraries is that it doesn't make you smarter than a below average hacker...
Do you have the ability to code the client side application?
Do you have familiarity with common encryption and compression algorithms and libraries?
Have you built a basic, but insecure, loader yet?
The critical job is to leave no holes, the plain text firmware should not be visible outside of the part, the keys should not be exposed. The encrypted image should have multiple levels of integrity checking, and the device should check the complete image before doing anything with it.
2017-06-17 04:27 PM
Hi Clive,
Thank you for your suggestion and elaboration. I appreciate the advice on how to go about implementing a secure bootloader from the scratch myself, and that is probably what I will do.
I do have the necessary knowledge to do it, however, what plays a big role into this is time. I have to say that I think using libraries does not make you any 'less smart' than a below average hacker or programmer. What matters is if you understand what the library is doing and if you have control over it. Having a library helps you to save time and avoid mistakes that you could potentially make.
Anyway, if you have resources that you have used for this purpose, please share it as this may save time and help me and others to build better code.
Cheers!