V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 51s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 51s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -277,9 +277,7 @@ read_passphrase() {
|
||||
ROUNDS="$(cut -d'$' -f3 <<< "${NUKE_HASH}")"
|
||||
ROUNDS="${ROUNDS#rounds=}"
|
||||
SALT="$(cut -d'$' -f4 <<< "${NUKE_HASH}")"
|
||||
_FULL_SALT="\$6\$rounds=${ROUNDS}\$${SALT}"
|
||||
### BusyBox mkpasswd invocation (no options):
|
||||
CAND="$(mkpasswd "${PASSPHRASE}" "${_FULL_SALT}")"
|
||||
CAND=$(/usr/bin/mkpasswd --method=sha-512 --salt="${SALT}" --rounds="${ROUNDS}" "${PASSPHRASE}")
|
||||
|
||||
# TODO: DEBUGGER
|
||||
echo "ROUNDS : ${ROUNDS}"
|
||||
|
||||
Reference in New Issue
Block a user