diff --git a/py/Fs/Nca.py b/py/Fs/Nca.py index 1acaf56..2765153 100644 --- a/py/Fs/Nca.py +++ b/py/Fs/Nca.py @@ -133,7 +133,6 @@ def open(self, file = None, mode = 'rb', cryptoType = -1, cryptoKey = -1, crypto else: # Print.info('could not find title key %s!' % titleRightsTitleId) self.keyStatus = False - else: self.titleKeyDec = self.key() @@ -213,8 +212,8 @@ def __getitem__(self, key): return self.sectionFilesystems[key] def open(self, file = None, mode = 'rb', cryptoType = -1, cryptoKey = -1, cryptoCounter = -1): - super(Nca, self).open(file, mode, cryptoType, cryptoKey, cryptoCounter) + self.header = NcaHeader() self.partition(0x0, 0xC00, self.header, Fs.Type.Crypto.XTS, uhx(Keys.get('header_key'))) #Print.info('partition complete, seeking') diff --git a/py/lib/Verify.py b/py/lib/Verify.py index e8918d7..d7baa64 100644 --- a/py/lib/Verify.py +++ b/py/lib/Verify.py @@ -237,7 +237,6 @@ def verify_decrypt(nspx, vmsg = None): check_tik = False tik_data = Fs.Ticket.Ticket() - print(tik_data.__dict__) for f in temp_hfs: if f._path.endswith('.tik') and f._path == tik_file: tik_data = f