Hello,
I'd like to separate mcuboot code from keys and implement a strategy described on this page: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/design.html#hw-key-support
My plan is to precalculate hash(es) that boot_retrieve_public_key_hash() at build time and load them into OTP. Similar to how provisioning works in the immutable bootloader.
I noticed that imgtool.py does not provide an option for generating key hashes.
Are there any reasons why, e.g. not the right tool?
Are there scripts that do this or plans to add such?
What is the general state of this feature, given that one has to make manual changes to get the code to compile with CONFIG_BOOT_HW_KEY.
See https://devzone.nordicsemi.com/f/nordic-q-a/74798/mcuboot-hardware-key
I also found this page describing shortcut/workarounds for the ECDSA signature: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/ecdsa.html#
What is the current state of this issue?
Thanks!