Compare commits

...

7 Commits

Author SHA1 Message Date
22c3dbb9b8 chore: publish 2.1.1+1.34.3 release
Some checks reported errors
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build was killed
2025-11-27 10:39:49 +01:00
3wc
74861fd9de chore: publish 2.1.0+1.34.1 release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-06-18 18:15:58 +01:00
6b47b3d040 Merge pull request 'add solution to missing argon2 error message' (#11) from argon2-doc into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #11
2025-05-05 22:24:06 +00:00
3b2f17908f add solution to missing argon2 error message 2025-05-03 21:19:36 +00:00
681d84009e Merge pull request 'fix: don't enable SMTP by default' (#9) from smtp-not-enabled-by-default into main
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Reviewed-on: #9
2025-04-24 08:11:44 +00:00
426c0c026f fix: don't enable SMTP by default
See #8
2025-04-24 09:50:47 +02:00
0c8a4ddc50 Merge pull request 'fix: set umask closes #6' (#7) from issue-6 into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #7
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
2025-04-23 19:21:16 +00:00
7 changed files with 26 additions and 4 deletions

View File

@ -25,6 +25,7 @@ TX="Europe/Berlin"
## SMTP settings
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
#SECRET_SMTP_PASSWORD_VERSION=v1
#SMTP_ENABLED=1
#SMTP_FROM=noreply@example.com
#SMTP_USERNAME=noreply@example.com
#SMTP_HOST=mail.example.com

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)

View File

@ -13,7 +13,7 @@ services:
- db_password
db:
image: "mariadb:10.6" # or "mysql"
image: "mariadb:10.11" # or "mysql"
environment:
- MYSQL_DATABASE=vaultwarden
- MYSQL_USER=vaultwarden

View File

@ -6,6 +6,7 @@ services:
secrets:
- smtp_password
environment:
- "SMTP_ENABLED"
- "SMTP_PASSWORD_FILE=/run/secrets/smtp_password"
- "SMTP_FROM"
- "SMTP_USERNAME"

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: vaultwarden/server:1.33.2
image: vaultwarden/server:1.34.3
networks:
- proxy
- internal
@ -42,7 +42,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=1.1.0+1.33.2"
- "coop-cloud.${STACK_NAME}.version=2.1.1+1.34.3"
- "backupbot.backup=true"
- "backupbot.backup.path=/data"

View File

@ -47,7 +47,10 @@ if [ -n "${MYSQL_HOST}" ]; then
fi
file_env "ADMIN_TOKEN"
{{ if eq (env "SMTP_ENABLED") "1" }}
file_env "SMTP_PASSWORD"
{{ end }}
# remove world permissions on data
chmod -R o= /data

15
release/2.0.0+1.33.2 Normal file
View File

@ -0,0 +1,15 @@
=== SMTP SETTINGS ===
This release contains a *breaking change* if you use SMTP with vaultwarden.
See https://git.coopcloud.tech/coop-cloud/vaultwarden/pulls/9 for more.
TLDR; Please add `SMTP_ENABLED=1` to your .env to continue using SMTP.
=== PERMISSIONS ===
Previously, the data directory including the main private key had read
permissions enabled for all host users. This release fixes that. Please review
your Vaultwarden keys if other users on your Co-op Cloud host may have had
access to these files.
See https://git.coopcloud.tech/coop-cloud/vaultwarden/pulls/7 for more.