Hey, firstly thanks for the 1.28 update to latest image!
updated fine today, and changed to using argon for KDF and so far so good…
however in the logs i see
[NOTICE] You are using a plain text ADMIN_TOKEN
which is insecure.
Please generate a secure Argon2 PHC string by using vaultwarden hash
or argon2
.
so i ran
docker exec -it vaultwarden /vaultwarden hash --preset owasp
which gave me the output
ADMIN_TOKEN=‘$argon2id$v=19$m=19456,t=2,p=REMOVEDTHISTEXT’
i updated my stack firstly directly in the code to
ADMIN_TOKEN: ‘$argon2id$v=19$m=19456,t=2,p=REMOVEDTHISTEXT’
but im still prompted the token in plain text, so i then hased out that line and added it as an env variable, but it still prompts “[NOTICE] You are using a plain text ADMIN_TOKEN
which is insecure.”
p.s in between each step i have redeployed the stack (portainer/docker)
do i also have to put this string in the actual admin page too? (i notice its yellow so overriding)
p.s i have also tried changing all 5 $ to $$ in the line (and redeployed) but still says insecure