V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m57s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m57s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -121,19 +121,6 @@ partition_encryption() {
|
||||
|
||||
fi
|
||||
|
||||
if [[ "${var_encryption_nuke,,}" == "true" ]]; then
|
||||
|
||||
cryptsetup luksAddKey \
|
||||
--key-file="${DIR_CNF}/password.txt" \
|
||||
--new-keyfile="${DIR_CNF}/password_nuke.txt" \
|
||||
--new-key-slot 31 \
|
||||
--batch-mode --verbose \
|
||||
"/dev/${var_dev}${var_part}"
|
||||
|
||||
do_log "info" "false" "Partition: '/dev/${var_dev}${var_part}' 'Nuke-Key' added."
|
||||
|
||||
fi
|
||||
|
||||
cryptsetup luksHeaderBackup --header-backup-file="${DIR_BAK}/luks_header_${var_dev}${var_part}.bak" "/dev/${var_dev}${var_part}"
|
||||
do_log "info" "false" "Partition: '/dev/${var_dev}${var_part}' LUKS Header saved: '${DIR_BAK}/luks_header_${var_dev}${var_part}.bak'."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user