5 ms·
How does syncing across devices work?
by alphagrep12345 6y ago
How does syncing across devices work?
- thecodrr 6y agoI tried to keep the syncing as simple as possible. All data is first encrypted on the device using the user's key and then pushed and saved in the server db. When you login from another device your data is fetched and decrypted and shown to you.
- vageli 6y agoHow does this handle conflicting offline writes?
- thecodrr 6y agoFor most cases, the most recently edited copy is kept. However, if there's a conflict between 2 notes then a nice Git Conflict like UI is shown with both notes side by side and their differences highlighted.
- alphagrep12345 6y agoDo you save the user's key in server to decrypt? If that's the case, how are the notes truly 'private'?