InternetException

Goodbye Bitwarden

· 1208 words · ~6 min read · updated · in self-hosting

#bitwarden #podman #vaultwarden

Just today I removed Bitwarden from my server. I am a bit attached to it, but it was standing in my way of migrating everything to podman. It is tightly coupled to docker via its start/stop scripts, and a migration to podman would still be possible, but I do not want to maintain those scripts myself - even with the help of an agent. And the bitwarden stack was always needlessly complicated, with 10 different containers… It had to go.

I started my self-hosting adventure about 14 years ago. It began with a simple blog on a small VPS. Then it was an email server, Nextcloud and Bitwarden. Now I self-host about twenty-something applications across 4 devices.

I am modernizing this stack on one of the machines. I started migrating docker to podman about 2 months ago. I experimented with podman in different ways from the beginning of this year and it is not ideal for sure, but it is better for not forcing you to run stuff as root.

A few months ago there was a security issue with the possibility of breaking out of a container with a specially crafted Python script. The fact that it is just Python, and you get root on the entire machine… it is scary stuff. So I wanted to migrate everything to podman. With each service running under a different user, even if a podman container breakout happens, it will be just some user on my machine that won’t even have access to my own home directory.

I started the migration with the help of a Qwen 3.6 local model. I am still in progress, with about 3 services in docker still, and the rest on podman. Right now I am using Qwen 3.8 Flash Next to help me with that. Even the reverse proxy migration was less problematic than bitwarden’s. Because it is not just another docker compose: it has ./bitwarden start/stop/restart scripts. I do not want to rewrite them. I do not want docker to be an alias to podman, and I certainly do not want to fight with bitwarden failing because those scripts use docker-only functionality. It is not worth it, because there are other, similar solutions.

A long time ago I was using 1Password. It was nice but they only have a paid cloud solution. It never felt right. I understand the appeal, it is a nice all-in-one solution for passwords and similar. But it is like trusting some stranger with all the keys to your house because you cannot be trusted to keep them safe yourself. In the age of AI it is just a matter of time until someone comes up with the idea of spending a few dozen - even hundreds - of dollars to produce software and ads for customers, to make gullible people trust them and give up all their personal data. The profit would be much greater. Till now it would be much harder, if not borderline impossible, to build polished software, keep it working for many years and get people to use it, just to sell their data. That would be a very stupid plan. But with AI agents… invest a few hundred thousand dollars to build software to steal people’s money from banks… that would be possible. Especially if it is closed-source software, where nobody knows what is happening with the data.

This is why I do not trust paid, cloud-only services. If I cannot host it, I won’t use it for anything substantial.

Because of those reasons, and because I know how to do it, I self-host my own software. I checked what privacytools.io proposes for self-hosting in this regard.

PrivacyTools recommendation

After bitwarden, it is Psono : a bit underpolished, but it has all the features I want:

  • free for 4-5 users
  • SSO, because I want one password for all of my self-hosted services
  • password sharing
  • OTP codes
  • passkeys!

It looked like it checked all the boxes, and I tested it for a few weeks. But it is a bit annoying. For example:

  • even if you are logged into one service, you have to unlock the mobile application every time you fetch a password, an OTP code or use a passkey, so 2-3 logins per process
  • it lacks support for personas, so if you are signing up to a new service you have to copy-paste or enter everything yourself
  • it has support for credit cards, but it cannot autofill them, and when you copy the number from the vault and paste it, it has spaces, so it gets deemed invalid by some payment providers
  • you have to copy OTP codes yourself
  • the browser extension does not work if the service or SSO is down, which happens from time to time.

It all felt like a step down from bitwarden: in theory it had all the features, but it was more annoying to use.

Then I remembered vaultwarden. I checked and it also has all those features I wanted… and it uses the same clients as bitwarden!

I spun up a new container for vaultwarden, imported my passwords from psono - because I had already made some changes there - and switched my clients to the new address. It worked without any problems!

Almost. The psono importer had some issues and I had to adjust some entries manually. Credit cards were not imported at all. I had to manually import OTP codes from the Aegis mobile application. I also had to prune some unnecessary fields that got imported as custom properties of every vault entry, like psono’s last-use date. But after that: SSO works, OTP codes work (though I have to paste them manually), filling in user name and password is just one click after unlocking the vault… and passkeys work!

It is still not ideal, but having passwords, credit cards, OTP and passkeys in one single place is pretty damn close.

So I stripped bitwarden, and I was a bit sad because we were together quite a long time:

== 1. inventory volumes + inspect
DRIVER    VOLUME NAME
== 2. stop via bitwarden.sh (90s)
 _     _ _                         _
| |__ (_) |___      ____ _ _ __ __| | ___ _ __
| '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \
| |_) | | |_ \ V  V / (_| | | | (_| |  __/ | | |
|_.__/|_|\__| \_/\_/ \__,_|_|  \__,_|\___|_| |_|

Open source password management solutions
Copyright 2015-2026, Bitwarden, Inc.
https://bitwarden.com, https://github.com/bitwarden

===================================================

bitwarden.sh version 2026.11.0
Docker version 29.10.1, build c48360f
Docker Compose version v5.8.1

[+] down 13/13
 ✔ Container bitwarden-attachments   Removed                                        1.5s
 ✔ Container bitwarden-events        Removed                                        1.5s
 ✔ Container bitwarden-nginx         Removed                                        1.5s
 ✔ Container bitwarden-sso           Removed                                        1.5s
 ✔ Container bitwarden-icons         Removed                                        1.5s
 ✔ Container bitwarden-notifications Removed                                        1.5s
 ✔ Container bitwarden-identity      Removed                                        0.9s
 ✔ Container bitwarden-api           Removed                                        1.0s
 ✔ Container bitwarden-web           Removed                                        0.3s
 ✔ Container bitwarden-admin         Removed                                        1.2s
 ✔ Container bitwarden-mssql         Removed                                        1.6s
 ✔ Network docker_default            Removed                                        0.1s
 ✔ Network docker_public             Removed                                        0.4s
== 2b. COLD tar of bitwarden docker volumes (mssql data, attachments)
== 3. remove containers (compose files preserved in archived dir)

But I do not think I will regret that decision in the near future. Thanks for everything, but… vaultwarden! Here I come!