From 97a5b2139446ef56785444d0d6f6a5fbedb93d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Mon, 17 Nov 2025 23:52:49 +0100 Subject: [PATCH] Fix encryption key length in install script (#9239) Update encryption key generation for Domain Monitor installation. --- install/domain-monitor-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/domain-monitor-install.sh b/install/domain-monitor-install.sh index 352b708919..90d0fa578e 100644 --- a/install/domain-monitor-install.sh +++ b/install/domain-monitor-install.sh @@ -33,7 +33,7 @@ MARIADB_DB_NAME="domain_monitor" MARIADB_DB_USER="domainmonitor" setup_mariadb_d fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip" msg_info "Setting up Domain Monitor" -ENC_KEY=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c 32) +ENC_KEY=$(openssl rand -base64 32 | tr -d '\n') cd /opt/domain-monitor $STD composer install cp env.example.txt .env