All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] different default key sizes for CREATE and	LUKSFORMAT
Date: Sat, 21 Nov 2009 18:26:27 +0100	[thread overview]
Message-ID: <20091121172627.GA3737@tansi.org> (raw)
In-Reply-To: <4B07DFA5.6030303@gmx.net>

On Sat, Nov 21, 2009 at 01:40:05PM +0100, Stefan Xenon wrote:
> > Good idea, I like it. However use the same time as for the keyslots.
> > There is really no reason to have one use less iterations than
> > the other. 
> > 
> > The two iterations are linked security-wise, so treating them the same
> > makes sense.
> > 
> > Incidentially, it should only add the time once, there is only
> > one Master Key. 
> 
> Sounds good for me as well. While I don't know the details I am
> wondering if the result may be influenced by other processes executed at
> the same time. This means, when heavy processes are running in the
> background (e.g. compilation), the iteration calculation may become
> slower and thus the amount of iterations smaller as it would be
> normally. Please note that I don't know the implementation details but
> just want to point out this theoretical problem.

Sopuld not be an issue. If done right, this is CPU miliseconds,
not elapsed miliseconds. An being off by 50% does not matter
a lot in this application anyways.
 
> Also the possibility to recalculate the iterations might be useful,
> after an upgrade of the computer (but with remaining storage device).
> Especially external hard drives might be in use for more years compared
> to the CPU.

That is done on reformat, which also is really the only simple
way to change such a setting. On the other hand, the used values
are already intended for "many years", so I think this is not
a concern.

Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

  reply	other threads:[~2009-11-21 17:26 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17 22:45 [dm-crypt] different default key sizes for CREATE and LUKSFORMAT Stefan Xenon
2009-11-18  5:45 ` Arno Wagner
2009-11-18 10:01   ` Stefan Xenon
2009-11-18 10:25     ` Arno Wagner
2009-11-18 11:20       ` Milan Broz
2009-11-18 13:26         ` Milan Broz
2009-11-18 15:17           ` Heinz Diehl
2009-11-19  7:41           ` Arno Wagner
2009-11-19  9:21             ` Heinz Diehl
2009-11-19 12:24               ` Arno Wagner
2009-11-19 12:28                 ` Arno Wagner
2009-11-19 13:00                 ` Heinz Diehl
2009-11-20 12:14                   ` Milan Broz
2009-11-20 15:43                     ` Heinz Diehl
2009-11-21 10:47                     ` Arno Wagner
2009-11-21 12:40                       ` Stefan Xenon
2009-11-21 17:26                         ` Arno Wagner [this message]
2009-11-19 20:00                 ` Stefan Xenon
2009-11-20 12:22                   ` Milan Broz
2009-11-23 13:45             ` Roscoe
2009-11-23 14:29               ` Milan Broz
2009-11-23 15:46                 ` Arno Wagner
2009-11-23 16:05                 ` Heinz Diehl
2009-11-19  7:28         ` Arno Wagner
2009-11-20 12:43         ` Jonas Meurer

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=20091121172627.GA3737@tansi.org \
    --to=arno@wagner.name \
    --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.