Replies: 5 comments 9 replies
-
|
https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync |
Beta Was this translation helpful? Give feedback.
-
|
I read that but it's not obvious how it works in practice. I don't have a spare Android device to test it on. cheers, Paul |
Beta Was this translation helpful? Give feedback.
-
|
If KeePassDX opens the file from the SAF and I then edit the same file on another device, how does KeePassDX know to synchronise the changes from the two versions instead of overwriting them? When I use RCX to access a WebDAV folder, KeePassDX is just overwriting the changes made elsewhere while the file was open. The other application is also using the same WebDAV service and writing to the file in place so KeePassDX should be aware that the file has been changed. What's at fault here and is this supported by the Android SAF API or not? For this to work correctly KeePassDX would need to be informed that there's a newer version of the file so that it can try to merge it. This is especially important when using caching (not used during the above test) because a temporary network failure could mean that an out of date version of the file is loaded (with no warning for the user) and then passwords will be deleted when it's saved. Without caching this application is unusable over slower or higher latency connections (e.g. mobile data from another country). |
Beta Was this translation helpful? Give feedback.
-
|
One thing is non-negotiable, KeePassDX must not contain any data, even encrypted, from the user's keepass database. It's only an editor, it has been indicated from the beginning, that's what the application was designed to do. And I've explained why, so that it's never the entry point for any attack. Once the database is closed, KeePassDX no longer contains anything of interest. This allows you to put the file on an OTG usb key and only the data will be on the key. Remember that the aim of KeePassDX is to manage all your database data in a single file. If we're still using synchronization tools that are incapable of providing solutions (even manual ones) to their users in case of conflict, there will always be problems in any case. Based on this constraints, I propose the solutions I've already explained to solve the global binary sync problem. From what you say, SAF is very limited, but it's powerful enough to let different data through if you ask it to send different data, so enabling a merge if different data are sent manually at different time. The aim is to keep any type of file that can be merged by the same URI of the content provider, and that's completely feasible. If you don't like it, it'll be done with two different URIs when KeePassDX is able to manage the opening and merging of several databases simultaneously. It requires a lot of work, but it's not technically unfeasible. |
Beta Was this translation helpful? Give feedback.
-
I don't want to use a synchronisation application that has to be manually told to send different data at different times.
I can't tell if you agree with me or not - I realise it's not trivial to do, but can I eventually have a URI using local storage for offline use and a URI using remote storage for online use and automatically use/sync both of them based on availability? (A UI only being required when there's a conflict that can't be resolved automatically.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I see sync was added as of V3.2.0.
Can you provide details about its operation so I can update the KeePass list of apps that sync?
https://sourceforge.net/p/keepass/discussion/329220/thread/9969adb36a/
cheers, Paul
Beta Was this translation helpful? Give feedback.
All reactions