Compare commits

...

2 Commits

Author SHA256 Message Date
4fc97f6988 Merge remote-tracking branch 'origin/master'
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m0s
2025-10-26 15:51:11 +00:00
ab326392e4 V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-10-26 15:51:02 +00:00

View File

@@ -190,7 +190,7 @@ yaml_secret() {
yq -o=shell "${secrets_if}" >| "${__SECRETS}" && ciss_secrets_wiper "${secrets_if}"
LC_ALL=C sed -n -E '
sed -n -E '
/^[[:space:]]*(#|$)/b # Skip empty/comment lines.
s/^[[:space:]]*export[[:space:]]+// # Drop optional leading "export ".
/^[[:space:]]*[A-Za-z_][A-Za-z0-9_]*_value=/!b # Keep only *_value= assignments.
@@ -200,7 +200,7 @@ yaml_secret() {
# --- Quote unquoted values -------------------------------------------
s/^(.*)=([^'\''"]+)/\1='\''\2'\''/ # wrap value in single quotes
' -- "${__SECRETS}"
' "${__SECRETS}"
# shellcheck disable=SC1091 source=./${__SECRETS}
source "${__SECRETS}"