commit | 07a9a0364d0ef63df1579a7c333a3deb30a181d1 | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Thu Dec 19 10:12:53 2019 -0300 |
committer | Fabio Utzig <utzig@utzig.org> | Fri Dec 20 14:57:06 2019 -0300 |
tree | 1f965432f7cfdbe36f27d39bdfcd1831e9861ea6 | |
parent | a36082664ecc6b62ceea10aa617c546491c3093d [diff] |
bootutil: avoid save of enc keys in secondary slot When using swap withouth scratch, if a revert operation is detected there is a fixup that needs to be done to avoid losing metadata. This fixup copied metadata from the primary slot to the secondary slot temporarily. Previously it was also copying the encrypted image keys but this is not required since a fixup is only run when starting a new swap where the keys were loaded directly from the images. This also avoids that a secondary slot in external flash would leak keys (according to our threat model). Signed-off-by: Fabio Utzig <utzig@apache.org>
This is mcuboot version 1.4.0
MCUboot is a secure bootloader for 32-bit MCUs. The goal of MCUboot is to define a common infrastructure for the bootloader, system flash layout on microcontroller systems, and to provide a secure bootloader that enables simple software upgrades.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating. Currently, mcuboot works with both the Apache Mynewt and Zephyr operating systems, but more ports are planned in the future. RIOT is currently supported as a boot target with a complete port planned.
Instructions for different operating systems can be found here:
The issues being planned and worked on are tracked using GitHub issues. To participate please visit:
Issues were previously tracked on MCUboot JIRA , but it is now deprecated.
Information and documentation on the bootloader are stored within the source.
It was previously also documented on confluence: MCUBoot Confluence however, it is now deprecated and not currently maintained
For more information in the source, here are some pointers:
Developers welcome!