From f1a6e2589a1cd4088d2b2ea541e21aecad674f77 Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 13 Feb 2024 02:17:06 +0000 Subject: [PATCH] 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`. --- aa000-0/dmcrypt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aa000-0/dmcrypt b/aa000-0/dmcrypt index 96db19f..20ee1b2 100644 --- a/aa000-0/dmcrypt +++ b/aa000-0/dmcrypt @@ -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"