DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS and LVM
Date: Sat, 19 Feb 2011 18:10:08 +0100	[thread overview]
Message-ID: <4D5FF970.3090500@redhat.com> (raw)
In-Reply-To: <4D5FF3CC.6010804@gmail.com>

On 02/19/2011 05:46 PM, Nicolas Bock wrote:
> Why use random data to overwrite? Shouldn't /dev/zero be enough since
> the crypto should produce good randomness on disk?

Then you can distinguish between used blocks ("random noise") and
unused blocks (remains zeroed).

So filling with zero guarantees that old data are wiped, but also
leaks info which blocks were overwritten later.


Question: Is it good idea to add "wipe" option to cryptsetup luksFormat?

So it optionally can wipe all the space with random data?
(probably using some fast RNG provided by crypto backend or by
encryption zero data with the same algorithm as in luksFormat
but using one-time random key)

If so, I'll add this to my todo list.

Milan

  reply	other threads:[~2011-02-19 17:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-18 16:39 [dm-crypt] LUKS and LVM Eric Bauman
2011-02-18 17:33 ` Arno Wagner
2011-02-18 17:53   ` Eric Bauman
2011-02-18 19:57     ` Milan Broz
2011-02-18 20:07     ` Arno Wagner
2011-02-19 14:01       ` Eric Bauman
2011-02-19 14:52         ` Arno Wagner
2011-02-19 16:46       ` Nicolas Bock
2011-02-19 17:10         ` Milan Broz [this message]
2011-02-19 18:17           ` Jonas Meurer
2011-02-19 19:11             ` Nicolas Bock
2011-02-19 19:10           ` Arno Wagner
2011-02-19 19:08         ` Arno Wagner
2011-02-19 19:12           ` Nicolas Bock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5FF970.3090500@redhat.com \
    --to=mbroz@redhat.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox