mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

Provide a mechanism for key ID handling (MCUBOOT_BUILTIN_KEY)

Open davidvincze opened this issue 1 year ago • 1 comments

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:

  1. add a new IMAGE_TLV_KEYID TLV type (this can be set as the EXPECTED_KEY_TLV),
  2. provide a HAL API to do the mapping: ~bootutil_get_keyid_from_img_index()

davidvincze avatar Apr 09 '24 08:04 davidvincze

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.

github-actions[bot] avatar Oct 07 '24 01:10 github-actions[bot]