Hello,
I have already setup a basic firmware update project, using MCUBoot as a single stage bootloader.
I can download and install the image from an HTTP server and it's working fine.
I now need to go one step further and implement signing. I have already looked at the documentation of Image Tool (developer.nordicsemi.com/.../imgtool.html), but it's not fully clear to me.
I have generated a .pem file, which I placed in my project folder. This is where I'm at ...
By simply adding the following line to my prj.conf, the default key is still used.
CONFIG_BOOT_SIGNATURE_KEY_FILE="Absolute path to my *.pem file"
Documentation states to call "imgtool.py getpub" to extract the public key ... but where am I supposed to integrate it ? The is not file boot/zephyr/keys.c as written in the doc.
Could you please enlighten me of the signing process.
There are a lot of info on the forum, but it's not all recent and I have the feeling that the signing processed has evolved.
Thanks in advance.
Vincent