diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2014-10-09 15:42:48 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2014-12-18 09:26:44 +0100 |
commit | 78e2efa4269102955950dc5a8b4af33365260ce2 (patch) | |
tree | f1d47357a3251a05e646c2cdc37d52ff079a2dcb | |
parent | c5fc2d792c98e171dda52cb83abaa97c02b3cdd7 (diff) |
Skip password strength checks when changing LUKS passphrase
cryptsetup enables them by default, but it's certainly not a nice thing to do
in a library or a service. gnome-disk-utility already implements its strength
checks with a much friendlier UX.
https://bugs.freedesktop.org/show_bug.cgi?id=84839
-rw-r--r-- | src/udiskslinuxencrypted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udiskslinuxencrypted.c b/src/udiskslinuxencrypted.c index ab496c8..dfee074 100644 --- a/src/udiskslinuxencrypted.c +++ b/src/udiskslinuxencrypted.c @@ -717,7 +717,7 @@ handle_change_passphrase (UDisksEncrypted *encrypted, NULL, /* gint *out_status */ &error_message, passphrases, /* input_string */ - "cryptsetup luksChangeKey %s", + "cryptsetup --force-password luksChangeKey %s", escaped_device)) { g_dbus_method_invocation_return_error (invocation, |