Compare commits

..

2 Commits

Author SHA256 Message Date
c35fef8a77 Merge remote-tracking branch 'origin/master'
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 58s
2025-09-05 17:48:59 +02:00
0d8d2ca401 V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-09-05 17:48:51 +02:00

View File

@@ -30,14 +30,8 @@ nuke_passphrase() {
# shellcheck disable=SC2312
var_nuke_rounds="$(
yq -r '
..
| select(tag == "!!map" and has("rounds"))
| select(keys | any((. | tostring) | test("_nuke$")))
| .rounds
| select(tag != "!!map" and tag != "!!seq")
| tostring
' "${DIR_CNF}/partitioning.yaml" | head -n1
yq -r '.recipe[]?.control.nuke_rounds // empty | tostring' \
"${DIR_CNF}/partitioning.yaml" | head -n1
)"
do_log "debug" "file_only" "0105() var_nuke_rounds: ${var_nuke_rounds}"