Commit graph

414 commits

Author SHA1 Message Date
Steve Soltys
cdaf842866 Version bump - 0.3.0 2019-03-14 21:33:50 -04:00
Steve Soltys
04543a1014 Fix transport encryption
Prior to this commit, some of the application data was not included during encryption. This is a breaking change, any backups made prior to this commit can no longer be restored.

1. Encrypt 'full' backup data.
2. Increase number of key generation iterations to 32767.
3. Change cipher to 'AES/CBC/PKCS5Padding'.
2019-03-14 20:09:06 -04:00
Steve Soltys
b16fcf5d87 Clean up backup service 2019-03-14 17:07:23 -04:00
Steve Soltys
3e2e75a9b5 Ignore 'calendar' and 'contacts' Android provider packages 2019-03-14 17:06:53 -04:00
Steve Soltys
571cecfa2f Version bump - 0.2.0 2019-03-01 23:48:03 -05:00
Steve Soltys
93f878f574
Merge pull request #17 from stevesoltys/feature/encryption
Add support for encrypted backups
2019-03-01 23:39:11 -05:00
Steve Soltys
828f257426 Clean up package and class structure significantly
1. Add service layer for backup / restore operations.
2. Reduce amount of duplicate code in activity classes.
2019-03-01 23:34:04 -05:00
Steve Soltys
0b5cc1a798 Fix logging in content provider restore component 2019-02-22 01:11:05 -05:00
Steve Soltys
03c92efc24 Add initialization message to loading popup window 2019-02-22 01:05:55 -05:00
Steve Soltys
bd0c41c2d3 Stop regenerating secret key for each package 2019-02-22 01:02:06 -05:00
Steve Soltys
1519580a36 Reduce number of key generation iterations to 25 2019-02-22 01:00:08 -05:00
Steve Soltys
b0465f7aae Add 'com.stevesoltys.backup' to ignored packages 2019-02-21 23:50:50 -05:00
Steve Soltys
0fd4c7833d Reduce number of key generation iterations to 100 2019-02-21 22:42:16 -05:00
Steve Soltys
023750be6e Add loading popup when fetching packages for backup or restore 2019-02-21 22:41:54 -05:00
Steve Soltys
9b979b3693 Move cipher logic out of backup and restore components 2019-02-21 21:51:46 -05:00
Steve Soltys
b182e743e8 Add support for encrypted backups
1. Add prompt for entering password during backup and restore.
2. Use PBKDF2 to generate a secret key that is used to encrypt backups.
3. Store salt in backup zip file.
4. Fetch salt from backup zip file during restore and use it to decrypt restoration data.
2019-02-15 02:46:24 -05:00
Steve Soltys
8ec018442a Add CHANGELOG.md 2019-02-12 21:30:37 -05:00
Steve Soltys
f21e687a6d Version bump - 0.1.2 2019-02-11 22:41:50 -05:00
Steve Soltys
77e44aa535 Fix whitelist configuration file path for Travis releases 2019-02-11 22:30:11 -05:00
Steve Soltys
31bc653cfb Version bump - 0.1.1 2019-02-11 22:25:01 -05:00
Steve Soltys
3c9e1e8523 Add whitelist configuration files to Travis releases 2019-02-11 22:24:28 -05:00
Steve Soltys
459867c165 Update SDK version to 28 for Travis 2019-02-11 22:13:01 -05:00
Steve Soltys
8fe694a2df Fix version code 2019-02-11 22:10:09 -05:00
Steve Soltys
656b7702e0 Allow user to select all packages during backup and restore 2019-02-11 22:07:57 -05:00
Steve Soltys
b714952b85 Ignore 'com.android.providers.downloads.ui' to resolve #14 2019-02-11 22:06:46 -05:00
Steve Soltys
df0b3d6287 Update SDK version to 28 2019-02-11 22:00:33 -05:00
Steve Soltys
09c8aad237 Update launcher icon 2018-12-15 03:41:50 -05:00
Steve Soltys
7c3bff31f0 Make transport service start in foreground to resolve #13 2018-12-15 03:34:34 -05:00
Steve Soltys
98297537df Pull commons-io from Maven repository for Gradle builds 2018-11-14 21:40:05 -05:00
Steve Soltys
b00d8d45c7 Fix Travis release API key 2018-11-13 18:50:50 -05:00
Steve Soltys
2244405e39 Fix Travis release API key 2018-11-13 18:26:09 -05:00
Steve Soltys
22db4579e8 Add application version to Android manifest 2018-11-13 18:15:21 -05:00
Steve Soltys
6b29cec736 Add Travis badge 2018-11-13 18:12:05 -05:00
Steve Soltys
05548bfd3e
Merge pull request #7 from stevesoltys/feature/standalone
Add support for standalone builds
2018-11-13 18:06:17 -05:00
Steve Soltys
ab4ae56def Add commons-io dependency to Android makefile 2018-11-13 17:58:27 -05:00
Steve Soltys
7e3ee5d8dc Add .travis.yml 2018-11-11 21:18:36 -05:00
Steve Soltys
cc4b629a89 Automatically start transport service when application launches 2018-11-11 21:00:00 -05:00
Steve Soltys
2fa09be854 Merge branch 'master' into feature/standalone 2018-11-11 20:53:57 -05:00
Steve Soltys
9f3d01e4f9 Use stub backup and restore components by default in backup transport 2018-11-11 17:18:55 -05:00
Steve Soltys
523c4a32a4 Set LOCAL_PRIVATE_PLATFORM_APIS flag for Android Pie support 2018-11-10 16:01:31 -05:00
Steve Soltys
e8720189f3 Add experimental support for standalone builds 2018-11-07 22:04:37 -05:00
Steve Soltys
bf177535e3 Enable backup manager before restore if it's disabled 2018-01-30 00:05:24 -05:00
Steve Soltys
c95655aa3a Fix module dependencies in Makefile 2018-01-24 20:43:24 -05:00
Steve Soltys
2dad0538b2 Add advantages section to README.md 2017-11-09 00:13:12 -05:00
Steve Soltys
072e9a1b02 Remove Gradle as build system
This application must be compiled with the operating system, so Gradle is unnecessary.
2017-11-08 23:56:49 -05:00
Steve Soltys
0bd1596056 Fix #2
The output file descriptor was not being closed after each chunk was written.
1. The output stream will no longer be stored in the restore state.
2. The output file descriptor will be closed after a chunk is transferred.
2017-11-08 23:21:27 -05:00
Steve Soltys
09ff3ba493 Clean up packaging of content provider backup/restore components 2017-10-23 20:02:40 -04:00
Steve Soltys
b9239143e0 Clean up ContentProviderBackupComponent 2017-10-23 20:00:25 -04:00
Steve Soltys
765b8b2540 Stop clearing the backup state after a package is rejected 2017-10-18 23:00:20 -04:00
Steve Soltys
312a13a913 Clean up logging in ContentProviderBackupComponent 2017-10-17 23:39:30 -04:00