diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-15 05:49:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-15 05:49:55 +0000 |
commit | 245dec56a7cf5562a0fc4ebaee81965427bfc1bc (patch) | |
tree | 78c93828227b0a5e7fc2c47e237bc876682b9671 | |
parent | 053ca8e7f47d84d9946fc2aaa11bca7679286889 (diff) | |
download | drakx-245dec56a7cf5562a0fc4ebaee81965427bfc1bc.tar drakx-245dec56a7cf5562a0fc4ebaee81965427bfc1bc.tar.gz drakx-245dec56a7cf5562a0fc4ebaee81965427bfc1bc.tar.bz2 drakx-245dec56a7cf5562a0fc4ebaee81965427bfc1bc.tar.xz drakx-245dec56a7cf5562a0fc4ebaee81965427bfc1bc.zip |
encryption key length can now be lower than 20, allowing >= 6
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 5bfbcab07..269ff5aa5 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -1258,7 +1258,7 @@ sub choose_encrypt_key { messages => N("Choose your filesystem encryption key"), callbacks => { complete => sub { - length $encrypt_key < 20 and $in->ask_warn('', N("This encryption key is too simple (must be at least %d characters long)", 20)), return 1,0; + length $encrypt_key < 6 and $in->ask_warn('', N("This encryption key is too simple (must be at least %d characters long)", 6)), return 1,0; $encrypt_key eq $encrypt_key2 or $in->ask_warn('', [ N("The encryption keys do not match"), N("Please try again") ]), return 1,1; return 0 } } }, [ |