summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-28 22:42:58 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-28 22:42:58 +0000
commitb06bc5e4f3daee93e4d9d12babe9e12adff8c1c8 (patch)
tree05ebd214e30541bcae4de0f97bbeb01a155054de /perl-install/fs
parenta28eb114ad96a8db127c54272f30df12bb3b87ed (diff)
downloaddrakx-b06bc5e4f3daee93e4d9d12babe9e12adff8c1c8.tar
drakx-b06bc5e4f3daee93e4d9d12babe9e12adff8c1c8.tar.gz
drakx-b06bc5e4f3daee93e4d9d12babe9e12adff8c1c8.tar.bz2
drakx-b06bc5e4f3daee93e4d9d12babe9e12adff8c1c8.tar.xz
drakx-b06bc5e4f3daee93e4d9d12babe9e12adff8c1c8.zip
(format_part) use better cipher for encrypted fses (Dave Hodgins, mga#3092)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/dmcrypt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm
index 3d6f790d4..93edaa4dc 100644
--- a/perl-install/fs/dmcrypt.pm
+++ b/perl-install/fs/dmcrypt.pm
@@ -65,7 +65,7 @@ sub format_part {
my $tmp_key_file = "/tmp/.dmcrypt_key-$$";
common::with_private_tmp_file($tmp_key_file, $part->{dmcrypt_key}, sub {
- _run_or_die('luksFormat', '--batch-mode', devices::make($part->{device}), $_[0]);
+ _run_or_die('--cipher=aes-xts-benbi', '--key-size=512', 'luksFormat', '--batch-mode', devices::make($part->{device}), $_[0]);
});
fs::format::after_formatting($part, 1);
}