From e747f1cefa69743e329bd821b92c09d6792b1f9d18dcc2c1bcb8ea16d6d84979 Mon Sep 17 00:00:00 2001 From: "Marc S. Weidner" Date: Sat, 22 Nov 2025 06:25:20 +0000 Subject: [PATCH] V8.13.440.2025.11.19 Signed-off-by: Marc S. Weidner --- .../usr/lib/live/boot/0024-ciss-crypt-squash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash b/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash index b061bc5..5fed337 100644 --- a/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash +++ b/config/includes.chroot/usr/lib/live/boot/0024-ciss-crypt-squash @@ -235,7 +235,12 @@ chmod 0600 /lib/cryptsetup/passfifo 2>/dev/null || true printf "\e[93m[INFO] Trying to unlock via cryptsetup ...\n\e[0m" >/dev/console 2>/dev/null || true - printf '%s\n' "${PASS}" | cryptsetup open --type luks --readonly "${LOOP}" "${CDLB_MAPPER_NAME}" --key-file - 2>/dev/console + KEYLEN=${#PASS} + + printf '%s' "${PASS}" | cryptsetup open --tries 1 \ + --type luks \ + --keyfile-size="${KEYLEN}" \ + --readonly "${LOOP}" "${CDLB_MAPPER_NAME}" --key-file - 2>/dev/console if [ -b "${CDLB_MAPPER_DEV}" ]; then