Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for the possibility of an absent Info.plist #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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