4 ms·
This is the price you have to pay for a (secure) decentralised system, but syncthing tries to help where it can. In general, Resilio Sync's 'key per folder' mo
by danieldk 10y ago
This is the price you have to pay for a (secure) decentralised system, but syncthing tries to help where it can.
In general, Resilio Sync's 'key per folder' model seems to work better. I can give a key to other people and they can join the swarm without extra work on either sides. Also, it has a logical extension to encrypted-only peers: they get a derived key that can be used to sync in the swarm, but cannot decrypt the data.
If there was a stable open source program using Resilio Sync's sharing model, I would switch in a heartbeat. (There is Librevault, but it still seems to be mostly in development.)
- brotherjerky 10y agoWhere can I read about the swarm capability? I'm searching for something like how BTSync worked, but I don't see how Syncthing does this. It seems like one to one sharing, per: https://forum.syncthing.net/t/can-i-use-synthing-to-distribute-content-like-btsync/173/5 https://forum.syncthing.net/t/can-i-use-synthing-to-distribu...
- ohnoesjmr 10y agoYeah, the only problem is you can never "un-give" a key, which means you either have to rebuild your cluster under a different key (having to re-give key to everyone else apart from that one guy you want to kick out), or deal with the person having access to the data forever.
- danieldk 10y agoIndeed, with the standard folders you cannot do this. With the identity-based sharing, you can remove someone from a folder. The identity-based sharing model has some downsides (no support for encrypted read-only peers), but does support user management.
- brigandish 10y agoIf the data is encrypted using a session key and then the session key encrypted with a master key and stored with the data (concat them together) then it can. You can't revoke access to the data they've already got, of course, but as changes/additions are made they lose the ability to decrypt the new data because you've used a new session and master key. Arq uses this method when encrypting blobs.
- canton7 10y agoThe model has been considered for Syncthing many times, but it boils down to the fact that: 1) There's no way to revoke access, and 2) Once the secret is out, it's out: you have to scrap it and start again from scratch.
- fiatjaf 10y agoWhat is the problem with that? You can always close the folder and start a new one.