this post was submitted on 30 Apr 2025
57 points (95.2% liked)

Selfhosted

46479 readers
347 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.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I am looking into password managers, as number of my accounts are increasing. Currently I am weighing two options:

  • Host Vaultwarden on a VPS, or
  • Use the free bitwarden service.

I want to know how they are in practical aspects.

While I am fine self-hosting many services, password managers seem to be one of the most critical services that should not admit downtime. I surely cannot keep it up, as I need to update it time to time.

On the other hand, using bitwarden might require some level of trust. How much should I trust the company to use the free service? How do I know if my passwords would be safe, not being exposed to the wide net?

I want to gauge pros and cons, are there aspects I missed? How are your opinions on this? If you are self-hosting vaultwarden, how do you manage the downtime? Thanks in advance!

top 38 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 hours ago

I enjoy self hosting, but what tipped the scales for me in favor of using Bitwarden’s servers is that I’m 100% confident I’m not as good as hardening my system from being compromised as they are. The vault is going to be encrypted anyway, and I think there’s a lower chance of it falling into the wrong hands if it’s hosted with Bitwarden. Same reason I don’t self-host email.

Plus Bitwarden is a cool company and the product is open source, and the premium features are unreasonably low priced.

[–] [email protected] 3 points 3 hours ago* (last edited 3 hours ago)

I had a similar dilemma and just went with bitwarden because I don't trust myself not to fuck up. Bitwarden can't access the passwords without my master pw (afaik) so I feel safe knowing that. I use it on all my devices so it gets synced there and even if the service is down, I have my passwords.

I'll self host it when I reach the next level of paranoia.

[–] [email protected] 2 points 3 hours ago (1 children)

If I get hit by a bus, then the passwords for the things that my wife needs to settle things gets sent to her, and the infra isn't something that I maintain and could be down.

Worth $10/yr, by far.

[–] [email protected] 1 points 3 hours ago (1 children)

That is a service they offer? Man that's amazing, I gues I am going to update!

[–] [email protected] 1 points 28 minutes ago

There's a dead man option.

[–] [email protected] 6 points 9 hours ago

add keepassxc to the list. I've avoided it for the longest times because I remember the horror that was the OG keepass. this is modern software, minimal footprint (miniscule compared to bitwarden's electron crap), easy to use, the db is one file that's easily syncthing-ed around, browser extensions, etc.

[–] [email protected] 4 points 10 hours ago

There's not a need to have vaultwarden up all of the time unless you use new devices often or create and modify entries really often. The data is cached on the device and kept encrypted by the app locally. So a little downtime shouldn't be a big issue in the large majority of cases.

[–] [email protected] 8 points 15 hours ago

Do you have a proper backup solution? If you have a catastrophic data error, can you still recover? If not, just choose the hosted infrastructure.

Self-hosting is great. I love it. But when it comes to critical things that you absolutely cannot fuck up, I would rather trust a consumer based solution. If you fuck up your passwords and they're gone, it's going to hinder you significantly more than losing sleep about some rando having all your passwords if they break scrypt encryption.

[–] [email protected] 11 points 19 hours ago

Just a PSA for anybody reading the thread, though it doesn't really help with the question at hand... On the very slim chance that your workplace uses Bitwarden Enterprise it's worth knowing that every licensed user gets a free family plan that can be tied to an existing personal account, provided it's hosted in the same region.

We do use it but very few of our own users are even aware of the perk so I like to spread it around when I get the chance!

[–] [email protected] 23 points 1 day ago* (last edited 1 day ago) (2 children)

The bitwarden vaults themselves are encrypted with your password. So I'm not sure what there is to not trust with bitwarden, as even if files were stolen, they are encrypted so they're largely useless.

I pay for bitwarden premium because it supports the development of a good open source project.

Edit: fixed phrasing given suggestion below

[–] [email protected] 14 points 1 day ago (1 children)

It’s important to specify that the items are encrypted using a key derived from your password, so Bitwarden themselves don’t have access to your passwords even if they wanted to.

Since they handle redundancy and backups I think it’s fine staying with them (+ great product)

[–] [email protected] 7 points 1 day ago

Since they handle redundancy and backups I think it’s fine staying with them (+ great product)

This. I love self hosting services, but anything that I 100% can't live without isn't one of them. Because I don't have the funds for proper redundancy/high availability, and my backup practices at home are..... Not ideal. I've had a couple brushes with data loss due to gaps in backups, lack of monitoring for impending hardware failures, and had 2 disks suddenly die together in a raid array, all in over a decade of self hosting.

I have cold backups of most of my critical services, but they're not nearly regular enough for me to trust my passwords to myself.

[–] [email protected] 1 points 17 hours ago

I see, guess I was overly paranoid. Bitwarden sounds good, then!

[–] [email protected] 30 points 1 day ago

Vaultwarden allows a bit of downtime, the vault is cached by the clients

When the server is not reachable, no writes are allowed

[–] [email protected] 9 points 23 hours ago

Maybe worth to mention that bitwarden also propose bitwarden.eu to host data in Europe. I've used bitwarden.com for years, and switch to bitwarden.eu a few month ago because of reasons, you know...

[–] [email protected] 9 points 1 day ago* (last edited 1 day ago) (1 children)

If in the future you think you might bring family/relations onboard to the password manager, it may be worthwhile to pay for a BitWarden family plan. BitWarden is really low-cost and they publish their stuff as FOSS (and therefore are worth supporting), but crucially you don't want to be the point of technical support for when something doesn't work for someone else. Self-hosting a password manager is an easier thing to do if you're only doing it for yourself.

That said, I use a self-hosted Vaultwarden server as backup (i.e. I manually bring the server online and sync to my phone now and again), and my primary password manager is through Keepassxc, which is a completely separate and offline password manager program.

Edit: Forgot to mention, you can always start with free BitWarden and then export your data and delete your account if you decide to self-host.

[–] [email protected] 2 points 22 hours ago (1 children)

that was my thinking too, if something happened to me I dont want all my wifes passwords to be locked out so I made her an admin on the account as well to be able to continue paying for the service or export her passwords

[–] [email protected] 3 points 20 hours ago* (last edited 16 hours ago)

Vaultwarden has an "emergency access" feature so if something happens to me my wife can take over the account.

I also added the kids to our "organization" but didn't give them write permissions to their passwords yet so they can't accidentally change something.

I'm sure official bitwarden has those options too.

[–] [email protected] 13 points 1 day ago* (last edited 1 day ago) (2 children)

One little bonus for using Vaultwarden is that you get access to premium features for free. But still, I put availability much higher when it comes to password management, so I would go with paid Bitwarden. That is what I did before moving to Keepass.

[–] [email protected] 14 points 1 day ago

The Bitwarden clients cache your data locally. So even if your Vaultwarden goes down, you’ll still be able to access your passwords. Just not sync new ones or make changes.

[–] [email protected] 1 points 1 day ago

I second Vaultwarden, have been running it for a few years and even had a catastrophic host failure that I recovered from. was able to use the clients on both phone and laptop while building new host

There is a backup image you can run to take backups of the SQLite DB, used that a few times as the DB got tangled.

Also anything you host should have a good 3-2-1 backup strategy

[–] [email protected] 9 points 1 day ago (1 children)

I self host vaultwarden and its great. Its an easy self host, and in my experience, it has never gone down on me.

That being said, my experience is anecdotal. If you do go the vaultwarden route, realize that your vault is still accessible on your devices (phone, whatever) even if your server goes down, or if you just lose network connectivity. They hold local (encrypted at rest) copies of your vault that are periodically updated.

Additionally, regardless of the route you take you should absolutely be practicing a good 3-2-1 backup strategy with your password vault, as with any other data you value.

[–] [email protected] 2 points 1 day ago

This: backups might be a pain to handle. Bitwarden does that for you + redundancy.

Depends on the amount of work the person does. I know I’m a lazy self hoster that takes time to update software.

[–] [email protected] 6 points 1 day ago* (last edited 1 day ago)

I self-host Bitwarden, hidden behind my firewall and only accessible through a VPN. It's perfect for me. If you're going to expose your password manager to the internet, you might as well just use the official cloud version IMO since they'll likely be better at monitoring logs than you will. But if you hide it behind a VPN, self-hosting can add an additional layer of security that you don't get with the official cloud-hosted version.

Downtime isn't an issue as clients will just cache the database. Unless your server goes down for days at a time you'll never even notice, and even then it'll only be an issue if you try to create or modify an entry while the server is down. Just make sure you make and maintain good backups. Every night I stop and rsync all containers (including Bitwarden) to a daily incremental backup server, as well as making nightly snapshots of the VM it lives in. I also periodically make encrypted exports of my Bitwarden vault which are synced to all devices - those are useful because they can be natively imported into KeePassXC, allowing you to access your password vault from any machine even if your entire infrastructure goes down. Note that even if you go with the cloud-hosted version, you should still be making these encrypted exports to protect against vault corruption, deletion, etc.

[–] [email protected] 4 points 1 day ago (1 children)

I have used the free Bitwarden now for untold years. It not only houses passwords for personal applications, I use it to keep track of my business account passwords as well. The only problem I've had with Bitwarden is their recent UI retool which ended up causing a huge ruckus among the user base to the point where they gave an option to switch back.

There is a certain level of trust for whatever option you choose. If you use Bitwarden free, then you have to trust that Bitwarden will keep your data is safe on their servers. If you self host, the onus of trust lies in you're ability to secure your server, and to the extent that you trust your host as well. The latter option leaves me a bit queasy, so I do not selfhost my passwords in a selfhosted vault.

Others may have more trust in their security skills than I do. LOL There's just a lot of sensitive data I have housed within Bitwarden free. Selfhosting it would keep me up at nights.

[–] [email protected] 3 points 1 day ago (1 children)

The only problem I've had with Bitwarden is their recent UI retool which ended up causing a huge ruckus among the user base to the point where they gave an option to switch back.

I think the new UI is pretty terrible. I didn't know until you mentioned it, [email protected], that there was an option to revert. I can't find it in the settings - how does one revert to the prior UI?

[–] [email protected] 1 points 1 day ago

Ok so, I got a popup asking to adjust the Appearance in Settings (Windows/Firefox edition) a little while ago, it seems like it was a month or so ago. I have all the settings there ticked. However, I think what a lot of people who knew, went to their official GitHub and downloaded the previous version's xpi and sideloaded it. You would have to untick auto updates. That way you can just go back to clicking on the entry in Bitwarden and that autofills instead of having to click the $@#%$$$ 'Fill' button. The only caution would be if they upgraded the security components in the new version, meaning the last version may or may not have the same security components baked in.

Yes, the new theme is absolute crap.

[–] [email protected] 4 points 1 day ago (2 children)

I’d throw in option 3: use a KeePass2 database, sync it using whatever sync tool you like (SyncThing, iCloud, NextCloud, WebDAV, …) and use compatible apps (KeepassXC, Strongbox, etc.)

[–] [email protected] 8 points 1 day ago (2 children)

I migrated from KeePass2 as the the DB would get out of sync and need to be merged back together. Thats why I moved to Vaultwarden, I like having my data on my own stuff

[–] [email protected] 1 points 13 hours ago* (last edited 13 hours ago)

I keep seeing people mentioning Syncthing with KeePass... I use both, but not together, between 3-4 different devices. I have a central Syncthing server to which all devices sync everything, but my KeePass database (keyfile & password protected is stored on Google Drive, in a G Suite Workspace account that I pay for. The keyfile is stored individually on each device that needs it, with a printed out copy (with instructions!) as a backup.

Would my keypass database survive Syncthing the way I have it setup?

[–] [email protected] 1 points 22 hours ago

I’m using Strongbox on iOS and macOS with iCloud Sync and never had any merge issue. Well, maybe once when I deliberately edited the same entry on two different devices. But during normal use, the sync and merge works great.

[–] [email protected] 2 points 1 day ago

I roll it this way, been like this for years and years, fine for my needs

[–] [email protected] 3 points 1 day ago

I self host as well as use bitwardens service.

I pay $10 a year, and never have I had access issues with it.

My self hosted instance houses everything for my other self hosted services.

I can also have my Bitwarden duplicated to my self hosted instance.

However, the only way to access my Vailtwarden instance is via my network. And for my use case, this is perfect.

Neither of them have I had any downtime; like others have said it's anecdotal.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

At the end of the day you have to trust someone (Bitwarden, Hoster, Hardware Manufacturer...). It comes down to your threat profile and what you personally accept as a risk vs. effort (or convenience). For me Bitwarden was acceptable, but I switched to self hosting Vaultwarden ca. 3 years ago. Main reasons being the advanced features (sharing some passwords with the family, setting up a tech savvy friend to take over my vault should I get hit by a bus, etc.). I did not have any relevant downtime of that service in years.

[–] [email protected] 2 points 1 day ago (1 children)

On the other hand, using bitwarden might require some level of trust. How much should I trust the company to use the free service?
How do I know if my passwords would be safe, not being exposed to the wide net?

Wouldn't these questions be as true of the VPS service that hosts Vaultwarden as of Bitwarden?
If my internet at home was better I would be selfhosting Vaultwarden and use a full vpn on my laptop/phone/tablet when leaving the house.
Now I'm using KeepassXC with my home pc as the true source and syncing copies of the database to my laptop and phone.

[–] [email protected] 2 points 1 day ago (1 children)

No, you don't need to trust the VPS provider. The VaultaWarden password storage is encrypted, and the master password is never transmitted to the server. The passwords are decrypted only locally on your device.

[–] [email protected] 2 points 1 day ago (1 children)

How does that differ from Bitwarden?

[–] [email protected] 2 points 1 day ago

To my knowledge it's not supposed to differ.

If you trust that the client (which is open source) is doing what it's supposed to do, security-wise I don't think there's a difference between self-hosting and using Bitwarden's service.