Merge pull request #18 from 1Password/eddy/rand-64

Make openssl generate a 64-character string as mentioned in comment
This commit is contained in:
Eduard Filip
2022-10-17 19:03:05 +02:00
committed by GitHub

View File

@@ -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