Always force LUKS password (in case crypsetup is compiled with libpwquality).
This commit is contained in:
parent
98d0ea309b
commit
e103c65b73
|
@ -116,6 +116,7 @@ bool luks::create(Report& report, const QString& deviceNode)
|
||||||
{ QStringLiteral("-s"),
|
{ QStringLiteral("-s"),
|
||||||
QStringLiteral("512"),
|
QStringLiteral("512"),
|
||||||
QStringLiteral("--batch-mode"),
|
QStringLiteral("--batch-mode"),
|
||||||
|
QStringLiteral("--force-password"),
|
||||||
QStringLiteral("luksFormat"),
|
QStringLiteral("luksFormat"),
|
||||||
deviceNode });
|
deviceNode });
|
||||||
if (!( createCmd.start(-1) &&
|
if (!( createCmd.start(-1) &&
|
||||||
|
|
Loading…
Reference in New Issue