aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/backup_rules.xml
diff options
context:
space:
mode:
authorpacien2023-04-01 19:43:47 +0200
committerpacien2023-07-30 03:53:20 +0200
commit8f046f245fadd8dc7efdbd6c29adf07ca327836a (patch)
tree3ba83bec11acdc5228961185c4d7b680d95bd965 /app/src/main/res/xml/backup_rules.xml
parent9df9f570be540acf1528b9fad1fc308b990eedb9 (diff)
downloadtincapp-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/backup_rules.xml')
-rw-r--r--app/src/main/res/xml/backup_rules.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/app/src/main/res/xml/backup_rules.xml b/app/src/main/res/xml/backup_rules.xml
new file mode 100644
index 0000000..6217761
--- /dev/null
+++ b/app/src/main/res/xml/backup_rules.xml
@@ -0,0 +1,39 @@
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<full-backup-content>
22 <include
23 domain="file"
24 path="./"
25 requireFlags="clientSideEncryption" />
26 <include
27 domain="file"
28 path="./"
29 requireFlags="deviceToDeviceTransfer" />
30
31 <include
32 domain="external"
33 path="./"
34 requireFlags="clientSideEncryption" />
35 <include
36 domain="external"
37 path="./"
38 requireFlags="deviceToDeviceTransfer" />
39</full-backup-content> \ No newline at end of file