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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-25 16:31:42 +02:00
parent 8063dd084e
commit bfd8e4126e
8 changed files with 38 additions and 19 deletions

View File

@@ -37,8 +37,9 @@ nuke_passphrase() {
### Turn on tracing again
#[[ "${VAR_DEBUG_TRACE,,}" == "true" ]] && set -x
# shellcheck disable=SC2312
var_salt=$(tr -dc 'A-Za-z0-9' < /dev/random | head -c 16)
if ! var_salt="$(generate_salt)"; then
return "${ERR_GENERATE_SALT}"
fi
### No tracing for security reasons
#[[ "${VAR_DEBUG_TRACE,,}" == "true" ]] && set +x