V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -30,14 +30,8 @@ nuke_passphrase() {
|
|||||||
|
|
||||||
# shellcheck disable=SC2312
|
# shellcheck disable=SC2312
|
||||||
var_nuke_rounds="$(
|
var_nuke_rounds="$(
|
||||||
yq -r '
|
yq -r '.recipe[]?.control.nuke_rounds // empty | tostring' \
|
||||||
..
|
"${DIR_CNF}/partitioning.yaml" | head -n1
|
||||||
| 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
|
|
||||||
)"
|
)"
|
||||||
|
|
||||||
do_log "debug" "file_only" "0105() var_nuke_rounds: ${var_nuke_rounds}"
|
do_log "debug" "file_only" "0105() var_nuke_rounds: ${var_nuke_rounds}"
|
||||||
|
|||||||
Reference in New Issue
Block a user