V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-26 15:51:02 +00:00
parent 9928148850
commit ab326392e4

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}"