Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / findfamily / src / main / res / xml / data_extraction_rules.xml

data_extraction_rules.xml30 lines · 1.5 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Overrides the permissive default in the shared :library module.
3
4 Storage audited:
5 database/passwords-db FFDatabase (User/Waypoint/LocationValue/TemporaryLink):
6 precise location history and family link state.
7 file/datastore_default.preferences_pb userid plus the E2EE identity keypair and
8 the "ff_pqc" post-quantum keys (Networking.init ->
9 E2eeIdentity/PqcIdentity.loadOrCreate). Private key material.
10 sharedpref/secure_prefs keystore-wrapped SQLCipher passphrase.
11
12 Nothing leaves for cloud backup: location history is sensitive and the DataStore
13 holds long-term private keys. Device transfer carries the location history only;
14 the key material stays on the device that generated it, so a new device
15 re-establishes its own identity and family links. -->
16<data-extraction-rules>
17 <cloud-backup>
18 <exclude domain="root" path="." />
19 <exclude domain="file" path="." />
20 <exclude domain="database" path="." />
21 <exclude domain="sharedpref" path="." />
22 <exclude domain="external" path="." />
23 </cloud-backup>
24 <device-transfer>
25 <!-- Allowlist: the database domain only, so the DataStore holding the E2EE and
26 PQC private keys is excluded. Whole-domain include keeps the -wal/-shm
27 sidecars with the database. -->
28 <include domain="database" path="." />
29 </device-transfer>
30</data-extraction-rules>