chore: encryption key for project manager

This commit is contained in:
David Juarez
2026-07-31 12:24:53 +02:00
parent bd21529cb2
commit ce9033f7e6
+1 -1
View File
@@ -11,7 +11,7 @@ if [ "$ENABLE_PROJECT_MANAGER" == true ]; then
BEAM_SECRET_PROJECT_MANAGER="$(echo \"This is a salt string to generate one consistent beam secret for the project manager. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)" BEAM_SECRET_PROJECT_MANAGER="$(echo \"This is a salt string to generate one consistent beam secret for the project manager. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)"
PROJECT_MANAGER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the project manager database. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" PROJECT_MANAGER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the project manager database. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
PROJECT_MANAGER_DB_ENCRYPTION_PRIVATE_KEY_IN_BASE64="$(echo \"This is a salt string to generate one encriptyion privae key for the project manager. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)" PROJECT_MANAGER_DB_ENCRYPTION_PRIVATE_KEY_IN_BASE64="$(echo \"This is a salt string to generate one encriptyion privae key for the project manager. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | openssl dgst -sha256 -binary | base64 -w 0)"
DBEAVER_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the project manager database GUI. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" DBEAVER_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the project manager database GUI. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
SQL_GUI_AUTH="$(echo \"This is a salt string to generate one consistent basic authentication password for the project manager database GUI. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" SQL_GUI_AUTH="$(echo \"This is a salt string to generate one consistent basic authentication password for the project manager database GUI. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
TEST_SMTP_AUTH="$(echo \"This is a salt string to generate one consistent basic authentication password for the project manager test SMTP server. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" TEST_SMTP_AUTH="$(echo \"This is a salt string to generate one consistent basic authentication password for the project manager test SMTP server. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"