• Wistful
    link
    fedilink
    English
    572 months ago

    Keepass XC on PC, Keepass DX on Android, Syncthing to sync database

    Works flawlessly!

    • NekuSoul
      link
      fedilink
      English
      212 months ago

      Most amazingly, this setup is also unexpectedly resilient against merge conflicts and can sync even when two copies have changed. You wouldn’t expect that from tools relying on 3rd party file syncing.

      I still try to avoid it, but every time it accidentally happened, I could just merge the changes automatically without losing data.

        • NekuSoul
          link
          fedilink
          English
          2
          edit-2
          2 months ago

          Depends a bit on the clients.

          • KeePass: Will ask you if you want to synchronize/overwrite/discard the database when saving.
          • KeePassXC: Will autoreload the database in the background, so merge conflicts shouldn’t happen in the first place. Otherwise there’s ‘Merge database’ in the menu.
          • KeePass2Android: So I mixed up the names and this is the client I actually use. This one does all changes to an internal copy of the database that is then synchronized on request.
          • KeePassDX: As far as I can see it also has a mechanism similar too KeePass2Android.

          Assuming you only have one desktop and mobile client you should never run into any issues. If you do have multiple KeePassXC clients it’s all fine as well assuming Syncthing always has another client it can sync with.

    • @[email protected]
      link
      fedilink
      English
      12 months ago

      I store my DB in Dropbox and use KeePass2Android on phone which has built in Dropbox sync.