Christopher Tate | 684d6f9 | 2014-01-13 13:48:22 -0800 | [diff] [blame] | 1 | The file "jbmr2-encrypted-settings-abcd.ab" in this directory is an encrypted |
| 2 | "adb backup" archive of the settings provider package. It was generated on a |
| 3 | Nexus 4 running Android 4.3 (API 18), and so predates the Android 4.4 changes |
| 4 | to the PBKDF2 implementation. The archive's encryption password, entered on-screen, |
| 5 | is "abcd" (with no quotation marks). |
| 6 | |
| 7 | 'adb restore' decrypts and applies the restored archive successfully on a device |
| 8 | running Android 4.3, but fails to restore correctly on a device running Android 4.4, |
| 9 | reporting an invalid password in logcat. This is the situation reported in bug |
| 10 | <https://code.google.com/p/android/issues/detail?id=63880>. |
| 11 | |
| 12 | The file "kk-fixed-encrypted-settings-abcd.ab" is a similar encrypted "adb backup" |
| 13 | archive, using the same key, generated on a Nexus 4 running Android 4.4 with a fix |
| 14 | to this bug in place. This archive should be successfully restorable on any |
| 15 | version of Android which incorporates the fix. |
| 16 | |
| 17 | These archives can be used as an ongoing test to verify that historical encrypted |
| 18 | archives from various points in Android's history can be successfully restored. |