Skip to content

Passwords on your host: Vaultwarden or Passbolt

Running a personal password vault on your own host is a trade-off between client convenience, data control, and operational overhead. For a single user, the choice typically narrows to two paths: Vaultwarden delivers Bitwarden compatibility in a lightweight container, while Passbolt introduces GPG encryption and shared access. Below is a practical comparison from an ops perspective.

Vaultwarden: Quick and Light

Vaultwarden (formerly bitwarden_rs) is written in Go and runs as a single container. This makes it ideal for a host with limited resources: a typical installation consumes ~50 MB RAM and negligible CPU headroom.

Installation via Docker

docker run -d \
  --name vaultwarden \
  -p 8080:80 \
  -e SIGNUPS_ENABLE=false \
  -e ADMIN_TOKEN=supersecretadmintoken \
  vaultwarden/server

After startup, the web interface and clients for all major platforms are available. The main operational nuisance is backup. The default storage is the SQLite file db.sqlite, which needs regular archiving.

Note

Backup boils down to copying ~/vaultwarden/db.sqlite and the attachments directory. It is recommended to pause the container or use docker cp when stopping the service to ensure SQLite integrity.

A typical mistake is leaving SIGNUPS_ENABLE=true on a public host. For a single user, it’s better to disable registration and use a single account, or configure a reverse-proxy (Caddy/NGINX) with TLS certificate-based authorization.

Passbolt: Teamwork and Security

Passbolt is built on GPG encryption and geared toward shared access. For a single user this adds a layer of complexity: generating a key pair, exporting the public key for clients, and managing access lists.

Basic installation on Debian/Ubuntu

sudo apt update
sudo apt install -y passbolt passbolt-cli
sudo passbolt instance:create --admin-name admin --admin-email admin@example.com
sudo htpasswd -c /etc/passbolt/passbolt.users admin

After initialization, an GPG key for the administrator is created, which is imported into the Passbolt browser extension. Passwords are stored encrypted in a MySQL/PostgreSQL database, and access is provided via public key exchange.

Warning

Passbolt without proper database and GPG key backup leads to loss of access. A backup must include both the passbolt database dump and the /var/lib/ssl/certs folder with TLS certificates used for TLS.

For a single user, Passbolt is justified only if strict access separation is required (e.g., separating work and personal passwords on one host) or if GPG encryption is already part of your workflow. Otherwise it’s unnecessary complexity.

Comparison in a Table

CharacteristicVaultwardenPassbolt
Language / FrameworkGo, standalone binaryPHP (Laravel), GPG-based
Default storageSQLite (file)MySQL / PostgreSQL
AuthorizationAPI token, admin tokenGPG key, htpasswd
Shared accessNone (single user)Yes, via public key exchange
BackupCopy db.sqlite + attachmentsDatabase dump + GPG keys + TLS certificates
Operational footprint< 100 MB RAM, container>= 256 MB RAM, web server + DB
Client compatibilityFull Bitwarden compatibilityNative extensions, GPG clients

Table based on typical operation on a host without managed services.

Conclusion: What to Choose for a Single User

For a single user who wants quick password access from any device and minimal backup effort, Vaultwarden wins. It can be set up in minutes, backup is a single file, and clients work out of the box. Passbolt makes sense only if GPG encryption is already part of your workflow or if you need strict access separation between multiple subjects on one host. In all other cases, the added complexity of Passbolt is not justified.