From 0cfe1d36175d2363fa736e43d6d55aea73bfa863 Mon Sep 17 00:00:00 2001 From: juarez Date: Tue, 11 Apr 2023 11:02:14 +0200 Subject: [PATCH] Change salt string for exporter and login --- ccp/modules/exporter-setup.sh | 2 +- ccp/modules/login-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/modules/exporter-setup.sh b/ccp/modules/exporter-setup.sh index 044116b..323d8a4 100644 --- a/ccp/modules/exporter-setup.sh +++ b/ccp/modules/exporter-setup.sh @@ -5,4 +5,4 @@ if [ -n "$ENABLE_EXPORTER" ];then OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml" fi # TODO: Generate password in another way so that not all passwords are the same? -EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" +EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the exporter. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" diff --git a/ccp/modules/login-setup.sh b/ccp/modules/login-setup.sh index 2432951..f3d0122 100644 --- a/ccp/modules/login-setup.sh +++ b/ccp/modules/login-setup.sh @@ -4,4 +4,4 @@ if [ "$ENABLE_LOGIN" == true ];then log INFO "Login setup detected -- will start Login services." OVERRIDE+=" -f ./$PROJECT/modules/login-compose.yml" fi -KEYCLOAK_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" +KEYCLOAK_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for Keycloak. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"