All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Richard Zidlicky <rz@linux-m68k.org>
Cc: Max Vozeler <max@hinterhof.net>,
	linux-crypto@vger.kernel.org, linux-crypto@nl.linux.org,
	Jari Ruusu <jariruusu@users.sourceforge.net>,
	Alasdair G Kergon <agk@redhat.com>
Subject: Re: [PATCH 1/4] dm-crypt: clarify cipher vs. cipher mode
Date: Tue, 29 Dec 2009 12:38:26 +0100	[thread overview]
Message-ID: <4B39EA32.8010707@redhat.com> (raw)
In-Reply-To: <20091229092158.GA10017@linux-m68k.org>

On 12/29/2009 10:21 AM, Richard Zidlicky wrote:
> On Mon, Dec 28, 2009 at 08:37:43PM +0100, Milan Broz wrote:

> While we are at it - are you aware of any documentation of the "mainline" dm-crypt
> implementation? I have not seen anything, much less any explanation if it has improved 
> any since the ancient watermarking attack.
> 
> http://luks.endorphin.org/ is down, http://www.saout.de/misc/dm-crypt/ has plenty of
> information but I am not sure if it is up to date.. well if it is than it seems default
> dm-crypt still has more or less snake oil quality encryption.

ok, I should probably add some info, probably to new cryptsetup pages
http://code.google.com/p/cryptsetup/ and kernel to documentation, if needed.

 - the watermarking attack is not possible with introducing ESSIV long time ago
 (essiv default for LUKS formatted devices by cryptsetup - for several years)
 - I prefer using XTS mode, but user can use whatever is supported in kernel

 - AFAIK there is no known problem with dm-crypt (stability or security) when properly
 configured (you can of course use old vulnerable IV mode if you want).
 (And many distributions and uses dm-crypt/LUKS based full disk encryption currently,
  also Truecrypt uses dm-crypt as backend on Linux for new containers.)

 (If you think about coldboot or something similar - dm-crypt provides functions to
 temporarily freeze device and empty keys and I also added support for this to cryptsetup.
 So the controlled suspend/resume to RAM can ask for LUKS passphrase and unlock master key,
 preventing active encryption keys in RAM.
 Of course this do not apply to if the shutdown is not controlled, but that's common
 problem of all these implementations.)

If you know about some problem in dm-crypt, just let me know (or write to dm-crypt mailing list).

Milan
--
mbroz@redhat.com

  reply	other threads:[~2009-12-29 11:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-28 18:59 [RFC PATCH] crypto: loop-AES support Max Vozeler
2009-12-28 18:59 ` [PATCH 1/4] dm-crypt: clarify cipher vs. cipher mode Max Vozeler
2009-12-28 19:37   ` Milan Broz
2009-12-29  1:46     ` Max Vozeler
2010-01-04 15:25       ` Max Vozeler
2010-01-11 21:28         ` Richard Zidlicky
2010-01-13 17:27           ` Max Vozeler
2010-01-17 22:02             ` Richard Zidlicky
2010-01-18 17:08               ` Max Vozeler
2010-01-18 19:51                 ` Richard Zidlicky
2009-12-29  9:21     ` Richard Zidlicky
2009-12-29 11:38       ` Milan Broz [this message]
2009-12-29 17:37         ` Richard Zidlicky
2009-12-28 18:59 ` [PATCH 2/4] dm-crypt: multi tfm mode Max Vozeler
2009-12-28 18:59 ` [PATCH 3/4] crypto: md5 - Add export support Max Vozeler
2010-01-13  9:52   ` Herbert Xu
2010-01-13 17:37     ` Max Vozeler
2010-01-17 10:55       ` Herbert Xu
2009-12-28 18:59 ` [PATCH 4/4] crypto: lmk2/lmk3 cipher block modes Max Vozeler
2009-12-29  1:18   ` Richard Zidlicky
2009-12-29  1:56     ` Max Vozeler
2010-01-17 11:03   ` Herbert Xu
2010-01-18 16:52     ` Max Vozeler
2010-01-19  8:00       ` Herbert Xu
2010-02-01 10:32         ` Max Vozeler
2010-02-01 10:44           ` Herbert Xu

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=4B39EA32.8010707@redhat.com \
    --to=mbroz@redhat.com \
    --cc=agk@redhat.com \
    --cc=jariruusu@users.sourceforge.net \
    --cc=linux-crypto@nl.linux.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=max@hinterhof.net \
    --cc=rz@linux-m68k.org \
    /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.