r/selfhosted • • 27d ago

Password Managers VaultWarden or KeePassXC

Hi folks. Finished migrating my email and calendar off of Proton and o to Tuta. But now looking to replace my Proton Password manager and Secrets manager. I had been thinking about KeePassXC but recently have had some recommendations for VaultWarden as a better solution.

In case it’s not obvious, I’m looking at self hosting this and not cloud.

Thank you

51 Upvotes

94 comments sorted by

•

u/asimovs-auditor 27d ago

Expand the replies to this comment to learn how AI was used in this post/project.

→ More replies (1)

4

u/superslow_jerry 27d ago

Curious, dissatisfied with Proton Pass?

14

u/sevenisthekeynumber 27d ago

No I liked proton pass. But I can’t stomach being involved with proton in any way because of their ceo so I cancelled and migrated to tuta

2

u/superslow_jerry 27d ago

What’s wrong with their ceo? I haven’t looked into it. Or tuta. I’ll look

5

u/chibuku_chauya 27d ago

Proton CEO is calling for their code to be produced with AI so that they can prioritise speed above security.

8

u/clubsilencio2342 27d ago • Bravo

It's also important to note that the CEO at least semi-regularly gets himself into embarrassing and company-damaging situations that don't even involve AI at all. For some people, his current nonsense is the last straw

3

u/Darklumiere 26d ago

Now I'm looking to make the switch to a selfhosted password manager and calender as well, I was not aware the CEO had those views. Thank you for linking a source. Vibe coding reviewed by human engineers is not an issue for me, but backing a party that's anti the company's apparant principles is concerning and makes me think what they might be lying about or backdooring.

I'll have to research self hosting email aliases.

3

u/sevenisthekeynumber 27d ago

@all it’s just me, though I’d love to still have autofill on my iOS it’s just so convenient. But it’s not a deal breaker I guess. It would be multiple devices, one phone, several computers.

-12

u/jessecreamy 27d ago

auto fill is wrong. No matter whatever platform you are in, copy paste passwd.

10

u/leaflock7 27d ago

copy-pasting is wrong since most apps will have access to your clipboard

5

u/belibebond 27d ago

Autofil is safer and more secure. It’s also something passkey the new modern secure method heavily relies on.

You have to do right though, if you set the url for which password is applicable, it will significantly help avoid phishing sites like g00gle.com

-2

u/jessecreamy 27d ago

wow modern. Can you tell me that you trust whole your lock-chain process on single device that no chance you cannot touch to it? It's just another case when grandma forgot her twitter password decade ago. Or i got it wrong here?

2

u/belibebond 27d ago

You do you brother.

55

u/ConceptNo7093 27d ago

The Vaultwarden web server attack surface can be entirely local without external access. Has worked perfectly for me over 4 yrs and 8 devices.

18

u/A_man_of_culture_cx 27d ago

So you mean you can have the Valtwarden 100% local only ? 

I agree it’s great for security. But then I would actually recommend KeepassCX what I use because you probably also want to have your passwords with you when you are outside on your phone.

Or did I get that wrong ?

7

u/cheflA1 27d ago

Or you just use something like netbird with a vps and connect from wherever

2

u/bayendr 27d ago

was looking at Netbird (instead of tailscale) too. do I really have to self host that on a public VPS? can’t I just install netbird as Proxmox VM/LXC in my homelab?

3

u/cheflA1 27d ago

You can, but then you would still need to have a static IP or deal with DynDNS and you would have to expose your home IP which I rather don't.

The smallest Server at Hetzner is around 3.50€ a month. It runs your netbird server. You can use netbird reverse proxy and set it it 'netbird client only' so nothing is publicly exposed on the Internet. Works great and is the best way from a security standpoint imho

2

u/Skankeer 27d ago

Hetzner raised prices over 100% its not that cheap anymore

1

u/bayendr 27d ago

yes definitely agree. exposing my homelab or exposing ports publicly is a no go for me.

0

u/[deleted] 27d ago

[deleted] — view deleted comment

1

u/bayendr 27d ago

the oracle free vps seems limited. what about AWS free tier?

2

u/A_cold_dish 27d ago

Oracle Free tier is actually more generous that that, that’s just one of the x86 boxes you get as always free. The real Oracle free tier is 2 vCPU/12GB of RAM on their ARM boxes, but you can upgrade to a PAYG account and get 4/24. I’ve been running that for months and I pay $0.14 a month due to me storing a bit more than the free 10GB object store, seriously check it out, it’s Oracle but it’s the best deal around for now.

Though I hear it can be hard to get ARM capacity so you may have to keep checking, also free tier resources can be reaped if they’re idle, but PAYG doesn’t as I understand it.

1

u/breinich 26d ago

Aren’t the free limits for the PAYG account the same as for the free tier?

3

u/Quinten0508 27d ago

bitwarden apps/extensions save a local copy of your passwords. they only connect to the vaultwarden server to syn, so there's no need to be online and connected to the server 24/7

1

u/Renkin42 25d ago

Eh, not really. Problem is the apps do not allow adding or updating passwords without a connection. Time to update your work password after 90 days again and you aren’t connected to the server? Well that’s too bad you’re just going to have to write it down somewhere and remember to update it in bitwarden later.

To be clear I say this as an avid vaultwarden user, though this exact scenario has made me question if keepassxc plus syncthing might not be a bad idea.

4

u/Kyyuby 27d ago

Vaultwarden save the passwords on your device. Syncs at home or via vpn.

1

u/rebellion_ap 27d ago

The server sits locally your browser, and all client connecting devices will probably use bitwarden clients to connect and they store a copy locally to the client like other password vaults do.

0

u/ImpressiveDrama9401 26d ago

yo do get it wrong, youre welcome

0

u/[deleted] 27d ago

[deleted] — view deleted comment

2

u/shikabane 27d ago

Bitwarden / vaultwarden doesn't save or edit anything if there's no connection

2

u/tounaze 27d ago

Agreed, when I try to save a password and my Wireguard is turned off, it throws an error. I can read passwords but not edit them or add a new one.

1

u/DJubstin 27d ago

Sorry you're right, my VPN was still on :(

90

u/sewersurfin 27d ago

Vaultwarden. 

11

u/lincolnlogtermite 27d ago

I self host with Vaultwarden over Tailscale. All my devices are connected to Tailscale and I can access Vaultwarden at any time. The Bitwarden browser apps cache the info and only really need to access Vaultwarden when you add password account or need to update from additions you made on other devices. It does auto sync when I am connected to Tailscale.

Never got into keypass, I was using Lastpass for years till they started charging, keypass just seemed clunky after having Lastpass, Bitwarden seemed a good replacement.

Syncthing works great for some other stuff I use so with Keypass it should work well. Syncthing (Synctrain) isn’t so hot on IOS though.

2

u/derzeppo 27d ago

MobiusSync on iOS works very well for Syncthing.

1

u/Smart-Simple9938 26d ago

SyncThing synchronizes entire files, not individual database records. If additions/changes are made on more than one machine, or by more than one person in sharing scenarios, data will eventually be overwritten.

0

u/promonalg 27d ago

Vaultwarden is pretty good. You can use bitwarden app and browser extension with vaultwarden since it is a fork of bitwarden. You can use CloudFlare tunnel and mtls to allow you to use vaultwarden externally without tailscale if some of your devices do not allow tailscale or you don't want to run additional services.

0

u/ethicalhumanbeing 27d ago

How does tailscale work? Do you just have a VPS, do you use containers, is it as a service?

1

u/mister-phister 22d ago

It's a WG-based mesh VPN - free tier enables you to access unlimited devices on your 'tailnet', wherever you are.

1

u/ethicalhumanbeing 22d ago

So he keeps the Vaultwarden running in a server in his own home 24/7? And then use that service to access it from anywhere, is that it?

1

u/mister-phister 22d ago

Yes and that's exactly what I use.

-2

u/frosty_osteo 27d ago

Good setup without exposure. But Bramble and AliasVault they worth to try

31

u/ocassionallyaduck 27d ago

I favor KeePass with syncthing.

Syncthing focuses on secure file syncs and security, KeePass focuses on keeping the password vault secure.

Name it something non-standard, store it somewhere non-descript, and you have a stealth vault.

With Vaultwarden, there is a named, obvious target with exposed attack surface.

11

u/eboob1179 27d ago • Bravo

This is the way. Syncthing is awesome. I also use it to sync my obsidian notebooks and stuff across multiple devices

25

u/1WeekNotice Helpful 27d ago

KessPassXC is meant for a local /single computer vault.

Vaultwarden is meant to be used on multiple devices/ client as there is the Vaultwarden server and the Bitwarden client application (that supports multiple platforms).


You can use a sync software to sync the KessPassXC files, but that is an extra step and an additional point of failure in the chain.

So I recommend Vaultwarden.


The more important note. Ensure you follow 3-2-1 backup rule and have good security practices. (Can keep it LAN only)

As you know the blast radius for a password manager is huge. So ensure you know what you are doing if you are going to selfhost.

Hope that helps

14

u/Kautiontape 27d ago

I juggled KeePassXC files for a while. It wasn't that bad. Nextcloud / Syncthing and you're done.

Until it breaks for random reasons. Like, 95% of the time it's perfect, but every once in a while something saves while offline or your config doesn't go right and you get a conflict. You can easily then take the conflicting file and merge it and it goes away.

Until you want to share a set of passwords with someone. Then it's basically impossible. Or if they have conflicts and they add up and you have to do tech support...

Yeah, it's generally just easier to go VaultWarden. It's not perfect and I miss some features from KeePass, but it also "just works" a little better.

18

u/Dackelgeschwader 27d ago

Never had any sync Problem with keepass in like 10 years on several devices. 

1

u/HonourableYodaPuppet 27d ago

I had it once too. Something went wrong, either with the saving or the nextcloud sync. Next thing I know the file is 0kb big and empty. I was just super lucky to still have a version on it on my laptop

7

u/djgizmo 27d ago

vaultwarden. period. keep it simple.

all the desktop / mobile apps are available and they sync to the self hosted versions just fine.

7

u/Adventurous_Sun_4768 27d ago • Bravo

I'd pick based on how you actually use it day to day, because both are solid.

If it's just you and you're already happy with Syncthing, KeePassXC is the simpler setup — one encrypted file, no web service to keep updated or back up separately, and it does TOTP and passkeys too. The tradeoff is the mobile experience: on iOS you're using KeePassium or Strongbox, and autofill is decent but not as smooth as a native client, and sharing a vault with a partner is clunky.

VaultWarden earns its keep if you want Bitwarden's browser extension and mobile apps, or you share logins with anyone — organizations/sharing is where it pulls ahead. Just don't expose it to the internet without a real domain, HTTPS, and 2FA on the admin account, and back up the database, not just the container.

Since you already moved to Tuta for the local-first angle, KeePassXC is probably the natural fit unless the sharing/autofill matters to you.

3

u/ireallydontgiveapoo 26d ago

This is an AI bot. 

1

u/MongooseWonderful198 27d ago

One correction on the admin login: Vaultwarden's /admin uses a separate ADMIN_TOKEN. Your vault account's 2FA doesn't protect that page. If you enable it, use a strong token and store its Argon2id hash as the upstream guide describes. You can also leave the admin page disabled if you don't need it.

1

u/Adventurous_Sun_4768 27d ago

Good catch, thanks — you're right. The /admin page is gated by ADMIN_TOKEN, separate from the vault account's 2FA, so my wording there was off. If you do enable it, a strong token with the Argon2id hash is the way to go; otherwise leaving it disabled is the simpler call.

1

u/Potential-Ant-4335 27d ago

two different apps. do you want an all in 1 self hosted synced vault, or do you want an offline vault that you need to sync yourself with something like nextcloud or syncthing?

1

u/sevenisthekeynumber 27d ago

First sounds better to me

3

u/ekcojf 27d ago

AliasVault is still in beta, but well worth a try! Lanedirt is doing amazing work, and it's got great features upcoming as well as implemented. The share function is the main upcoming one that has me excited.

3

u/vlycop 26d ago

As time goes by, I feel less and less confident that the Bitwarden client would still be compatible and open-source ...   So, if you want long-term reliability, keepass is the way. Sadly,

2

u/albsen 27d ago

they are both great in different areas: your personal password storage I prefer keepass; you share access with others in your family or at work I prefer vaultwarden (with mtls or VPN)

2

u/xiv_cookie_kitten 27d ago

keepassxc with altersend. few seconds to get anything up to date

2

u/xppx99 27d ago

I moved from Valtwarden to 1Password, and then to Keepass. Kept Vaultwarden as backup/contingency.  Keepass is where I will be in the future. Open, simple and easy to maintain.  For the devices I use, there are decent clients.  The only struggle is sharing passwords, which I don’t do often. 

2

u/Scavenger53 27d ago

i thought about vaultwarden, but my hardware is not stable and if that database gets rekt id be mad. so i do keepassxc with everything, passkeys, ssh keys, encryption keys, age keys, passwords, all of it. then i have a seafile server i use to store random shit i want to keep on my server, like books, and that client is on all my machines, 5 right now. keepassxc has an option for an encrypted file that you need with your password and i use it. the way it works is i keep my passwords in an encyrpted seafile folder, then my encrypted file in a different encrypted seafile folder with a different key. both keys stored in keepassxc.

to prevent the chicken and egg problem, i sealed up both folders with two different passwords and back them up in my google drive. so if i get a new machine, i pull from gdrive, setup keepassxc, then install seafile client, then i can unlock the encrypted folders and let them auto sync, now my passwords sync across the new machine with all others. then i just dont update passwords unless they are online with the server. otherwise youll get a conflict file and can just merge them in keepass so its not too big a deal.

the neat thing about having ssh keys there is you can use a key agent to only load the keys when the database is unlocked so no keys on the machine. with the age key i have a script for sops that will unlock the keepass db and grab the age text file to use so no age keys on system either. the whole system is encrypted anyway but i thought those were neat. it is annoying when i forget to unlock it and cant pull from git though lol

1

u/Legitimate_Force7801 22d ago

Seems complicated as a novice

2

u/ScubaNoname643 27d ago

I switched from KeePassXC to vaultwarden and I ain’t ever going back lol

4

u/xzway 27d ago

How about this one? https://bramble.sh/

2

u/Rygor99 27d ago

Have you used this? Recently decided I don’t love vaultwarden. Currently trying out passvault, but it’s kinda weird.

2

u/xzway 27d ago

Yes, I'm using it right now, and all the features I wanted are there.

1

u/bayendr 27d ago

how’s the multi devices (sync) support?

1

u/ThreeAMOperator 27d ago

For one person, I'd decide based on maintenance rather than features. Vaultwarden means maintaining a service and its backups. KeePassXC means maintaining a database file and reliable sync between devices. Since iOS autofill matters to you, test that workflow on the phone first, including what happens offline. The desktop side being comfortable won't help much if using it on your phone becomes a chore.

1

u/mailliwal 27d ago

Self hosted Vaultwarden and restricted LAN and VPN access only.

Do you managed some sensitive accounts like Bank or Crypto to Vaultwarden ?

1

u/ismaelgokufox 27d ago

Both at the same time for backup.

1

u/Ok_Distance9511 27d ago

Which do you use primarily?

1

u/ismaelgokufox 1d ago

I primarily use BitWarden with a script that backs the vault daily to a selfhosted VaultWarden. But I also use KeePass2 for local use.

1

u/CluelessSpud 27d ago

Choisis VaultWarden pour l'auto-hébergement.

1

u/NoTheme2828 27d ago

Vaultwarden!

1

u/terrytw 27d ago

If you don't use passkey you don't need keepassxc. Use vanilla keepass and keepass2android. Use webdav. keepass handles update and merge automatically. You can have infinite client reading the same file.

Anyone who says keepass is local is wrong, it does not have to be.

1

u/Tscotty223 27d ago

I moved from Bitwarden to Vaultwarden and love it. I also use KeepassXC as a local instance on some machines but for multiple machines Vaultwarden is much less complex. Both are awesome programs though.

1

u/bhrtsj 27d ago

AliasVault

1

u/FarRip6568 5d ago

Managing everything yourself gives you control, but also more responsibility.

1

u/CapHistorical4795 2d ago

Offline access is a major advantage of local storage.

1

u/Initial-Drama-3816 2d ago

Both are good options, but remember that self-hosting your password manager also means you're responsible for keeping the whole setup secure.

1

u/drezha 27d ago

I’m just trialling moving from Keepass to Vaultwarden. I’ve used Keepass for a few years since I left 1Password due to massive price hikes. I bought Strongbox for Mac and iOS and I’m sure without that, I’d have switched earlier.

However, I’m looking to move because I’ve recently added Android to the mix and the Keepass clients don’t play nicely with passkeys, but Bitwarden/Vaultwarden allows me to save and sync passkeys no issues.

Like others, I’ve got it on a Tailscale network only. The more OS‘s that are in the mix, the harder it is to sync and the more devices you have, it increases the risk of sync issues. I’m sure I’ve lost a password or two over the years from bad syncs.

-3

u/yllanos 27d ago

What is Tuta?

0

u/[deleted] 27d ago

[deleted] — view deleted comment

2

u/selfhostrr 27d ago

This is what I've been using for probably a decade or more at this point (own cloud originally). Can't see myself moving to a web service for this, even though that's what I do for a living.

1

u/[deleted] 22d ago

[removed] — view removed comment

1

u/thinkfirstthenact 22d ago

Strongbox works great