Decentralized browser sync

Why Brave is not integrating Syncthing for browser and file sync?

It already is there. Go to brave settings → Sync

Brave sync is not decentralized. Brave sync v2 uses brave servers.

@annox I want you to think a bit about what you’re saying. First off, data is stored on your devices. But how do you expect data to go from one device to the next? It has to pass through somewhere, right? So what happens is it gets encrypted on your device and passes through Brave’s secure servers to get to your next device.

Would you prefer Brave has your information stored on Google’s servers? On Facebook’s? Or where are you suggesting? lol

To quote from the Help articles:

We use the built-in custom passphrase feature from Chromium sync and encrypt everything client-side. Instead of letting the user pick a passphrase, which may be weak, we force the passphrase to be the BIP39 encoding of the sync seed. The rest of the encryption is handled by Chromium as follows:

  1. BIP39 phrase is key-stretched using scrypt(N = 2^13, r = 8, p = 11). New clients need the scrypt salt in order to derive the key.
  2. Then the stretched key is used directly as a AES128-CTR-HMAC encryption key.

You can also see a very detailed description at https://support.brave.com/hc/en-us/articles/360059793111-Understanding-Brave-Sync

I was talking about this.
https://syncthing.net/

1 Like

You can self host Brave sync but obviously it is not for everyone, and you need to read about it and do it yourself, and it can only be done in Desktop properly, because it is the only one where you can easily change the sync URL with the terminal.

5 seconds of research is all that was needed to find that out, also another 5 seconds of research would have told you how there is even an issue opened for sync with IPFS from years ago, so they are aware they want something else for sync.

So I don’t get this “why Brave is not…” because you didn’t research about it to be sure or not about it.

Also, people like you make it seem like people can just take code and ‘integrate it’ with a click of a button and everything is done, from elves working at night, while they are playing playing cards with unicorns and fairies.

Syncthing is for synching files, so think about it, if passwords, cookies and extensions are encrypted, so they can only be used in the device they were genereated… how can you use syncthing to somehow make those file work in other devices? how can Syncthing decrypt the files and re-encrypt or have access to the other devices encryption key?
Again, it is not ‘integrate’ and done, there are many obstacles especially when I doubt syncthing is even something that can be integrated in a browser just like that and then deal with the encryption.

1 Like

@annox I see. Thanks for sharing. From what I’m seeing, there’s some pros and cons. I’m not sure what anyone on Sync team might think. I’ll try to tag @alexey to see if he might be able to notice this and give any feedback on whether Brave is moving in that direction at all and if he can explain why it may or may not be wise to do so.

Hello @annox , @Saoiray ,

Currently there are no plans for decentralized browser sync.

As it was mentioned above by @Emi , it is possible to create self-hosted server for Sync, but only desktop browser allows easily change server url to use it.

1 Like