mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
6b475bdb78
This prevents combining untrusted with introducer and auto-accept, and also verifies that folders shared with untrusted devices have passwords at config loading time. Co-authored-by: Simon Frei <freisim93@gmail.com>
18 lines
844 B
XML
18 lines
844 B
XML
<configuration version="37">
|
|
<folder id="a" label="a" path="a">
|
|
<device id="6564BQV-R2WYPMN-5OLXMII-CDJUKFD-BHNNCRA-WLQPAIV-ELSGAD2-RMFBFQU" introducedBy="">
|
|
<encryptionPassword></encryptionPassword>
|
|
</device>
|
|
</folder>
|
|
<folder id="b" label="b" path="b">
|
|
<device id="6564BQV-R2WYPMN-5OLXMII-CDJUKFD-BHNNCRA-WLQPAIV-ELSGAD2-RMFBFQU" introducedBy="">
|
|
<encryptionPassword>a complex password</encryptionPassword>
|
|
</device>
|
|
</folder>
|
|
<device id="6564BQV-R2WYPMN-5OLXMII-CDJUKFD-BHNNCRA-WLQPAIV-ELSGAD2-RMFBFQU" name="untrusted" compression="metadata" introducer="true" skipIntroductionRemovals="false" introducedBy="">
|
|
<address>dynamic</address>
|
|
<autoAcceptFolders>true</autoAcceptFolders>
|
|
<untrusted>true</untrusted>
|
|
</device>
|
|
</configuration>
|