add solution to missing argon2 error message

This commit is contained in:
marlon 2025-05-03 21:19:36 +00:00
parent 681d84009e
commit 3b2f17908f

View File

@ -3,7 +3,9 @@ APP_DIR="app:/data"
insert_vaultwarden_admin_token() {
if ! command -v argon2 &> /dev/null; then
echo "argon2 could not be found, please install it to proceed."
echo "argon2 is required on your local machine to hash the admin token."
echo "It could not be found in your PATH, please install argon2 to proceed."
echo "For example: On a debian/ubuntu system, run `apt install argon2`"
exit 1
fi
PASS=$(openssl rand 64 | openssl enc -A -base64)