I am trying to get Encrypted Boot to work on an i.MX6. From the few available sources I have put together the attached CSF script. When I try to sign my image with the following command (I have a work directory outside the CST, thus the funny paths):
$ ../cst-2.3.1/cst --o barebox-testing.enc.csf -c ../cst-2.3.1/crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem < encrypt.csfcfg
The computer hangs for a twenty minutes and then reports:
Encryption not enabled
The file dek.bin is written with an odd size of 439 bytes.
I have openssl version 1.0.1f installed and run CST 2.3.1. Any ideas what could be the problem here?
Original Attachment has been moved to: encrypt.csfsfg.zip