security: шифрование SSH-секретов, TOFU для хост-ключей, исключение из бэкапа
This commit is contained in:
1 parent
76b1e22850
commit
d276d2fa9e
6 files changed
+153
-41
No files matched your search
@@ -1,13 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Sample backup rules file; uncomment and customize as necessary.
|
||||
See https://developer.android.com/guide/topics/data/autobackup
|
||||
for details.
|
||||
Note: This file is ignored for devices older than API 31
|
||||
See https://developer.android.com/about/versions/12/backup-restore
|
||||
-->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Используется на API < 31. На API 31+ применяется data_extraction_rules.xml -->
|
||||
<full-backup-content>
|
||||
<!--
|
||||
<include domain="sharedpref" path="."/>
|
||||
<exclude domain="sharedpref" path="device.xml"/>
|
||||
-->
|
||||
</full-backup-content>
|
||||
<exclude domain="sharedpref" path="secure_ssh_prefs.xml"/>
|
||||
<exclude domain="sharedpref" path="ProxyPrefs.xml"/>
|
||||
</full-backup-content>
|
||||
@@ -1,19 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Sample data extraction rules file; uncomment and customize as necessary.
|
||||
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
|
||||
for details.
|
||||
-->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<data-extraction-rules>
|
||||
<cloud-backup>
|
||||
<!-- TODO: Use <include> and <exclude> to control what is backed up.
|
||||
<include .../>
|
||||
<exclude .../>
|
||||
-->
|
||||
<!-- Зашифрованные SSH-учётные данные (пароль, ключ) -->
|
||||
<exclude domain="sharedpref" path="secure_ssh_prefs.xml"/>
|
||||
<!-- Конфиг прокси содержит VK/Yandex ссылку — не бэкапим -->
|
||||
<exclude domain="sharedpref" path="ProxyPrefs.xml"/>
|
||||
</cloud-backup>
|
||||
<!--
|
||||
<device-transfer>
|
||||
<include .../>
|
||||
<exclude .../>
|
||||
<exclude domain="sharedpref" path="secure_ssh_prefs.xml"/>
|
||||
<exclude domain="sharedpref" path="ProxyPrefs.xml"/>
|
||||
</device-transfer>
|
||||
-->
|
||||
</data-extraction-rules>
|
||||
</data-extraction-rules>
|
||||
Reference in new issue
Block a user