V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m6s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-26 17:19:26 +00:00
parent 893740c2bf
commit 25e230ace4
8 changed files with 36 additions and 53 deletions

View File

@@ -25,7 +25,7 @@ guard_sourcing || return "${ERR_GUARD_SOURCE}"
# ERR_GENERATE_SALT: on failure
#######################################
nuke_passphrase() {
#guard_trace on
guard_trace on
### Declare Arrays, HashMaps, and Variables.
declare var_nuke_pwd="${CISS_SECRET_LUKS_NUKE}"
@@ -54,19 +54,14 @@ nuke_passphrase() {
var_temp_nuke_hash=$(mkpasswd --method=sha-512 --salt="${var_salt}" --rounds="${var_nuke_rounds:-8388608}" "${var_nuke_pwd}")
# shellcheck disable=SC2034
declare -grx VAR_NUKE_HASH="${var_temp_nuke_hash}"
echo "Inside 1257"
echo "CISS_SECRET_LUKS_NUKE: ${CISS_SECRET_LUKS_NUKE}"
unset var_temp_nuke_hash var_nuke_pwd CISS_SECRET_LUKS_NUKE
do_log "debug" "file_only" "0105() NUKE hash starts with: [${VAR_NUKE_HASH:0:32}...]"
#guard_trace off
echo "Inside 1257"
sleep 60
guard_trace off
guard_dir; return 0
}