You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The restore command reports that a backup that is encrypted and that I should supply a password. However, during backup, I didn't ask the backup to be encrypted and did not specify a password. I'm not sure whether the backup was actually encrypted or whether it is not encrypted but pymobiledevice3 asks for a password nevertheless.
To Reproduce
Steps to reproduce the behavior:
I ran pymobiledevice3 backup2 backup --full iphone_backup/
it finished without error message.
I ran pymobiledevice3 backup2 restore iphone_backup/
and the response was pymobiledevice3.services.mobilebackup2[2812524] ERROR Backup is encrypted, please supply password.
Expected behavior
Since no encryption was specified or password supplied during backup, I expected that the backup would not be encrypted. In case it is actually not encrypted, I expected that the program would be able to restore the backup without a password.
Additional context
There is another weird behavior. If I run pymobiledevice3 backup2 restore iphone_backup --password
the response is Error: Option '--password' requires an argument.
So I tried to make another backup with a password and ran pymobiledevice3 backup2 backup --full iphone_backup/ --password my_secrect_password
But the response to this was Error: No such option: --password
For community
⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment
The text was updated successfully, but these errors were encountered:
Only the restore option requires a password, which can be an empty string. For creating a backup with password use the encryption subcommand which changes this setting globally and forces all created backups to have a password
Test environment
Describe the bug
The restore command reports that a backup that is encrypted and that I should supply a password. However, during backup, I didn't ask the backup to be encrypted and did not specify a password. I'm not sure whether the backup was actually encrypted or whether it is not encrypted but pymobiledevice3 asks for a password nevertheless.
To Reproduce
Steps to reproduce the behavior:
pymobiledevice3 backup2 backup --full iphone_backup/
it finished without error message.
pymobiledevice3 backup2 restore iphone_backup/
and the response was
pymobiledevice3.services.mobilebackup2[2812524] ERROR Backup is encrypted, please supply password.
Expected behavior
Since no encryption was specified or password supplied during backup, I expected that the backup would not be encrypted. In case it is actually not encrypted, I expected that the program would be able to restore the backup without a password.
Additional context
There is another weird behavior. If I run
pymobiledevice3 backup2 restore iphone_backup --password
the response is
Error: Option '--password' requires an argument.
So I tried to make another backup with a password and ran
pymobiledevice3 backup2 backup --full iphone_backup/ --password my_secrect_password
But the response to this was
Error: No such option: --password
For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: