Skip to content

Untrusted devices will not delete data #894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions users/untrusted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ becomes available.
T2 -> U1 [label="Encrypted by T2"]
}

In the above scenarios, if the untrusted device U1 deletes a local copy of a
file, this is not replicated directly to trusted hosts. Untrusted hosts might
receive the notice, however.
Comment on lines +62 to +63
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, they won't, because Syncthing won't send it. This whole thing is a hypothetical on a potential Evil Syncthing that does the wrong thing but speaks the same protocol. 🤷

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's mostly the first sentence that's important for readers here. As a newcomer, I immediately asked myself "what happens if an encrypted file is deleted? Is the unencrypted counterpart deleted on other hosts?".

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand better now. Just the sentence is a good add.


Similarly, it's fine to add "normal mode" synchronization between untrusted devices.

.. graphviz::
Expand Down