Generating the custom ECDSA Key Pair for image signing and encryption using openssl #1481
Answered
by
utzig
xianghui-renesas
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
utzig
Sep 25, 2022
Replies: 1 comment 1 reply
-
OpenSSL encodes its keys in SEC1 format, while MCUboot uses PKCS#8. You can convert your generated key from the step above with this extra step:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xianghui-renesas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenSSL encodes its keys in SEC1 format, while MCUboot uses PKCS#8. You can convert your generated key from the step above with this extra step:
openssl pkcs8 -nocrypt -topk8 -in my_ecc_secp256r1_key.pem -out my_ecc_secp256r1_pkcs8_key.pem