Closed doronz88 closed 2 years ago
still needs work apparently :\
I'm currently implementing
pyimg4
intopymobiledevice3
. When packingibec
for sending, since this image is encrypted, the length isn't included
I don't include the length because it's only included with LZFSE-compressed payloads, and there's no way to tell if an encrypted payload is LZFSE-compressed unless the length was included in the IM4P when parsing. I'll need to change PyIMG4's logic to store whether or not the length is included in the IM4P when parsing (and when manually encrypting an LZFSE-compressed payload), and include the length based on that.
I see. I'll maybe create a PR to include this value since that's the way iBEC is packed
I'm currently implementing
pyimg4
intopymobiledevice3
. When packingibec
for sending, since this image is encrypted, the length isn't included