STM32 Secure boot firmware keys
Hi,
I am looking to implement a secure boot system into an application. My product will only be updated OTA.
I understand that when a firmware is written i need to hash it and create a digest and then sign it and add it to the hex file payload.
Along with this i need to send the private key or have already preinstalled the private key to the bootloader when it was flashed.
I am aware that the private key needs to be kept secret and safe within a company so as not to let it fall into the wrong hands and breach security of all devices.
So with this being the case, how does this happen? Is it possible to buy a USB dongle and software that will allow these firmware's to be secured. That way i can keep the dongle in a safe etc.
Is there a better method than this?
