this post was submitted on 15 Mar 2026
39 points (95.3% liked)

Selfhosted

56957 readers
1072 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

What do you use for syncing your password manager between your Android phone and your PC? Apparently Nextcloud doesn't support two-way syncing on Android for some reason, and Syncthing-Fork is still untrustworthy since the disastrous handover. The AI generated profile picture of researchxxl doesn't exactly inspire confidence either, neither does his GitHub bio:

Hi! My name is Jonas and I like to use my coding skills from games and modding to continue work on the Syncthing for Android wrapper.

Everything about this person screams vibe coder.

Bitwarden is an alternative, but I don't like how non-standard it is. It's cumbersome to manage and backup, meanwhile the KeePass format is just a file that I can backup wherever and however I want and there are many frontends to choose from.

Have you solved this?

top 42 comments
sorted by: hot top controversial new old
[–] Luminous5481@anarchist.nexus 2 points 24 minutes ago (1 children)

I use Vaultwarden. Each synced device is a backup, so there's no real need to keep anything further than that, but I do keep one backup of the server files anyway.

[–] versionc@lemmy.world 1 points 4 minutes ago

Yeah, that's a good point. There are still a few cons though:

  1. If the server goes down (or your internet connection goes down), you can't add entries to your database. Local changes aren't allowed.
  2. Bitwarden doesn't support supplementing your passphrase with a key file.
  3. The Bitwarden clients aren't enitrely FOSS as far as I understand, the SDK used has a non-free license.

There are pros and cons in both alternatives, and there is unfortunately not a perfect solution. I like the idea and philosophy behind the KeePass format, so the increase in syncing complexity is worth it (for now at least).

[–] kokonmiikka@lemmy.zip 6 points 1 hour ago

Selfhost Vaultwarden. Browsers Bittwarden extensions and Android with Keyguard app.

[–] hanrahan@slrpnk.net 3 points 1 hour ago

bitwarden

seems odd you say how cumbersome it is to manage and backup (not an issue I've faced though) and yet you are using some cumbersome alternative ?

[–] IratePirate@feddit.org 3 points 1 hour ago* (last edited 1 hour ago) (1 children)

I share your sentiment about Syncthing-Fork and the botched handoff to researchxxl. I have yet to implement the Termux-based workaround that allows me to use Syncthing from the browser without the Android app / wrapper. It looks pretty clean as it's just pure Syncthing with a little starter script.

[–] MalReynolds@slrpnk.net 2 points 1 hour ago (1 children)

For say a keypass db you don't need even that, Just sshd gets you rsync on your computer with cron or systemd timer / service... Personally I just use an old version of Syncthing-Fork though, security implications for local network are minimal.

[–] IratePirate@feddit.org 1 points 3 minutes ago* (last edited 3 minutes ago)

Tbh, I've never bothered to figure out how SSHing into an Android device works.

You're right about the security of older versions of Synching-Fork if you remember to configure it to only do syncs locally (it's not configured like that by default).

[–] Smash@lemmy.self-hosted.site 4 points 2 hours ago

Passwords Nextcloud app

[–] Whooping_Seal@sh.itjust.works 2 points 2 hours ago

I still think a syncthing client of some form is ideal. As someone else mentioned there is the option of using the Syncthing Tray devs experimental android build. To avoid issues with sync-conflicts / maintain high-availability access to the most recent file, I sync the databse to a raspberry pi with the encryption option selected (not that the pi is untrusted per se, but it is a device that doesn't need access to the file, it just serves the most recent changes to other devices since often my laptop / phone / desktop are not all on at the same time).

[–] RodgeGrabTheCat@sh.itjust.works 18 points 5 hours ago (1 children)

On Android I use KeePassDx Syncthing-Fork. The handover was rough but the maintainer of the Play version joined researchxxl's team. Many on the Syncthing forum seem to have accepted research which is good enough for me. Also, KeePass's database in encrypted so no danger there.

[–] GlenRambo@jlai.lu 1 points 47 minutes ago

Do you store TOTP in a seperate KeePass?

For me swappog between two Keepass DBs is annoying. I can't find anything that will sync my 2FAs.

[–] bitwolf@sh.itjust.works 23 points 5 hours ago (1 children)

Vaultwarden handles the syncing for me.

However I do export backups on both my phone and laptop just in case.

[–] versionc@lemmy.world 4 points 5 hours ago (1 children)

Do you do it manually into e.g. protected json, or to a normal zip (the former doesn't support attachments as far as I know)? Or have you found a way to do it automatically? One con that I've read about this is that backups from one version is not guaranteed to work on another version. Thanks.

[–] Luminous5481@anarchist.nexus 1 points 28 minutes ago

Well with Vaultwarden any synced device is a complete backup. So you don't need to worry about version issues.

[–] 30p87@feddit.org 6 points 4 hours ago

KeePass2Android:

1000068180

[–] themachine@lemmy.world 5 points 4 hours ago

I use keepass2android and "sync" via its native WebDAV support with my nextcloud instance as the source. Been working great forever.

[–] portnull@lemmy.dbzer0.com 7 points 5 hours ago* (last edited 5 hours ago) (1 children)

I just switched back to vaultwarden. My vaultwarden data is backed up as part of my nightly backups. Desktop and android use bitwarden clients. Seeing as https://codeberg.org/small-hack/open-slopware/src/branch/main states keepassxc is using AI to create PRs. Otherwise you could see how seafile might work for you to sync your keepass db. If you are on android with termux you can run syncthing in termux which also works and avoids the issue with the syncthing fork

[–] determinist@kbin.earth 2 points 4 hours ago

i self host, and back up, vaultwarden, and use bitwarden in browser and android.

[–] ilmagico@lemmy.world 7 points 5 hours ago (2 children)

I use KeepassDX syncing via Nextcloud, works flawlessly. I also used to use Keepass2Android, also works very well.

Can you elaborate on the "nextcloud doesn't support 2-way syncing on android" statement? I can sync my Keepass database back and forth without issues.

[–] versionc@lemmy.world 2 points 5 hours ago (1 children)
[–] ilmagico@lemmy.world 6 points 5 hours ago (1 children)

I see where you're coming from. I also really wanted that in my early days of android and nextcloud. Turns out, nowadays you don't really need that for most use cases, and definitely not for KeePass syncing. Nextcloud app for android exposes all the files via content framework and KeePassDX can sync two ways via that. Other apps like Keepass2Android even have direct nextcloud support via WebDAV, though these days I prefer KeePassDX a little bit more for unrelated reasons.

I recommend you try either KeePassDX or Keepass2Android and see for yourself.

Also, most file managers support CF and will show you your nextcloud files as if they were real files on the device, even without "real" two way sync, and most other apps will be able to save & open files directly from nextcloud.

[–] versionc@lemmy.world 2 points 4 hours ago (1 children)

I'm currently using KeePassDX and I've set up the Nextcloud server and downloaded the Android app. I'll give it another shot. Can you explain more how you've set this up for yourself? What does CF mean, and what file manager do you recommend?

Thanks!

[–] ilmagico@lemmy.world 4 points 4 hours ago* (last edited 4 hours ago) (1 children)

CF = content framework, android somehow decided that users shall not see and interact with "real" files and instead, have apps like nextcloud act like content providers and expose a file-like API ...whatever, it is what it is, but in the end it works.

I'm currently using Material Files, but even android's default file manager, bundled with the OS, shows Nextcloud in the left sidebar (your mileage may vary on this one, as each phone vendor tend to customize it a bit).

As for my setup, there's really not much to it: I selfhost nextcloud, have KeePassDX and the Nextcloud app, and when you setup KeePassDX, select "Open existing vault" and in the sidebar you should be able to select Nextcloud and pick files from there.

[–] ilmagico@lemmy.world 3 points 4 hours ago (1 children)

Note: For Material files, and most file managers really, nextcloud might not show up by default ("security" or something), but you can "add external storage" and give it permissions.

[–] versionc@lemmy.world 2 points 4 hours ago (1 children)

I managed to get it up and running now, thank you! It wasn't intuitive at all, compared to using nextcloud-client on the desktop. I'll try this for a while and see if it works for me.

[–] ilmagico@lemmy.world 2 points 4 hours ago

Glad to help!

Yeah, self-hosting often means trading more control for less convenience, some times more than others. Either way, I hope this setup works for you!

[–] digger@lemmy.ca 2 points 5 hours ago

I am also using KeepassDX and Nextcloud. I've had this setup for years and never had an issue with syncing.

[–] mhzawadi@lemmy.horwood.cloud 5 points 5 hours ago

I migrated out of keypass and into vaultwarden, not looked back since.

[–] BozeKnoflook@lemmy.world 5 points 5 hours ago (2 children)

I use passwordstore.org which is basically a bash script that wraps GPG; but there is an Android client as well.

Everything is stored in encrypted files tracked by git. Files are synchronized by git/SSH to a server I run.

[–] nykula@piefed.social 1 points 3 hours ago

Are there mechanisms for fully automatic synchronization on every file change and every initialization in the Android and console apps for password-store out of the box these days? Using Syncthing with password-store at the moment to get a user experience as close to that as possible. Had to switch from the Android app to Termux and the CLI because the app no longer supports usage with Syncthing.

[–] versionc@lemmy.world 3 points 5 hours ago* (last edited 4 hours ago)

I actually used pass many years ago and I quite enjoyed it, except for the fact that the entry names are presented in clear text. You'd also have to manage your GPG secret which I'm not a fan of (in fact, my password manager is how I usually manage GPG and SSH keys in the first place). On the other hand, I guess you should keep a key file on each device on top of a passphrase even if you use a KeePass database, so I guess that point is moot. There are also no good way to include attachments. At that point Vaultwarden feels more convenient, but the more I'm thinking about it, the more I'm warming up to the idea. We'll see, maybe I'll give it a shot again.

Thanks for sharing your thoughts!

Edit: I did some quick research and I found this video:

https://www.youtube.com/watch?v=j-qBChKG15Y

It brings up some pretty important security concern that still seem to be relevant.

[–] Kazel@lemmy.dbzer0.com 2 points 4 hours ago
[–] luthis@lemmy.nz 4 points 5 hours ago (1 children)

I use proton and it seems to work just fine for me

[–] versionc@lemmy.world 2 points 5 hours ago (1 children)

I'm looking for a selfhosted alternative, I'm not really to keen to place all of my password eggs into one company basket so to speak. But yes, other than that, Proton is a good choice (but I'd probably go with Bitwarden personally). Thank you.

[–] sem@piefed.blahaj.zone 3 points 5 hours ago

Understandable why you would want to selfhost. I also use proton and for me it is something that I would rather pay for so I don't have to administer it. I also hope they'll keep improving the auto-fill experience.

[–] kokesh@lemmy.world 3 points 5 hours ago

Keepass for Android, my database is stored on OneDrive. Easy access on my win pc and android (KPA has built in sync for many cloud storage providers)

[–] s38b35M5@lemmy.world 3 points 5 hours ago* (last edited 5 hours ago) (1 children)

I don't update my Keepass db often enough to need syncing. Maybe every other week or so I just pull the latest backup from my desktop from backblaze b2 to my phone, or if I change something on the phone, I send a copy to myself using signal "note to self." Then I manually merge the databases.

Pretty low-tech.

[–] versionc@lemmy.world 2 points 5 hours ago (1 children)

Yeah, I have a tendency to modify my database quite often. I often make new accounts, add attachments, modify passphrases on older accounts, etc. I modify it several times a week. I might be an outlier, and in that case I understand why people don't consider this to be a huge problem haha.

[–] timwa@lemmy.snowgoons.ro 2 points 5 hours ago (1 children)

What's the problem with Nextcloud? I use KeepassDX (on android, KeepassXC on desktop) with the database on Nextcloud and don't have any problem syncing.

[–] versionc@lemmy.world 1 points 5 hours ago (1 children)
[–] timwa@lemmy.snowgoons.ro 1 points 5 hours ago

I ain't reading all that... All I can say is, sync (both ways) with Keepass & Nextcloud on Android works just fine for me.

[–] Decronym@lemmy.decronym.xyz -1 points 4 hours ago* (last edited 15 minutes ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CF CloudFlare
Git Popular version control system, primarily for code
SSH Secure Shell for remote terminal access

3 acronyms in this thread; the most compressed thread commented on today has 9 acronyms.

[Thread #167 for this comm, first seen 15th Mar 2026, 17:10] [FAQ] [Full list] [Contact] [Source code]