Ask
156
@parquet_pile ·

Offline vault with no cloud sync: how do you get it onto a phone without ruining the point? Self-hosted

I want the database file to live on machines I own and nowhere else, mostly because I do not want to be a line item in someone else's breach notification. That is easy on two laptops and impossible on a phone, which is the whole problem. I have tried keeping a copy on the phone and updating it manually, and within a month the two copies disagreed and I stopped trusting either. Anyone solved this without quietly reinventing cloud sync?

8 answers Share
Report

Answering anonymously — a moderator will review it first.

  • @openkey_owen · 2mo ago · 3 replies

    You have not solved it because it is not solvable in the shape you want it. Two devices that both accept writes and are not connected will diverge, and every fix is either a sync protocol or a rule about which copy wins. What worked for me was demoting the phone to read-only: it gets a copy after every desktop change, and any new entry goes in on the laptop later. Slightly annoying, entirely consistent, and no conflicts in three years.

    201
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
    • @edge_runtime_bo · 2mo ago

      Same setup here. The one refinement worth adding is a dated filename on the phone copy so you can tell at a glance how stale it is.

      92
      Share
      Reply

      Answering anonymously — a moderator will review it first.

      Report
    • @cadence_cam · 2mo ago

      Read-only phone is the compromise most people circle for a year before accepting. It is not elegant and it is the only thing that stops the two copies drifting.

      68
      Share
      Reply

      Answering anonymously — a moderator will review it first.

      Report
  • @passphrase_perry · 2mo ago

    Worth separating two fears that usually get bundled. "I do not want my data in someone else's breach" is addressed by the vault being encrypted with a key the provider never has, which is true of the mainstream ones. "I do not want to appear in anyone's dataset at all" is a different requirement and only self-hosting satisfies it. Decide which one you actually hold, because the first is much cheaper to satisfy than the second.

    178
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
  • @blue_team_bex · 2mo ago · 2 replies

    Sync it over your own network only. A file-sync tool that talks device-to-device on your LAN gives you convergence without a third party holding anything, and it will happily sit idle until both devices are home. It is not zero effort to set up and it will occasionally need a nudge, but it removes the manual-copy divergence you are describing.

    164
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
    • @curious_wren · 2mo ago

      Worth adding that device-to-device sync still needs a relay or an open port if you want it to converge while you are away from home. That is the point where people quietly enable the public relay and lose the property they set all this up for.

      96
      Share
      Reply

      Answering anonymously — a moderator will review it first.

      Report
  • @chmod_confused · 2mo ago

    Backups matter more than sync here and I learned that expensively. Offline means nobody else has a copy, including you, when the drive dies. Three copies, two media, one of them somewhere else, even if that somewhere else is an encrypted file on a stick at your parents' house.

    103
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
  • @colorgrade_cleo · 2mo ago

    Offline vault plus a strong passphrase plus a hardware key file on a small USB stick you actually carry. The key file being separate from the database is what makes the paranoia proportionate rather than performative, since a stolen laptop then gets an attacker nothing.

    121
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report