Skip to content

Conversation

aticu
Copy link

@aticu aticu commented Jun 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant