You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sharing the first folder to an untrusted device on an established connection sends plain-text #7509
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Devices A+B: Discovery and nat traversal deactivated, Relaying on (Windows x32)
Device U: Discovery, nat traversal and relaying deactivated (Ubuntu 20.04 64bit)
All Devices on v1.15.0-rc.5, Windows machines using SyncTrayzor
Devices A and B are connected to U. Status: Connected (unused)
Steps to reproduce
Add new Folder to Device A and share it with encryption password
Receive Folder on U and add it.
=> U will now show “Up to date” but will not receive any data. A will show “Syncing” for the device and “up to date” for the folder while not sending any data.
Pause the new Folder on A and resume it
=> A and U will now sync but U will now have the unencrypted data at the chosen path.
A connection handles multiple folders, every single can be encrypted or not. Which folders are or not encrypted is set when the connection is created. At the time the code was written that was ok, as we dropped a connections when any folder changed. Now we don't anymore, thus adding an encrypted folder doesn't make that connection encrypted until the connection is dropped (restart, device pause, ...).
Should this go into the changelog? It's definitely a "note-worthy" bug, but the untrusted feature is still in testing/preview. Not sure.
The point about having to pause and resume the folder to make anything happen is unrelated (did repro but don't yet know why it happens).
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Activity
lib: Handle adding enc folders on an existing conn (fixes syncthing#7509
lib: Handle adding enc folders on an existing conn (fixes syncthing#7509
lib: Handle adding enc folders on an existing conn (fixes #7509) (#7510)
Merge branch 'main' into candnogui