hello shai.segev,
may I know what’s the real use-case? there’s security concern to restore an encrypted disk.
FYI,
here’s an appropriate approach for your testing,
please refer to Topic 291335 to create encrypted images with a generic key,
so that you may create a massflash (i.e. mfi_*.tar.gz
) package to flash multiple devices simultaneously.