News for hackers. Stuff that matters.
Re:Vaultwarden: Alternative implementation of the Bitwarden ... by Daril on Saturday July 29, 2023 @01:23PM (#36922434)
Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.

Support for : SQLite, MySQL/MariaDB and PostgreSQL.

You can use the docker version or extract the binary and assets file and run it directly.

Works well also on ARM based SBC, like RaspberryPi.

Re:Vaultwarden: Alternative implementation of the Bitwarden ... by SebJansen on Sunday July 30, 2023 @11:01AM (#36931828)
I wonder if Vaultwarden supports CockroachDB, for a convenient self-hosted HA setup
Re:Vaultwarden: Alternative implementation of the Bitwarden ... by Daril on Sunday July 30, 2023 @12:28PM (#36932911)
As far as I know it supports SQLite, MariaDB and PostgreSQL.

For MariaDB you can implement logical master-master replication between 2 servers (or a Galera cluster if you have 3 or more servers).

I have done this for my servers with MariaDB (master-master logical replication) and apart from some very rare hiccups it works very well. You can do the same for PostgreSQL.

For SQLlite there are some solutions like Dqlite.

At the moment I am on MariaDB but my plan is to migrate to PostgreSQL.

Re:Vaultwarden: Alternative implementation of the Bitwarden ... by acheong08 on Sunday July 30, 2023 @04:50AM (#36929231)
Thank you.
Re:Vaultwarden: Alternative implementation of the Bitwarden ... by fsmv on Sunday July 30, 2023 @11:38AM (#36932340)
I use it. It's nice to have sqlite and a single binary instead of several giant docker containers.
Re:Vaultwarden: Alternative implementation of the Bitwarden ... by snailmailman on Monday July 31, 2023 @12:38AM (#36938864)
I run this on a raspberry pi. And have configured it to be accessible over tailscale. (And only over tailscale)

The result is great. A secure password manager that syncs between all of my devices, regardless of where they are. Zero subscription cost for cloud servers. It works flawlessly, and even stores my 2FA codes too. (A feature that’s usually a paid Bitwarden feature)

Vaultwarden is one of several services I’m running off a pi this way, but it’s probably the one I use the most.