Replies: 1 comment
-
|
Fix: #2570 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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’.
Image
Please find attached screenshot.
Is it expected scenario?

Beta Was this translation helpful? Give feedback.
All reactions