Here is a story about how I moved out from LastPass to Bitwarden after 7 years using LastPass.
The story
Edit: I updated this blog post in 2023, I am very happy about Vaultwarden, the maintenance is regular and very good. It is still as good as it was when I started using it in 2021.
I was using LastPass since 7 years (or maybe more, last email found is in 2014) and I decided it was a cool adventure but some recent news did make me say goodbye for some new fresh tech. Using Bitwarden since a couple of months I am convinced it is a good tool and started searching for self hosted options. Bitwarden is open-source, not like LastPass. You can browse the code on their GitHub. I read that to self host Bitwarden it needed some gigs of ram and I was quite perplex to read that. I understood why when I found out they where using Microsoft SQL server and running C#. It seemed quite overkill but Internet is big and I found out that someone had re-implemented all that in Rust. I love Rust and that was enough for me to decide to have a try. After some minutes configuring my haproxy I got my deployed container working and could start my migration. Wait, you are asking If I had deployment issues ? hahaha, no. I used the docker image with docker compose and it just works.
You can configure the domains allowed to register to your Bitwarden instance, very nice feature ! And more cool things, just have a look to the .env template
I had a look to a French video to install the official server using Docker, I could see a lot of "overkill" stuff and one non pleasant thing was: to have to ask for an install key to Bitwarden using a form on their website. No way I would fill this form, I have nobody to inform if I install or not the Bitwarden server.
After setting up my instance I Exported all my Bitwarden accounts and my LastPass account and imported the data. Logged in with my phone and browser extension after defining the URL of my instance and that was it.
What about you, just have a try ;)
Some details about how it works
It works great, anyway nothing surprising with a Rust back-end. It consumes less than 50MiB of RAM, I allocated 200MiB to the container just in case.
Some screenshots
(Yes they are in French, the UI is intuitive enough for non French users to understand my screenshots)
Configure the domain
Use the bolt icon on the login modal.
Your vault's view from the Chrome extension
Your vault's view from the web UI
Docker compose
vaultwarden:
image: vaultwarden/server:latest
restart: always
container_name: vaultwarden.host.tld
networks:
my_network:
aliases:
- vaultwarden.host.tld
mem_limit: 200m
mem_reservation: 100m
volumes:
- ${VAULTWARDEN_VOLUME}:/data
healthcheck:
test: ["CMD", "curl", "-s", "--fail", "https://vaultwarden.host.tld/api/alive"]
start_period: 2s
interval: 30s
timeout: 1s
retries: 3
environment:
WEBSOCKET_ENABLED: 'true'
SIGNUPS_ALLOWED: "${VAULTWARDEN_ENABLE_SIGNUPS}"
SIGNUPS_DOMAINS_WHITELIST: "${VAULTWARDEN_SIGNUPS_DOMAINS_WHITELIST}"
ADMIN_TOKEN: "${VAULTWARDEN_ADMIN_TOKEN}"
INVITATION_ORG_NAME: "${VAULTWARDEN_INVITATION_ORG_NAME}"
DOMAIN: "${VAULTWARDEN_URL}"
SMTP_HOST: "${VAULTWARDEN_SMTP_HOST}"
SMTP_FROM: "${VAULTWARDEN_SMTP_FROM}"
SMTP_FROM_NAME: "${VAULTWARDEN_SMTP_FROM_NAME}"
SMTP_PORT: "${VAULTWARDEN_SMTP_PORT}"
SMTP_SSL: "${VAULTWARDEN_SMTP_SSL}"
# "starttls", "force_tls" or "off"
SMTP_SECURITY: "${BITWARDEN_SMTP_SECURITY:-force_tls}"
SMTP_USERNAME: "${VAULTWARDEN_SMTP_USERNAME}"
SMTP_PASSWORD: "${VAULTWARDEN_SMTP_PASSWORD}"