Hi All
I am trying to get encrypted boot to work on an i.MX6. The sample command line (from ) to sign/encrypt an image for use with encrypted boot goes:
./cst -o csf.bin -c ./dek_rsa_key_crt.pem < u-boot_enc.csf
Can anybody tell me what the parameter "-c ./dek_rsa_key_crt.pem" does?
I assumed that it is used to protect the DEK for transport to the place where it is encrypted into a DEK blob on the target but then wondered:
- How can the target decrypt the DEK to re-encrypt it with the OTPMK?
- How do I generate the dek_rsa_key_crt.pem?
Regards
Florian
Hello,
Please refer to "HAB CodeSigning Tool User’s Guide" in CST package documentation.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri
Thank you for the Hint. I am aware of the manual, I even printed it into a booklet ;-)
The manual states:
--cert <cert_file>:
Public key certificate filename. Required when input CSF contains Install
Secret Key command(s). Symmetric key(s) are encrypted using the public key and
saved to a filename specified in the CSF command
and:
To generate out_csf.bin from input hab4.csf and public key certificate to encrypt symmetric key(s)
cst --o out_csf.bin --cert dek_protection_crt.pem < hab4.csf
I have the following specific questions:
Regards
Florian
Hi Yuri
OK, thank you, I will do that!
Regards Florian