Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Decrypting All Files #45

Closed
ghost opened this issue Mar 8, 2020 · 2 comments
Closed

Can't Decrypting All Files #45

ghost opened this issue Mar 8, 2020 · 2 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Mar 8, 2020

I've found the right aes key for Oppo A71 2018 CPH1801 with this commit 91c717d, but i got several error like this :

Traceback (most recent call last):
File "ozipdecrypt.py", line 211, in main
if zo.extract('oppo_metadata', outpath):
File "/usr/lib/python3.8/zipfile.py", line 1628, in extract
return self._extract_member(member, path, pwd)
File "/usr/lib/python3.8/zipfile.py", line 1667, in _extract_member
member = self.getinfo(member)
File "/usr/lib/python3.8/zipfile.py", line 1439, in getinfo
raise KeyError(
KeyError: "There is no item named 'oppo_metadata' in the archive"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.8/shutil.py", line 781, in move
os.rename(src, real_dst)
OSError: [Errno 26] Text file busy: 'temp/META-INF/CERT.RSA' -> 'out/CERT.RSA'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "ozipdecrypt.py", line 257, in
main()
File "ozipdecrypt.py", line 217, in main
mode2(filename)
File "ozipdecrypt.py", line 161, in mode2
shutil.move(rfilename, wfilename)
File "/usr/lib/python3.8/shutil.py", line 796, in move
os.unlink(src)
OSError: [Errno 26] Text file busy: 'temp/META-INF/CERT.RSA'

@bkerler bkerler self-assigned this Jan 24, 2021
@bkerler bkerler added the bug label Jan 24, 2021
@bkerler
Copy link
Owner

bkerler commented Jan 24, 2021

Can you please provide a link to that ozip file ?

@bkerler
Copy link
Owner

bkerler commented Jan 24, 2021

Should be fixed in commit 8cc89cd

@bkerler bkerler closed this as completed Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant