-
Notifications
You must be signed in to change notification settings - Fork 855
Closed
Description
While verifying the signed image using the public key, I encountered the issue: ‘Key type does not match TLV record’.
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
python imgtool.py verify --key ed25519_pub.pem output_ed25519.hex
After running these commands in the command prompt, I got the error: ‘Key type does not match TLV record’.
Please find attached screenshot.
Is it expected scenario?
Metadata
Metadata
Assignees
Labels
No labels