V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 45s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 45s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -167,7 +167,7 @@ yaml_reader
|
|||||||
|
|
||||||
### PARTITIONING
|
### PARTITIONING
|
||||||
echo "MAIN PROGRAM SEQUENCE: partitioning()"
|
echo "MAIN PROGRAM SEQUENCE: partitioning()"
|
||||||
partitioning
|
partitioning # TODO: Ok till here.
|
||||||
echo "MAIN PROGRAM SEQUENCE: partition_encryption()"
|
echo "MAIN PROGRAM SEQUENCE: partition_encryption()"
|
||||||
partition_encryption
|
partition_encryption
|
||||||
echo "MAIN PROGRAM SEQUENCE: partition_formatting()"
|
echo "MAIN PROGRAM SEQUENCE: partition_formatting()"
|
||||||
|
|||||||
@@ -75,19 +75,20 @@ partition_encryption() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ary_luks_opts+=(
|
ary_luks_opts+=(
|
||||||
"--type luks2"
|
--type luks2
|
||||||
"--cipher ${var_encryption_cipher}"
|
--cipher "${var_encryption_cipher}"
|
||||||
"--hash ${var_encryption_hash}"
|
--hash "${var_encryption_hash}"
|
||||||
"--iter-time ${var_encryption_iter}"
|
--iter-time "${var_encryption_iter}"
|
||||||
"--key-size ${var_encryption_key}"
|
--key-size "${var_encryption_key}"
|
||||||
"--label ${var_encryption_label}"
|
--label "${var_encryption_label}"
|
||||||
"--luks2-metadata-size ${var_encryption_meta}"
|
--luks2-metadata-size "${var_encryption_meta}"
|
||||||
"--pbkdf ${var_encryption_pbkdf}"
|
--pbkdf "${var_encryption_pbkdf}"
|
||||||
"--${var_encryption_rng}"
|
"--${var_encryption_rng}"
|
||||||
"--batch-mode --verbose"
|
--batch-mode
|
||||||
|
--verbose
|
||||||
)
|
)
|
||||||
|
|
||||||
[[ "${var_encryption_integrity,,}" == "true" ]] && ary_luks_opts+=( "--integrity hmac-sha512" )
|
[[ "${var_encryption_integrity,,}" == "true" ]] && ary_luks_opts+=( --integrity hmac-sha512 )
|
||||||
|
|
||||||
if [[ "${var_encryption_ephemeral,,}" == "true" ]]; then
|
if [[ "${var_encryption_ephemeral,,}" == "true" ]]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user