From: Robert Nichols <rnicholsNOSPAM@comcast.net>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] How to derive master key in plain dm-crypt mode
Date: Wed, 10 Dec 2014 16:34:59 -0600 [thread overview]
Message-ID: <m6ahqk$pu3$1@ger.gmane.org> (raw)
In-Reply-To: <CAKXMRqhLuWAVaC9YxYziTKvZxRB3XmqXdhDbdYnDrQT-XJL+YA@mail.gmail.com>
On 12/10/2014 05:48 AM, Jian-Ming Zheng wrote:
> In plain dm-crypt mode, there is no encrypted master key on the device
> (i.e., no metadata header). Is a master key derived from the user
> passphrase and used to en-/decrypt the device? If yes, how to derive
> the master key from the passphrase in plain mode?
The /cryptsetup/ manpage indicates that the key is just the hash of the
passphrase using the specified hash function and cropped to the required
key length. "cryptsetup --help" will show you the default hash function.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
next prev parent reply other threads:[~2014-12-10 22:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 11:48 [dm-crypt] How to derive master key in plain dm-crypt mode Jian-Ming Zheng
2014-12-10 15:56 ` Ralf Ramsauer
2014-12-10 16:01 ` Ralf Ramsauer
2014-12-11 2:16 ` Jian-Ming Zheng
2014-12-10 22:34 ` Robert Nichols [this message]
2014-12-11 1:37 ` Arno Wagner
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='m6ahqk$pu3$1@ger.gmane.org' \
--to=rnicholsnospam@comcast.net \
--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