diff --git a/.gitignore b/.gitignore index a04272c..68e8e94 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,10 @@ *.ird *.gz +PS3_GAME/ +PS3_UPDATE/ +PS3_DISC.SFB + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -105,4 +109,4 @@ venv.bak/ /site # mypy -.mypy_cache/ \ No newline at end of file +.mypy_cache/ diff --git a/libray/iso.py b/libray/iso.py index 88295f2..e37769f 100644 --- a/libray/iso.py +++ b/libray/iso.py @@ -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):