Other Parts Discussed in Thread: CC3220SF,
Hi!
I wanted to use encrypted private keys when programming the flash memory. Since I cannot find a way to input/read a password with the SLImageCreator tool, I made the signature separately and gave the signature as an input when loading the MCU.
#Get the MCU signature openssl dgst -sha256 -binary -sign "$SSKey" -passin pass:$Password \ -out "mcu.signed.bin" "mcu.bin" #Add the MCU project add_file --name "$ProjName" --overwrite --file "$Dir/mcu.bin" --mcu --flags secure,publicwrite \ --sign "$Dir/mcu.signed.bin" --cert "$SSCert" #Program the Device "$ImageCreatorPath/SLImageCreator.exe" \ project program --name "$ProjName" --dev
OpenSSL> dgst -binary -sha1 -sign <file-location>\<private_key>.pem \ -out <file-location>\<output>.sig <file-location>\<input>.txt