mirror of https://github.com/tteck/Proxmox.git
testing argon2
This commit is contained in:
parent
c5ef77bee8
commit
317c64bf4f
|
@ -16,6 +16,7 @@ default_packages
|
|||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apk add openssl
|
||||
$STD apk add argon2
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Alpine-Vaultwarden"
|
||||
|
@ -24,7 +25,7 @@ cat <<EOF >/etc/conf.d/vaultwarden
|
|||
export DATA_FOLDER=/var/lib/vaultwarden
|
||||
export WEB_VAULT_FOLDER=/var/lib/vaultwarden/web-vault
|
||||
export WEB_VAULT_ENABLED=true
|
||||
export ADMIN_TOKEN=$(openssl rand -base64 48)
|
||||
export ADMIN_TOKEN:'$(echo -n "MySecretPassword" | argon2 "$(openssl rand -base64 32)" -e -id -k 19456 -t 2 -p 1)'
|
||||
export ROCKET_ADDRESS=0.0.0.0
|
||||
EOF
|
||||
$STD rc-service vaultwarden start
|
||||
|
|
Loading…
Reference in New Issue