Fix #6
- Decryption using disc key didn't work as it was encrypting the key before usage
This commit is contained in:
parent
0b236b5530
commit
46317877c1
2 changed files with 6 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ class ISO:
|
|||
|
||||
self.disc_key = cipher.encrypt(self.ird.data1)
|
||||
else:
|
||||
self.disc_key = cipher.encrypt(core.to_bytes(args.decryption_key))
|
||||
self.disc_key = core.to_bytes(args.decryption_key)
|
||||
|
||||
|
||||
def decrypt(self, args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue