Skip to content

Conversation

jefkel
Copy link

@jefkel jefkel commented Dec 29, 2018

This PR adds some specific multi-line secret support to the release-1.2 branch by using wc to detect when a secret is multi-line and adding the expected | before adding the secret contents.

/usr/bin/wc from bin-utils
/usr/bin/sed from sed

The same (or similar) fix may work in the 1.3 or master branches to replace the following:

echo "$file: $(cat ${SECRETS_DIR}/${key}/..data/${file})" >> $PASSWORDS

However, I haven't done any testing on those branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant