Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Syncthing + Keepass =
 help



Out of sync files and/or multiple copies, hard to sync to mobile devices easily and general lost passwords. I tried it. It works but my GOD it’s clunky.

Usually you don't modify/ads entries on 2 devices at tge same time so you only get conflicts if devices can't see each other because they are turned off inbetween changes.

The solution is to have a third device always online, a pi zero is enough. Same for decentralized messaging systems such as jami.

My main gripe with keepass+syncthing is you can't share a subset of your secret to someone else.


> The solution is to have a third device always online, a pi zero is enough.

Not if you are travelling and need to add a new password on your phone.

I assume you do not suggest connecting the Pi to the Internet.


Ok, so you're traveling and add a password to your phone. Then it syncs as as soon as you get home. You'd have to turn turn on airplane mode before going home and then update your database on your laptop to create a conflict.

I've been using syncthing + keepass for years without issue, and I've never been able to figure out how people create conflicts. You can run it over tailscale, use or run a syncthing relay, or just wait 30 seconds for your phone to sync when you get back home.


When a person says "always online" they generally mean "connected to the Internet".

Syncthing works fine over e.g. Tailscale, so the device can be on the Internet but only exposing a VPN endpoint (no public services except for the VPN itself).


Using a phone doesn't mean you can't access your local network with wireguard, tailscale, nebula, etc.

I actually found this works well. Also even syncthinging a git repo that you commit to and make changes in works well. But somehow neither syncing Thunderbird calendars nor Korganizer ics files works well and appointments go missing. Need to self-host a calendar synchronization protocol for that. Grrrr.

I have a syncthing folder full of headless git repos which I can push and pull. I don't like working on stuff inside a syncthing folder, so headless makes sure that doesn't happen. It also means I don't have to worry about where HEAD is.

running a webdav server on each device and using localhost to connect to it is the way to go with syncthing (instead of having 1 central webdav server)

https://forum.syncthing.net/t/how-to-sync-contacts-and-calen...

EDIT: on second thoughts, that might not solve the issue youre having. nevermind!


I was considering running Radicale on my server. But if I have Radicale hosted on my server, then I think I don't need to involve Syncthing at all for calendar tools. Then I can just use Radicale and should be fine. What I was trying originally, and what doesn't work well, due to Syncthing frequently having conflicts for calendar files, is to use Syncthing exclusively for syncing those calendar files.

Somehow git behaves in a way that syncthing doesn't run into issues, but TB and Korganizer don't, and sync conflicts ensue.


Good look running a server on an iOS device.

Has syncthing ever been a thing on iOS anyway?

I use https://mobiussync.com/ + https://strongboxsafe.com/. Strongbox can automatically sync everything for you if you use Apple devices everywhere, but I do not. Instead I point Strongbox to the password file stored/synced by Mobius Sync.

Because of the way iOS handles background apps, the SyncThing server does not stay on all the time. I had to get into the habit of opening the app and waiting for a sync to finish whenever I make a change to my password database. Every few weeks/months I will have one or two sync conflicts, which I merge and re-sync, and I've never had issues with data loss mentioned by others in this thread.


How do you merge the conflicting files?

pray to steve

2B credentials exposed?

Corruption?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: