-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag '15-5.2' of https://github.com/seedvault-app/seedvault
SeedVault 15-5.2 * It is now possible to verify the integrity of file backups as well, partially or fully * Improve files backup snapshot UI * Allow changing backup location when USB drive isn't plugged in * Fix work profile USB backup Also contains 15-5.1 * It is now possible to verify the integrity of app backups, partially or fully * The entire WebDAV URL is now shown when in settings * A launch button is now shown for apps that are force-stopped so that they can be backed up # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCgAdFiEE8LiYseXDVwsHMtSKo5wwJqfeYAEFAmdqwqIACgkQo5wwJqfe # YAE+pQ//SMo4S3bBdJ4SgKr/mGuwoq0b1QVHlujwTSFUXGugUehJY8lhhhEdd9QX # dHyJm/fSxwUbjT9VQGBW4jAy590g+CwN/zrl2rPyg5tEzyidF5NOeu6FfBuFHqr0 # IauJ1e9GXd1hZM9vpgIUUXrkMwt6s+LUHPnSu5mfzW8Rd85Yh3o2GkKOHjhklBHb # wwtVFzIsKICv55DgWZp77AdyfKw2XuddsqYA+i3xuGKt8U6U8t18zArQYAY++hwc # kzJx5fJG+TE7T81QklhkZPdeO+CLGrs0pNrJWzI7tk9Qu1oN1AmZj83x/+61Y0DH # 9K29/XQiDd/YWL+iXBIlFxQO5EMe/liSzO9ev1aUReaoOskSEb6ixVCJnoiO8FYv # iXck5rgM5yQJjU+mbhJlbLcfrHlIbdHiHILryo2ryR/0BplKP3hJXuuDEAjR+Hnm # 4+bWgAzGOjvqzDGwu+jWTBx0sXztzwb3DmeqExVg430L8TXPUSGNw6iSMKMM88TU # DtAodOxQoa55dbcRvma56rYmmw8Ld9dqbi0alRIWFH0cFXGYWAs//c5ZaoGkVXCJ # lYAtGVcca0YGH4TBIH1EcJqEjqP5tMHkww4BxR2QQ9kSOSPQzOLJhyg69GgTf8uO # zFntjqD0CbNlgqMiOInOCbKKHKdSoFOGBTv5ooCVfjy4aSzQfEM= # =rhBP # -----END PGP SIGNATURE----- # gpg: Signature made Tue 24 Dec 2024 07:48:10 PM IST # gpg: using RSA key F0B898B1E5C3570B0732D48AA39C3026A7DE6001 # gpg: Good signature from "Chirayu Desai <chirayudesai1@gmail.com>" [ultimate] # gpg: aka "Chirayu Desai <chirayu@calyxinstitute.org>" [ultimate] # gpg: aka "Chirayu Desai <chirayu@cdesai.in>" [ultimate] * tag '15-5.2' of https://github.com/seedvault-app/seedvault: (71 commits) Bump version to 15-5.2 Update state tracking to also include file backup check Allow changing backup location when flash drive isn't plugged in Tweak file backup strings as requested Don't allow running file backup and check at the same time Show which files are affected by corrupted in files overview view Move background color into core module Improve files backup snapshot UI Show detailed file listing after tapping snapshots in check result Store ciphertext size in the DB instead of the plaintext size ChunksCacheRepopulater ignores snapshots it can't read Make backups self-healing after corrupted chunks were found Mark corrupted chunks in the ChunksCache Export DB schema for files backup' internal cache DB Check file backup chunks with unexpected file size on backend first Replace backendGetter lambda with IBackendManager Add UI for new Files Backup Checker Add Files Backup Checker to storage library Move some Sud styles into core Remove FIXME since we are no longer updating lastBackupTime a lot ... Change-Id: Icbe272f0613a10959883e7b19198f73c64a0a795
- Loading branch information
Showing
166 changed files
with
4,859 additions
and
921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,66 @@ | ||
task: | ||
name: Build with AOSP | ||
only_if: $CIRRUS_PR_LABELS =~ ".*aosp-build.*" | ||
timeout_in: 70m | ||
container: | ||
image: ubuntu:23.04 | ||
cpu: 8 | ||
memory: 32G | ||
build_script: | ||
- ./.github/scripts/build_aosp.sh aosp_arm64 ap1a userdebug android-14.0.0_r29 | ||
container: | ||
image: ghcr.io/cirruslabs/android-sdk:34 | ||
kvm: true | ||
cpu: 8 | ||
memory: 16G | ||
|
||
instrumentation_tests_task: | ||
name: "Cirrus CI Instrumentation Tests" | ||
start_avd_background_script: | ||
sdkmanager --install "system-images;android-34;default;x86_64" "emulator"; | ||
echo no | avdmanager create avd -n seedvault -k "system-images;android-34;default;x86_64"; | ||
$ANDROID_HOME/emulator/emulator | ||
-avd seedvault | ||
-no-audio | ||
-no-boot-anim | ||
-gpu swiftshader_indirect | ||
-no-snapshot | ||
-no-window | ||
-writable-system; | ||
provision_avd_background_script: | ||
wget https://github.com/seedvault-app/seedvault-test-data/releases/download/3/backup.tar.gz; | ||
|
||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'; | ||
adb root; | ||
sleep 5; | ||
adb remount; | ||
adb reboot; | ||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'; | ||
adb root; | ||
sleep 5; | ||
adb remount; | ||
sleep 5; | ||
assemble_script: | ||
./gradlew :app:assembleRelease :contacts:assembleRelease assembleAndroidTest | ||
install_app_script: | ||
timeout 180s bash -c 'while [[ -z $(adb shell mount | grep "/system " | grep "(rw,") ]]; do sleep 1; done;'; | ||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'; | ||
|
||
adb shell mkdir -p /sdcard/seedvault_baseline; | ||
adb push backup.tar.gz /sdcard/seedvault_baseline/backup.tar.gz; | ||
adb shell tar xzf /sdcard/seedvault_baseline/backup.tar.gz --directory=/sdcard/seedvault_baseline; | ||
|
||
adb shell mkdir -p /system/priv-app/Seedvault; | ||
adb push app/build/outputs/apk/release/app-release.apk /system/priv-app/Seedvault/Seedvault.apk; | ||
adb push permissions_com.stevesoltys.seedvault.xml /system/etc/permissions/privapp-permissions-seedvault.xml; | ||
adb push allowlist_com.stevesoltys.seedvault.xml /system/etc/sysconfig/allowlist-seedvault.xml; | ||
|
||
adb shell mkdir -p /system/priv-app/ContactsBackup; | ||
adb push contactsbackup/build/outputs/apk/release/contactsbackup-release.apk /system/priv-app/ContactsBackup/contactsbackup.apk; | ||
adb push contactsbackup/default-permissions_org.calyxos.backup.contacts.xml /system/etc/default-permissions/default-permissions_org.calyxos.backup.contacts.xml; | ||
|
||
adb shell bmgr enable true; | ||
adb reboot; | ||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'; | ||
adb shell bmgr transport com.stevesoltys.seedvault.transport.ConfigurableBackupTransport; | ||
adb reboot; | ||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'; | ||
run_large_tests_script: ./gradlew -Pandroid.testInstrumentationRunnerArguments.size=large :app:connectedAndroidTest | ||
run_other_tests_script: ./gradlew -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest connectedAndroidTest | ||
always: | ||
seedvault_artifacts: | ||
path: Seedvault.apk | ||
pull_screenshots_script: | ||
adb pull /sdcard/seedvault_test_results | ||
screenshots_artifacts: | ||
path: "seedvault_test_results/**/*.mp4" | ||
logcat_artifacts: | ||
path: "seedvault_test_results/**/*.log" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Reporting Security Issues | ||
|
||
The Seedvault team and community take security bugs seriously. | ||
We appreciate your efforts to responsibly disclose your findings, | ||
and will make every effort to acknowledge your contributions. | ||
|
||
To report a security issue, | ||
please send an email to `security@seedvault.app` | ||
or use the GitHub Security Advisory | ||
["Report a Vulnerability"](https://github.com/seedvault-app/seedvault/security/advisories/new) tab. | ||
|
||
The Seedvault team will send a response indicating the next steps in handling your report. | ||
After the initial reply to your report, | ||
we will keep you informed of the progress towards a fix and full announcement, | ||
and may ask for additional information or guidance. | ||
|
||
# Older platform branches | ||
|
||
Due to API breakage in AOSP versions, we have one branch per major AOSP release, | ||
e.g. `android14` and `android15`. | ||
Note that typically only the latest branch is maintained. | ||
This means that fixes for **security issues do not get backported** to older branches automatically. | ||
Please get in touch if you want to maintain an older branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.