From b73c8a7ca620607c0582b6bec4ff85973a633fc7 Mon Sep 17 00:00:00 2001 From: Eddy Filip Date: Mon, 17 Oct 2022 18:22:43 +0200 Subject: [PATCH] Make openssl generate a 64-character string as mentioned in comment --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 38a9a2a..8f478e4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -67,7 +67,7 @@ populating_secret() { # To support multiline secrets, we'll use the heredoc syntax to populate the environment variables. # As the heredoc identifier, we'll use a randomly generated 64-character string, # so that collisions are practically impossible. - random_heredoc_identifier=$(openssl rand -hex 16) + random_heredoc_identifier=$(openssl rand -hex 32) { # Populate env var, using heredoc syntax with generated identifier