From 03c1e5b8d7b2af394fd10422733aa075b72c7962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kj=C3=A6r=20J=C3=B8rgensen?= Date: Sun, 30 Jun 2024 12:55:35 +0200 Subject: [PATCH] add key file and source to keyscript MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #120 Signed-off-by: Martin Kjær Jørgensen --- crypt.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypt.awk b/crypt.awk index 2d9cafc..13b590b 100644 --- a/crypt.awk +++ b/crypt.awk @@ -82,7 +82,7 @@ NF>4 { print "a valid crypttab has max 4 cols not " NF >"/dev/stderr"; next } } if ( use_luks == "y" && makeswap != "y" ){ if ( use_keyscript == "y") { - ccmd=keyscript " | cryptsetup " luksopts commonopts "luksOpen -d - " src " " dest; + ccmd=keyscript " " key " " src " | cryptsetup " luksopts commonopts "luksOpen -d - " src " " dest; use_keyscript=""; } else {