How to build a bitwarden_rs to protect your password
Install the rust environment
apt install git make gcc libssl-dev pkg-config curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
Install the bitwarden_rs
git clone https://github.com/dani-garcia/bitwarden_rs/
cd bitwarden_rs/
cargo build --features sqlite --release
mkdir /usr/local/bitwarden
cp target/release/bitwarden_rs /usr/local/bitwarden/
Install the web-vault
https://github.com/dani-garcia/bw_web_builds/releases
Start the service
export WEB_VAULT_FOLDER=/usr/local/bitwarden/web-vault
export DATA_FOLDER=/usr/local/bitwarden/data
sudo ln -s /usr/local/bitwarden/bitwarden_rs /usr/local/bin/bitwarden
/usr/local/bin/bitwarden
Some environment config settings
export WEB_VAULT_FOLDER=/usr/local/bitwarden/web-vault
export DATA_FOLDER=/etc/bitwarden/data
export ROCKET_ADDRESS=127.0.0.1
export ROCKET_PORT=8537
export SIGNUPS_ALLOWED=false
export INVITATIONS_ALLOWED=false
export DOMAIN=https://pass.www.5288z.com
export SHOW_PASSWORD_HINT=false
export LOG_FILE=/var/log/bitwarden/bitwarden.log
export EXTENDED_LOGGING=true
export LOG_LEVEL=info
Some other links: