You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the steps below for the signing tool, the public key hash is calculated using the DER method. Please refer to the screenshot.
I followed the steps below:
Could you please verify why the tool does not offer an option to select either the raw or DER method for hash calculation?.
In MCUboot, we want the hash to be calculated using the raw method, but the image tool currently provides only the DER method.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
After following the steps below for the signing tool, the public key hash is calculated using the DER method. Please refer to the screenshot.
I followed the steps below:
python imgtool.py keygen -k ed25519_priv.pem -t ed25519
python imgtool.py getpub -k ed25519_priv.pem -e pem -o ed25519_pub.pem
python imgtool.py sign -k ed25519_priv.pem -v1.0.0 --header-size 32 --align 4 --slot-size 0x108000 --pad --sha 256 --public-key-format hash app.hex output_ed25519.hex
Could you please verify why the tool does not offer an option to select either the raw or DER method for hash calculation?.
In MCUboot, we want the hash to be calculated using the raw method, but the image tool currently provides only the DER method.
Beta Was this translation helpful? Give feedback.
All reactions