mirror of
https://github.com/noDRM/DeDRM_tools
synced 2024-11-16 19:48:10 +01:00
Fix python2 support for ion.py
This commit is contained in:
parent
de3d91f5e5
commit
bde82fd7ab
1 changed files with 1 additions and 1 deletions
|
@ -1348,7 +1348,7 @@ class DrmIonVoucher(object):
|
|||
process_V4648(shared), process_V5683(shared)]
|
||||
|
||||
decrypted=False
|
||||
lastexception: Exception | None = None
|
||||
lastexception = None # type: Exception | None
|
||||
for sharedsecret in sharedsecrets:
|
||||
key = hmac.new(sharedsecret, b"PIDv3", digestmod=hashlib.sha256).digest()
|
||||
aes = AES.new(key[:32], AES.MODE_CBC, self.cipheriv[:16])
|
||||
|
|
Loading…
Reference in a new issue