Commit Graph

16 Commits

Author SHA1 Message Date
Nex 512f40dcb4 Standardized code with flake8 2021-11-19 15:27:51 +01:00
Nex e5f2aa3c3d Standardizing reST docstrings 2021-09-10 15:18:13 +02:00
Nex 856a6fb895 Cleaning up some classes 2021-08-28 12:33:27 +02:00
Nex 80a91bb2ad Checking if the backup is actually encrypted before proceeding (closes: #48) 2021-08-20 15:18:08 +02:00
Nex cf630f7c2b Fixed unused imports 2021-08-14 18:56:33 +02:00
Nex 88e2576334 Copying plist files too when decrypting a backup 2021-08-14 18:25:41 +02:00
Nex 23e4babbc9 Sorted imports 2021-08-12 18:34:33 +02:00
Nex 88324c7c42 Standardized to logging format 2021-08-12 12:48:29 +02:00
Daniel Kahn Gillmor ec93c3d8b8 Even friendlier behaviors when the user mis-specifies the backup path
As discussed in #147
2021-08-10 23:19:45 -04:00
Daniel Kahn Gillmor 1288f8ca53 handle error cases better 2021-08-10 22:57:15 -04:00
Nex 2302c9fb1c Fixed language 2021-08-05 08:56:41 +02:00
Daniel Kahn Gillmor 706c429595 mvt-ios decrypt-backup: Improve error messages for known cases
The two most common reasons that `mvt-ios decrypt-backup` can fail are
wrong passwords and not pointing to an actual backup.

We can distinguish these cases based on the kinds of errors thrown
from iOSbackup (at least for the current versions that i'm testing
with).

When we encounter those particular exceptions, just report a simple
summary and don't overwhelm the user with a backtrace.  If we
encounter an unexpected exception, leave the reporting as-is.

Closes: #28, #36
2021-08-02 11:07:31 -04:00
Nex f011fd19e8 More explicit copyright and licensing notes 2021-08-01 21:11:08 +02:00
Nex b264ae946d Refactored to include functionality in existing DecryptBackup class 2021-07-30 18:46:45 +02:00
Nex c966eea7e6 Sorted imports 2021-07-30 11:40:09 +02:00
Nex 065a62cee1 First commit 2021-07-16 08:05:01 +02:00