iOSbackup icon indicating copy to clipboard operation
iOSbackup copied to clipboard

Allow for the possibility of an absent `Info.plist`

Open aticu opened this issue 1 year ago • 0 comments

I've recently encountered a backup where the Info.plist file was missing.

It is however not required to decrypt the backup. Nevertheless decryption of a backup with the current code is not possible, because the file is opened once during the decryption process and then never used.

This PR circumvents the issue by wrapping the opening of the file in a try block. This makes the file available for future versions of the code, should it exist, while allowing the decryption of backups that don't need the file to exist.

aticu avatar Jun 22 '23 13:06 aticu