mcuboot
mcuboot copied to clipboard
Provide a mechanism for key ID handling (MCUBOOT_BUILTIN_KEY)
As an initial solution the responsibility of handling key IDs was delegated to the underlying crypto library. This is far from ideal, MCUBoot forced an initial mapping between the image index and key ID (image_index +1). Handling of the key IDs should be independent of the bootloader and crypto code to be able to provide more generic solutions. Proposed solutions are:
- add a new IMAGE_TLV_KEYID TLV type (this can be set as the EXPECTED_KEY_TLV),
- provide a HAL API to do the mapping: ~bootutil_get_keyid_from_img_index()
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.