Running bitwarden_rs on Univention

Maybe some of you did also want to try the password manager bitwarden, but ultimately did not proceed with it, since it requires MSSql (which also makes it quite heavy for small amounts of users).

The good news is that thanks to the open source community there are some alternative implementations of the bitwarden api out there such as https://github.com/jcs/rubywarden and https://github.com/dani-garcia/bitwarden_rs. The latter even implementing the organisations feature of bitwarden and thus allowing to securely share accounts between users.

Since I wanted to give bitwarden_rs a try I at first began writing an app for the Univention appcenter for it, but this morning decided to simplify the setup and instead just provide a small bash script which will fetch the latest tagged release and spin it up in a Docker container on the Univention host. To make the integration a bit nicer the script will also setup an apache vhost (listening at https://bitwarden.whatever.hostname.univention.uses) and a cron job for daily backups of the bitwarden_rs database.

The script is available at https://github.com/fbartels/univention-bitwarden maybe some others find it interesting as well (should be easily modifyable to run other applications instead).

Contributions are welcome!

4 Likes

Hello,

are there any plans to make bitwarden available through the app store?

Best regards,
Stefan

Afaik Univention is currently collecting votes for an official app. I have no plans to put my work into the appcenter, though.

Hello fbartels,

thx very much writing this nice script. Bitwarden_rs is running fine on my ucs system.
My only problem is, I cannot enter my email settings to share an organisation.
Where can I do this?

Best regards,
r100gs

Hi @r100gs,

configuration of bitwarden_rs either happens through env variables (or when enabled) to some part through their admin panel. I have added some further hints to the readme at https://github.com/fbartels/univention-bitwarden#further-configuration.

Hello fbartels,

thank you very much! Everything works now as expected!

Now available in the app store, but it doesn’t work on a fresh install.

the linked project is not the same as the app in the app store. I would recommend to open a separate topic about this.

There is an open thread from last year that Univention is not responding too. I opened a new one as well. Thank you for correcting me on this subject.

Hello fbartels,

I´m running bitwarden_rs since some time.
Bitwarden_rs is now renamed to vaultwarden.
How can I upgrade my existing installation to vaultwarden?

Best regards,
Stefan

I had already updated the repository when the bitwarden_rs project announced their new name. You just need to pull in the latest code from the git repo and then run run.sh like usual to update to the latest version.

Mastodon