Is there a way to decompress an AES-128 encrypte file directly with python, since ZipFile throws a Bad Password error. If i use 7zip it works, so the password is correct, but then again 7zip needs to be installed as a dependency.
What i tried:
from ZipFile import ZipFile
zip = ZipFile('test.zip')
zip.extractall(pwd='password')
This throws the Bad Password exception.
Checking the file with 7zip
7z l -slt test.zip
This returns:
Encrypted = +
Method = pkAES-128 Deflate
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…