Package: kpmcore / 3.3.0-5

force-luks1 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Force luks1 for new filesystems

Force luks1 since cryptsetup 2.1 defaults to luks2 which isn't well supported.
Author: Jonathan Carter <jcc@debian.org>

--- kpmcore-3.3.0.orig/src/fs/luks.cpp
+++ kpmcore-3.3.0/src/fs/luks.cpp
@@ -125,6 +125,7 @@ bool luks::create(Report& report, const
                                 QStringLiteral("512"),
                                 QStringLiteral("--batch-mode"),
                                 QStringLiteral("--force-password"),
+                                QStringLiteral("--type=luks1"),
                                 QStringLiteral("luksFormat"),
                                 deviceNode });
     if (!( createCmd.start(-1) &&