6 ms·
I've avoided FF sync because I don't want my browser history on the cloud. I only really want my profile configuration, such as my addons and userjs flags. Unfo
by gausswho 3y ago
I've avoided FF sync because I don't want my browser history on the cloud. I only really want my profile configuration, such as my addons and userjs flags. Unfortunately the FF directory in my .config is intermixed enough between config and content that I don't try to back it up. Am I missing something?
- threePointFive 3y agoFF Sync doesnt work by backing up your config directory to some cloud storage. That would be a recipe for disaster since your profile has certain machine specific settings configured automatically by the browser. When you enable Sync you get to explicitly decide which things you want to include in the sync. I have mine set to just addons, configs, and bookmarks.
- stavros 3y agoThe sync contents are encrypted between devices. EDIT: After writing this, I realized I should investigate the claim, because new devices are added just by logging in, not by giving them any sort of password.
- amelius 3y agoYes, E2EE.
- unshavedyak 3y agoThe parent raised a good point tho. If you can add devices without entering encryption info, how can it be properly E2E?
- caminante 3y agoI don't know what criteria is required to meet an E2EE (End to end encryption?) standard. In general though, the info is stored on Mozilla's (or an affiliate's) cloud.[0] 1. If you lose your password and didn't setup a separate password recovery code (one time codes), then your data is toast. You can't reset your password via email without wiping your cloud data because mozilla uses your password in a hashing algorithm to store your data. 2. If I recall, you have to setup a 2FA to login on new devices. [0] https://www.mozilla.org/en-US/firefox/features/sync/ https://www.mozilla.org/en-US/firefox/features/sync/ *EDIT: revised above to clarify mozilla password reset wipes data unless you have recovery key.
- klabb3 3y ago> I don't know what criteria is required to meet an E2EE (End to end encryption?) standard. Only sender and receiver (the “ends”) can decrypt the data, ie have the keys. In this case both ends are “you”, and the passphrase is the authentication for new devices. For e2ee to hold, neither the passphrase nor the key can be shared with another party, for instance Mozilla. > 1. If you lose your password and didn't setup a separate password recovery code (one time codes), then you're toast. That sounds right, and is similar to password managers. Your data is encrypted as a vault with a key derived from the passphrase. The vault is opaque to anyone without the key. Though you still have to trust the software.
- caminante 3y agoOK. It sounds like E2EE encryption in effect because Mozilla encrypts your cloud data with a password hashing algorithm. [I edited my comment above to get into more nuance about password reset is possible, but wipes data.] If you lose your Mozilla account password, you can reset it, but > Any data you have on the server will be erased when you reset your password (unless you use recovery keys). Your other devices will stop synchronizing unless you update them with the new password.[0] [0] https://support.mozilla.org/en-US/kb/ive-lost-my-firefox-sync-account-information#w_ive-forgotten-my-mozilla-account-password-how-do-i-reset-it https://support.mozilla.org/en-US/kb/ive-lost-my-firefox-syn...
- klabb3 3y ago> If you can add devices without entering encryption info, how can it be properly E2E? It can’t. I don’t know about FF, but if you can add a device without explicit approval of one of your existing provisioned devices it is what I call Fake E2EE. You see different providers go to great lengths to do device local encryption etc but due to product requirements (“what if a user loses their device or forgets their passphrase”) they keep a copy of the key, yet slaps the e2ee label on their product. So now it’s just regular encryption at rest with all the risks (subpoenas, rogue employees, company gets acquired, new CEO starts drooling over data broker dollars etc), only with much more technical complexity since data now needs to be read-writable client side by different software versions, increasing the risk of corruption, data loss and bugs. Password managers with true e2ee actually suffer from these corruption issues from time to time. But that’s a price that must be paid for the e2ee level of security. It’s not for everyone – I wished there was more honesty around this instead of diluting meaningful and precise terms. Edit: seems like FF has e2ee, see sibling comment.
- albuic 3y agoIf the encryption info is derived from the password it can be done without visual encryption keys for the user. It is the case with Firefox Sync. They have no way to recover the data if you forget the password.
- rlpb 3y agoThe original Firefox sync did this "right" (from a privacy and encryption perspective) but required user out-of-band transfer of key material to add a new device. Apparently this was too difficult for users, so they dropped it in favour of "user accounts" with passwords instead.
- deanishe 3y agoYou do enter encryption info: your password. FF sync "splits" your password into an encryption key and the service password on the client side. The service never sees the key (or real password). Bitwarden works in a similar way.
- marcosdumay 3y agoLogging in includes giving the device a password. There's no off-channel key synchronization. What means that the encryption is only as good as your password. But AFAIK no browser has it anyway, and nearly no sync service.
- deleted 3y ago[deleted]
- jhasse 3y agoBrave uses a QR code to exchange the key.
- marcosdumay 3y agoActually, I have redone the steps on my computer after that comment, and well, I was wrong. Firefox sync seems to work by key authorization, that is done by in-channel sharing and user confirmation for PCs and a QR code for phones. It's a quite good process, that looks similar to what you are describing. I just don't know why I remembered something different.
- opencl 3y agoThey posted an article a while ago with a high level overview of how FF Sync encryption works, but the TL;DR is that the key for E2EE is derived from your account password. https://hacks.mozilla.org/2018/11/firefox-sync-privacy/ https://hacks.mozilla.org/2018/11/firefox-sync-privacy/
- deleted 3y ago[deleted]
- mentalpiracy 3y agoYou can turn history sync off. It’s like, one of the first main toggle options shown to the user.
- poisonborz 3y agoYou can selfhost the sync server
- mihular 3y agoHow is this working nowadays? A few years back it wasn't exactly easy to self host. Ideally there would be a docker image and a docker compose config.
- paulmd 3y agoI was looking at this recently and still couldn’t make it work smoothly. The server itself is fine but I couldn’t get Firefox to pick up the new sync server url from about:config. Possibly my fault and I need to poke at it a little more but in general I can start a docker container just fine so I feel like its maybe not quite there yet.
- smarterhome 3y agoIt works pretty well actually! I love FF sync and I started self hosting it earlier this year. You can find the full details (also changes needed in the browser settings) here: https://thesmarthomejourney.com/2023/03/18/self-hosting-firefox-sync/ https://thesmarthomejourney.com/2023/03/18/self-hosting-fire... I only wish they would make their new rust based server available via docker(-compose) too. I have not found a working version of that yet
- amenhotep 3y agoYou can choose to sync or not sync bookmarks, history, open tabs, logins and passwords, credit cards, add-ons and settings individually. So, yeah, you're missing that you can just not sync history!