From 9dd87865bce390804b7902abf832e8d70ba84e35 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Tue, 22 Mar 2011 12:22:32 +0000 Subject: [PATCH] Lock memory also in luksDump command. git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@478 36d66b0a-2a48-0410-832c-cd162a569da5 --- ChangeLog | 1 + TODO | 1 - src/cryptsetup.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba36ef4e..099f340e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Introduce maximum default keyfile size, add configure option. * Require the whole key read from keyfile in create command (broken in 1.2.0). * Fix offset option for loopaesOpen. + * Lock memory also in luksDump command. 2011-04-14 Milan Broz * Version 1.3.0-rc1. diff --git a/TODO b/TODO index b4133540..5f52bc56 100644 --- a/TODO +++ b/TODO @@ -3,4 +3,3 @@ Version 1.4.0: - Support separation of metadata device - Wipe device flag - Add Natty crypto backend -- Limit maximum keyfile size when piping key in stdout diff --git a/src/cryptsetup.c b/src/cryptsetup.c index d37e74a2..221b561b 100644 --- a/src/cryptsetup.c +++ b/src/cryptsetup.c @@ -105,7 +105,7 @@ static struct action_type { { "luksUUID", action_luksUUID, 0, 1, 0, N_(""), N_("print UUID of LUKS device") }, { "isLuks", action_isLuks, 0, 1, 0, N_(""), N_("tests for LUKS partition header") }, { "luksClose", action_remove, 0, 1, 1, N_(""), N_("remove LUKS mapping") }, - { "luksDump", action_luksDump, 0, 1, 0, N_(""), N_("dump LUKS partition information") }, + { "luksDump", action_luksDump, 0, 1, 1, N_(""), N_("dump LUKS partition information") }, { "luksSuspend",action_luksSuspend, 0, 1, 1, N_(""), N_("Suspend LUKS device and wipe key (all IOs are frozen).") }, { "luksResume", action_luksResume, 0, 1, 1, N_(""), N_("Resume suspended LUKS device.") }, { "luksHeaderBackup",action_luksBackup, 0, 1, 1, N_(""), N_("Backup LUKS device header and keyslots") },