summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-03-07 23:42:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-03-07 23:42:27 +0000
commit0714393bd156ccdaf87a3beda6d973a94a93ec7c (patch)
treef8b30d226055a940c7a3c17c912fb2596700cb15 /perl-install/install_steps_interactive.pm
parent674b2b3ee48ed7f45497106251900e29d1c0febc (diff)
downloaddrakx-0714393bd156ccdaf87a3beda6d973a94a93ec7c.tar
drakx-0714393bd156ccdaf87a3beda6d973a94a93ec7c.tar.gz
drakx-0714393bd156ccdaf87a3beda6d973a94a93ec7c.tar.bz2
drakx-0714393bd156ccdaf87a3beda6d973a94a93ec7c.tar.xz
drakx-0714393bd156ccdaf87a3beda6d973a94a93ec7c.zip
mask encryption key (using stars)
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 095329b74..e9e7a2578 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -156,7 +156,9 @@ sub selectInstallClass {
foreach (grep { $_->{mntpoint} } @{$o->{fstab}}) {
my ($options, $unknown) = fs::mount_options_unpack($_);
$options->{encrypted} or next;
- $_->{encrypt_key} = $o->ask_from_entry('', N("Encryption key for %s", $_->{mntpoint}));
+ $o->ask_from_({ focus_first => 1 },
+ [ { label => N("Encryption key for %s", $_->{mntpoint}),
+ hidden => 1, val => \$_->{encrypt_key} } ]);
}
$o->{isUpgrade} = 1;
}