Fix key size argument

`--size` is used for 512-byte sector count, limiting the usable space of
the encrypted device. Key size is controlled via `--key-size`.
This commit is contained in:
inference 2024-02-13 02:17:06 +00:00
parent 2522dcdb59
commit f1a6e2589a
Signed by: inference
SSH Key Fingerprint: SHA256:FtEVfx1CmTKMy40VwZvF4k+3TC+QhCWy+EmPRg50Nnc

View File

@ -1,6 +1,6 @@
# Inferencium - aa000-0
# dm-crypt - Configuration
# Version: 3.0.0-alpha.3
# Version: 3.0.0-alpha.4
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause
@ -19,5 +19,5 @@ dmcrypt_retries="5"
## These should come first so no keys make their way into unencrypted swap.
swap="swap"
source="PARTUUID=[REDACTED]"
options="--cipher aes-xts-plain64 --size 512 --key-file /dev/urandom"
options="--cipher aes-xts-plain64 --key-size 512 --key-file /dev/urandom"