From: Milan Broz <mbroz@redhat.com>
To: anirudh <anirudh.takkallapally@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] extracting master key from luks header, cryptsetup
Date: Wed, 04 May 2011 08:11:21 +0200 [thread overview]
Message-ID: <4DC0EE09.5060308@redhat.com> (raw)
In-Reply-To: <loom.20110503T223805-744@post.gmane.org>
On 05/03/2011 10:50 PM, anirudh wrote:
> Is there a way to extract the master key from luks header if we have the key or
> pass-phrase used to encrypt the volume using cryptsetup?
If you want to really backup master key (and not the whole header with known
keyslot with luksHeaderBackup) use "luksDump --dump-master-key" command
(available in cryptsetup 1.2.0, passphrase for some keyslot is required).
(Also you can activate device and save the mapping table with master key
with "dmsetup table --showkeys <active device>".)
Milan
prev parent reply other threads:[~2011-05-04 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-03 20:50 [dm-crypt] extracting master key from luks header, cryptsetup anirudh
2011-05-04 5:26 ` Rick Moritz
2011-05-04 6:11 ` Milan Broz [this message]
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=4DC0EE09.5060308@redhat.com \
--to=mbroz@redhat.com \
--cc=anirudh.takkallapally@gmail.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