From 6ecbe46de6bb00cafae0ff3785edd5009842b662 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Thu, 5 Jul 2018 10:26:16 -0400 Subject: [PATCH] Change SECRECT_KEY_BASE to 64 char Fixes #38 `prod.secret.exs` requires a 64 character string. The previous 32 character string created an error while trying to navigate to the verification page. --- bin/infra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/infra b/bin/infra index 22ae484..546ec9d 100755 --- a/bin/infra +++ b/bin/infra @@ -295,7 +295,7 @@ EOF if [ -z "$SECRET_KEY_BASE" ]; then SECRET_KEY_BASE="$(get_config 'secret_key_base')" if [ -z "$SECRET_KEY_BASE" ]; then - SECRET_KEY_BASE="$(openssl rand -base64 32)" + SECRET_KEY_BASE="$(openssl rand -base64 64)" fi fi