mvt icon indicating copy to clipboard operation
mvt copied to clipboard

Decrypting backup fails at __init__.py, line 1165 in unlockKeys

Open floppywhisk opened this issue 4 years ago • 1 comments

[mvt.ios.decrypt] Decrypting iOS backup at path ****** with key 
                  file ******                                                                              
         ERROR    [mvt.ios.decrypt] Failed decrypting backup. Try to start over with a clear text decrypting password on parameter "cleartextpassword".       
                  Traceback (most recent call last):                                                                                                          
                    File "/home/***/.local/lib/python3.9/site-packages/mvt/ios/decrypt.py", line 161, in decrypt_with_key_file                              
                      self._backup = iOSbackup(udid=os.path.basename(self.backup_path),                                                                       
                    File "/home/***/.local/lib/python3.9/site-packages/iOSbackup/__init__.py", line 190, in __init__                                        
                      self.unlockKeys()                                                                                                                       
                    File "/home/***/.local/lib/python3.9/site-packages/iOSbackup/__init__.py", line 1165, in unlockKeys                                     
                      raise Exception('Failed decrypting backup. Try to start over with a clear text decrypting password on parameter "cleartextpassword".')  
                  Exception: Failed decrypting backup. Try to start over with a clear text decrypting password on parameter "cleartextpassword".              
         CRITICAL [mvt.ios.decrypt] Failed to decrypt backup. Did you provide the correct key file?

Running mvt 1.2.14 on an encrypted iOS 14.7.1 backup from an iPhone 9,3 (iPhone 7 GSM)

Tried using the cleartext password, but throws the same error. Also, could not extract the key until I commented out line 190 in the mentioned init.py file

Any ideas what could be at fault? Thanks for your attention any way :)

floppywhisk avatar Nov 17 '21 20:11 floppywhisk

Can you try to extract the key with the latest version? Are you sure it was the correct password?

Te-k avatar Jun 17 '22 08:06 Te-k

Closing for inactivity.

botherder avatar Oct 15 '22 09:10 botherder