V8.00.000.2025.06.17
Some checks failed
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Has been cancelled
Some checks failed
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Has been cancelled
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -192,6 +192,12 @@ yaml_secret() {
|
|||||||
/^[[:space:]]*(#|$)/b
|
/^[[:space:]]*(#|$)/b
|
||||||
s/^[[:space:]]*export[[:space:]]+//
|
s/^[[:space:]]*export[[:space:]]+//
|
||||||
/^[[:space:]]*[A-Za-z_][A-Za-z0-9_]*_value=/p
|
/^[[:space:]]*[A-Za-z_][A-Za-z0-9_]*_value=/p
|
||||||
|
|
||||||
|
# --- Empty-value normalisation ---------------------------------------
|
||||||
|
s/^(.*)=\s*$/\1=""/ # turn key= into key=""
|
||||||
|
|
||||||
|
# --- Quote unquoted values -------------------------------------------
|
||||||
|
s/^(.*)=([^'\''"]+)/\1='\''\2'\''/ # wrap value in single quotes
|
||||||
' -- "${__SECRETS}" >| "${__SECRETS}.value_only"
|
' -- "${__SECRETS}" >| "${__SECRETS}.value_only"
|
||||||
|
|
||||||
ciss_secrets_wiper "${__SECRETS}"
|
ciss_secrets_wiper "${__SECRETS}"
|
||||||
@@ -28,7 +28,7 @@ source_guard "./func/cdi_1200_validation/1222_validation_preseed.sh"
|
|||||||
source_guard "./func/cdi_1250_yaml/1250_yaml_parser.sh"
|
source_guard "./func/cdi_1250_yaml/1250_yaml_parser.sh"
|
||||||
source_guard "./func/cdi_1250_yaml/1251_yaml_reader.sh"
|
source_guard "./func/cdi_1250_yaml/1251_yaml_reader.sh"
|
||||||
source_guard "./func/cdi_1250_yaml/1252_yaml_validator.sh"
|
source_guard "./func/cdi_1250_yaml/1252_yaml_validator.sh"
|
||||||
source_guard "./func/cdi_1250_yaml/1256_secret_parser.sh"
|
source_guard "./func/cdi_1250_yaml/1256_yaml_xfiles.sh"
|
||||||
|
|
||||||
### cdi_3200_partitioning
|
### cdi_3200_partitioning
|
||||||
source_guard "./func/cdi_3200_partitioning/3200_partitioning.sh"
|
source_guard "./func/cdi_3200_partitioning/3200_partitioning.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user