Compare commits
3 Commits
a2e3c01f42
...
bdd111b886
| Author | SHA256 | Date | |
|---|---|---|---|
|
bdd111b886
|
|||
|
77f82d18eb
|
|||
|
35f659b08a
|
@@ -34,7 +34,7 @@ recipe:
|
|||||||
time: 256 # The number of milliseconds to spend with PBKDF passphrase processing.
|
time: 256 # The number of milliseconds to spend with PBKDF passphrase processing.
|
||||||
name: "ciss.2025.gpt.btrfs.ephemeral.non-raid.256GiB.rescue"
|
name: "ciss.2025.gpt.btrfs.ephemeral.non-raid.256GiB.rescue"
|
||||||
nuke: true # Activates Nuke-Mechanism in '/etc/crypttab' keyscript and via dropbear SSH forced command.
|
nuke: true # Activates Nuke-Mechanism in '/etc/crypttab' keyscript and via dropbear SSH forced command.
|
||||||
nuke_rounds: 8192 # SHA512 KDF Rounds for Nuke Passphrase. If omitted, the default value is '8,388,608'.
|
nuke_rounds: 16384 # SHA512 KDF Rounds for Nuke Passphrase. If omitted, the default value is '8,388,608'.
|
||||||
raid: # mdadm RAID settings only (not yet supported).
|
raid: # mdadm RAID settings only (not yet supported).
|
||||||
enable: false
|
enable: false
|
||||||
disks:
|
disks:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ nuke_passphrase() {
|
|||||||
' "${DIR_CNF}/preseed.yaml" | head -n1
|
' "${DIR_CNF}/preseed.yaml" | head -n1
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
do_log "debug" "file_only" "0105() var_nuke_rounds: ${var_nuke_rounds}"
|
||||||
|
|
||||||
[[ ! -f "${var_nuke_pwd_file}" ]] && return 0
|
[[ ! -f "${var_nuke_pwd_file}" ]] && return 0
|
||||||
|
|
||||||
guard_trace on
|
guard_trace on
|
||||||
@@ -60,7 +62,7 @@ nuke_passphrase() {
|
|||||||
declare -grx VAR_NUKE_HASH="${var_temp_nuke_hash}"
|
declare -grx VAR_NUKE_HASH="${var_temp_nuke_hash}"
|
||||||
unset var_temp_nuke_hash var_temp_plain_nuke_pwd
|
unset var_temp_nuke_hash var_temp_plain_nuke_pwd
|
||||||
|
|
||||||
do_log "debug" "file_only" "0105() NUKE hash starts with: ${VAR_NUKE_HASH:0:32}..."
|
do_log "debug" "file_only" "0105() NUKE hash starts with: [${VAR_NUKE_HASH:0:32}...]"
|
||||||
|
|
||||||
guard_dir && return 0
|
guard_dir && return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user