From d8fbdef38c58f4dde2f91f28c7be9c46f3dc60c5 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 15 Nov 2021 12:26:02 +0700 Subject: [PATCH] Add deterministic APP_PASSWORD env var --- scripts/app | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/app b/scripts/app index 22c8695..c23cd51 100755 --- a/scripts/app +++ b/scripts/app @@ -116,6 +116,7 @@ compose() { export APP_DOMAIN="${app_domain}" export APP_HIDDEN_SERVICE="$(cat "${app_hidden_servive_file}" 2>/dev/null || echo "notyetset.onion")" export APP_SEED=$(derive_entropy "${app_entropy_identifier}") + export APP_PASSWORD=$(derive_entropy "${app_entropy_identifier}-APP_PASSWORD") # App specific env vars # Note: Hardcoding app specific env vars is a short term solution. Long term