jensstein / oandbackup

backup manager for android
Other
539 stars 192 forks source link

encrypted special backups are unencrypted or cannot restore #247

Open TjrGithub opened 5 years ago

TjrGithub commented 5 years ago

The special backups don't behave as expected if backups are encrypted. They are mostly unencrypted, or cannot be restored, or are incomplete.

Tested: accounts, android, appwidgets, bluetooth, data.usage.policy, wallpaper, and wifi.access.points.

However, user app backups are encrypted correctly (tested with mupdf) and can be restored.

Steps to reproduce:

Expected result: Amaze should find a PGP message inside the backup files. Openkeychain should detect a valid encrypted zip file and decrypt it correctly.

Observed results: accounts: decrypted file is 0 bytes long. Openkeychain shows unknown file name, but no error message. android: .zip is unencrypted, readable Amaze appwidgets: openkeychain decrypts the xml file directly, not signed, no .zip container bluetooth: decrypted .zip is 0 bytes long. Openkeychain shows unknown file name, but no error message. data.usage.policy: openkeychain decrypts both xml files directly, not signed, no .zip container. The .zip file, known from unencrypted oandbackup backups, is missing. wallpaper: .xml is unencrypted, readable Amaze wifi.access.points: openkeychain decrypts the xml file directly, not signed, no .zip container

Versions: