Hello,
I wanted to try out image encryption feature and I stumbled upon
following message:
[NOTIFY] : SWUPDATE failed [0] ERROR core/cpio_utils.c :
copyfile : 153 : encrypted zip images are not yet supported --
aborting
I looked at the code and I've discovered that compressed &
encrypted flags combination is forbidden:
/*
* Simultaneous compression and decryption of images
* is not (yet ?) supported
*/
if (compressed && encrypted) {
ERROR("encrypted zip images are not yet supported --
aborting\n");
return -EINVAL;
}
Could You elaborate on what's the reason behind this and where
in the could should I look for the conflict and possible
implementation
of such functionality? I wouldn't like dropping compressed flag,
as compression reduces image size significantly.
Thanks,