Flash encryption
Posted: Thu May 21, 2020 8:44 am
I set below options:
https://iv.pl/image/GtBgqND
https://iv.pl/image/GtBgpSY
and partition table in csv.
https://iv.pl/image/GtBg13e
Before encryption I could read every partition using: target.read_partition(PartitionType(<type>, <subtype>), "file.bin")
I undertood that by default only app partitions are encrypted and partitions marked as encrypted in csv file.
In my case I leave storage data as decrypted and now the question is: whether partition storage should be readable by target.read_partition() after encryption?
I try do this but I get error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8d in position 0: invalid start byte
https://iv.pl/image/GtBgqND
https://iv.pl/image/GtBgpSY
and partition table in csv.
https://iv.pl/image/GtBg13e
Before encryption I could read every partition using: target.read_partition(PartitionType(<type>, <subtype>), "file.bin")
I undertood that by default only app partitions are encrypted and partitions marked as encrypted in csv file.
In my case I leave storage data as decrypted and now the question is: whether partition storage should be readable by target.read_partition() after encryption?
I try do this but I get error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8d in position 0: invalid start byte