From: Eric Bauman <baumane@livejournal.dk>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS and LVM
Date: Sat, 19 Feb 2011 04:53:20 +1100 [thread overview]
Message-ID: <ijmbmj$jv5$1@dough.gmane.org> (raw)
In-Reply-To: <20110218173302.GA9234@tansi.org>
Thanks for the reply!
With regards to the multiple containers, the configuration I'd run
across was one container per partition, with the key for each stored in
/. When the system was booted, the passphrase was entered, and each
partition's container opened and mounted automatically.
On 19/02/2011, Arno Wagner wrote:
>> I typically randomise my block device before creating a LUKS container
>> on it. Option 2 would seem to reduce the effectiveness of this because
>> LVM will give clues to where real data might be.
>
> I don't follow. That encrypted data is present is obvious from
> the LUKS header. What is in the container(s) is as opaque in
> (1) as it is in (2), given that cryptographically strong
> randomness is used for the overwrite (I use plain dm-crypt
> with a random password and overwrite with conventional,
> mt19997-generated randomness).
I meant not that the data protection of one was better than the other,
but rather in (2) LVM will store in plain-text both the start and end
offset of the partition. So perhaps an attacker would have a better idea
of where data is. Comparing knowing the partition starts at X and ends
at Y, there is probably some encrypted data in there somewhere, versus a
giant container with no indication of structure (could be encrypted data
or could be random garbage).
Thanks,
Eric
next prev parent reply other threads:[~2011-02-18 17:53 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 [this message]
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
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='ijmbmj$jv5$1@dough.gmane.org' \
--to=baumane@livejournal.dk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.