summaryrefslogtreecommitdiffstats
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
commit253d49b6bd2bcc692cacfa2a9b04df36ba900180 (patch)
tree05ebd214e30541bcae4de0f97bbeb01a155054de
parent021b876eba7eeb2b06014c9167f42bab626ec3c4 (diff)
downloaddrakx-backup-do-not-use-253d49b6bd2bcc692cacfa2a9b04df36ba900180.tar
drakx-backup-do-not-use-253d49b6bd2bcc692cacfa2a9b04df36ba900180.tar.gz
drakx-backup-do-not-use-253d49b6bd2bcc692cacfa2a9b04df36ba900180.tar.bz2
drakx-backup-do-not-use-253d49b6bd2bcc692cacfa2a9b04df36ba900180.tar.xz
drakx-backup-do-not-use-253d49b6bd2bcc692cacfa2a9b04df36ba900180.zip
(format_part) use better cipher for encrypted fses (Dave Hodgins, mga#3092)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/fs/dmcrypt.pm2
-rw-r--r--perl-install/install/NEWS3
3 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 19e4a167e..346f7ff06 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,6 @@
- make drakclock systemd compatible
+- diskdrake:
+ o use better cipher for encrypted fses (mga#3092)
Version 13.79 - 25 January 2012
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);
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 776b2252a..0b2f91162 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o use better cipher for encrypted fses (mga#3092)
+
Version 13.80 - 26 January 2012
- kill old gtk+ warnings that confuse people