From 6e86cd9a0a12662265a749bf116dc259deb683d2 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 23 Jul 2022 11:08:31 -0700 Subject: Revert "add support for passing --cipher to cryptsetup luksFormat" This reverts commit 5e7547f8b732c5c3e7b222e61600d79c123774d4. Signed-off-by: Sean Whitton --- src/property/disk.lisp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/property/disk.lisp b/src/property/disk.lisp index 40f7809..6806bab 100644 --- a/src/property/disk.lisp +++ b/src/property/disk.lisp @@ -611,7 +611,6 @@ possible. Ignored if VOLUME-SIZE is also bound.")) "The value of the --type parameter to cryptsetup luksFormat. Note that GRUB2 older than 2.06 cannot open the default LUKS2 format, so specify \"luks1\" if this is needed.") - (luks-cipher :type string :initarg :luks-cipher :accessor luks-cipher) (crypttab-options :type list :initform '("luks" "discard" "initramfs") :initarg :crypttab-options :accessor crypttab-options) @@ -639,8 +638,6 @@ specify \"luks1\" if this is needed.") "cryptsetup" "--type" luks-type (and (member luks-type '("luks" "luks2") :test #'string=) `("--label" ,volume-label)) - (and (slot-boundp volume 'luks-cipher) - `("--cipher" ,(luks-cipher volume))) "luksFormat" file "-"))) (defmethod close-volume ((volume opened-luks-container)) -- cgit v1.2.3