KeePass2Android has support for many cloud stuff. Host your DB on there, then KeePass2Android will sync with that when you change/open it
KeePass 2 on desktop can compare two databases and sync them. It has also some plugins to sync with cloud
KeePass2Android has support for many cloud stuff. Host your DB on there, then KeePass2Android will sync with that when you change/open it
KeePass 2 on desktop can compare two databases and sync them. It has also some plugins to sync with cloud
This is the cost of offline password managers. You can't do this at a file level, there is no way for a sync protocol to merge changes from two files. I say this having suffered the loss of a couple passwords from this exact scenario.
You either need to exercise diligence in only adding passwords at one place, or run a "real" db-based password manager.
You can't do this at a file level, there is no way for a sync protocol to merge changes from two files.
I'm sure some mad lad could hack together bash, git, and cron into an unholy mess that would do it
I’m sure some mad lad could hack together bash, git, and cron into an unholy mess that would do it
Sparkleshare basically did that and of course it sucked for syncing big binary files with frequent tiny changes
I guess I'll correct my statement:
It can only be done by decrypting your passwords and comparing them across several locations, thereby mostly canceling any security you were counting on from your password manager.
I don't think that's really possible. Why do you want to do this? What problem are you trying to solve?
Having the same file in both systems without the file being deleted on both if I delete it in one.
That's what backups solve, for important data like a PW DB you should be running daily backups with versioning. Then if anything gets deleted or corrupted you can restore it easily.
Why not use file versioning on either device folder in syncthing to ensure you retain copies of deleted files? The "simple" setting will retain the last 5-10 versions of any file.
I'd also recommend backing up your data outside of the sync service once a day or whatever interval makes sense to you. That way a wayword sync, even with safeguards, cant really destroy the data.
I tried that with my KeePass database and then I ended up with different conflict versions if a device didn't sync to my server before I updated on another device. Then I ended up with the conflict versions and old versions I had manually resolve. The Android Syncthing app could get auto killed by the Android OS for memory/battery saving, so I had to go back to OneDrive style syncing where the KeePass Android app would internally merge and resolve conflicts. It couldn't do that using the Syncthing style syncing.
Try Syncthing with IgnoreDelete but note that it's unrecommended. Maybe use Syncthing as an append-only store
Might be time to self host vaultwarden if you need real DB features like that.
There is a way to make this work. It goes like this:
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0