From c46675f2504afedee99022ce6d32a918fecdc139 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 9 Apr 2023 23:47:27 -0400 Subject: [PATCH] Update vaultwarden-install.sh Add Argon2 --- install/vaultwarden-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/vaultwarden-install.sh b/install/vaultwarden-install.sh index dd079560..fe0edc19 100644 --- a/install/vaultwarden-install.sh +++ b/install/vaultwarden-install.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/tteck/Proxmox/raw/main/LICENSE -source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color verb_ip6 catch_errors @@ -24,6 +24,7 @@ $STD apt-get -qqy install \ libpq-dev \ curl \ sudo \ + argon2 \ mc msg_ok "Installed Dependencies" @@ -61,7 +62,7 @@ $STD tar -xzf bw_web_$WEBVAULT.tar.gz -C /opt/vaultwarden/ msg_ok "Downloaded Web-Vault ${WEBVAULT}" cat </opt/vaultwarden/.env -ADMIN_TOKEN=$(openssl rand -base64 48) +ADMIN_TOKEN='' ROCKET_ADDRESS=0.0.0.0 DATA_FOLDER=/opt/vaultwarden/data DATABASE_MAX_CONNS=10