summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-15 05:49:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-15 05:49:55 +0000
commit245dec56a7cf5562a0fc4ebaee81965427bfc1bc (patch)
tree78c93828227b0a5e7fc2c47e237bc876682b9671 /perl-install
parent053ca8e7f47d84d9946fc2aaa11bca7679286889 (diff)
downloaddrakx-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
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/diskdrake/interactive.pm2
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
} } }, [