I tried encrypted boot (Encrypted XIP with OTFAD) on the MIMXRT1160-EVK.
At this time, I generated the key in PKI Management in SPT with P-256 specified, and confirmed that it worked correctly.
However, it seems that the workspace was not saved.
When we started SPT on another day, PKI Management referred to an old key (RSA2048) and showed an error that the old key did not exist.
For this reason, I tried to import the key generated by P-256 at but failed with the error.
Failure: Import keys failed: impossible to import keys from folder
Thinking that the folder specified might be incorrect, I tried to import by specifying the root folder of the SPT workspace, but got the following error.
Import keys from: C:\<path to workspace>
ERROR: Keys from 'C:\<path to workspace>\imported_settings.sptjson' could not be imported due to error(s): ["Key file 'crts\\SRK1_sha256_2048_65537_v3_ca_crt.pem' does not exist on the disk.", "Key file 'crts\\SRK2_sha256_2048_65537_v3_ca_crt.pem' does not exist on the disk.", "Key file 'crts\\SRK3_sha256_2048_65537_v3_ca_crt.pem' does not exist on the disk.", "Key file 'crts\\SRK4_sha256_2048_65537_v3_ca_crt.pem' does not exist on the disk.", "Key file 'crts\\IMG1_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\IMG2_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\IMG3_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\IMG4_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\CSF1_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\CSF2_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\CSF3_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk.", "Key file 'crts\\CSF4_1_sha256_2048_65537_v3_usr_crt.pem' does not exist on the disk."]
ERROR: Import can be done only if the backup folder contains a workspace settings file.
Status of the operation: Failure: Import keys
ELF image converted to SREC: source_images\evkmimxrt1160_lwip_httpssrv_mbedTLS_freertos_cm7.srec
DCD retrieved from bootable HAB image: source_images\evkmimxrt1160_lwip_httpssrv_mbedTLS_freertos_cm7.dcd_parsed.bin
Application image 'source_images\evkmimxrt1160_lwip_httpssrv_mbedTLS_freertos_cm7.srec' retrieved from bootable image
At this time, files such as keys generated by P-256 that were left in the crts, keys folder have disappeared.
This has caused me to be unable to run new images with EVK.
Is there any way to recover these files?
regards