-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
First issue: encrypt uses /settings.xml instead of /Setting.xml
Second Issue:
C:/my/path>py opscrypto.py encrypt C:/my/path/extracted
Oneplus CryptTools V1.4 (c) B. Kerler 2019-2021
----------------------------
Encrypting prog_firehose_ddr.elf, pos=0
Traceback (most recent call last):
File "C:/my/path/opscrypto.py", line 748, in <module>
main()
File "C:/my/path/opscrypto.py", line 677, in main
item, pos = encryptitem(key, item, directory, pos, wf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/my/path/opscrypto.py", line 504, in encryptitem
assert item.attrib["FileOffsetInSrc"] == str(start), (item, item.attrib["FileOffsetInSrc"], str(start))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'FileOffsetInSrc'
Metadata
Metadata
Assignees
Labels
No labels