diff options
author | pacien | 2023-04-01 19:43:47 +0200 |
---|---|---|
committer | pacien | 2023-07-30 03:53:20 +0200 |
commit | 8f046f245fadd8dc7efdbd6c29adf07ca327836a (patch) | |
tree | 3ba83bec11acdc5228961185c4d7b680d95bd965 /app/src/main/res/xml/data_extraction_rules.xml | |
parent | 9df9f570be540acf1528b9fad1fc308b990eedb9 (diff) | |
download | tincapp-8f046f245fadd8dc7efdbd6c29adf07ca327836a.tar.gz |
app: do no prevent encrypted or local backups
Backup was disabled altogether to avoid leaking the private keys in
clear.
This relaxes this restriction only for client-side encrypted online
backups or local device-to-device transfers.
Diffstat (limited to 'app/src/main/res/xml/data_extraction_rules.xml')
-rw-r--r-- | app/src/main/res/xml/data_extraction_rules.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app/src/main/res/xml/data_extraction_rules.xml b/app/src/main/res/xml/data_extraction_rules.xml new file mode 100644 index 0000000..40e5341 --- /dev/null +++ b/app/src/main/res/xml/data_extraction_rules.xml | |||
@@ -0,0 +1,41 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | |||
3 | <!-- | ||
4 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | ||
5 | * Copyright (C) 2017-2023 Pacien TRAN-GIRARD | ||
6 | * | ||
7 | * This program is free software: you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation, either version 3 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
19 | --> | ||
20 | |||
21 | <data-extraction-rules> | ||
22 | |||
23 | <cloud-backup disableIfNoEncryptionCapabilities="true"> | ||
24 | <include | ||
25 | domain="file" | ||
26 | path="./" /> | ||
27 | <include | ||
28 | domain="external" | ||
29 | path="./" /> | ||
30 | </cloud-backup> | ||
31 | |||
32 | <device-transfer> | ||
33 | <include | ||
34 | domain="file" | ||
35 | path="./" /> | ||
36 | <include | ||
37 | domain="external" | ||
38 | path="./" /> | ||
39 | </device-transfer> | ||
40 | |||
41 | </data-extraction-rules> \ No newline at end of file | ||