DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] is backing up the master key enough for data recovery if header is destroyed?
@ 2012-06-21 14:58 Lara Michaels
  2012-06-21 15:28 ` Milan Broz
  0 siblings, 1 reply; 2+ messages in thread
From: Lara Michaels @ 2012-06-21 14:58 UTC (permalink / raw)
  To: dm-crypt@saout.de

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

From reading the FAQ, my understanding is that in the event the header getting destroyed I need ONE of the following for data recovery to be feasible:


- header backup + one passphrase
- the master key

By "master key" I am referring to the 256 bits printed out in hexadecimal by "cryptsetup luksDump --dump-master-key [device]".

Is it correct that these 256 bits are by themselves sufficient to unlock the volume? Or would I still need the salt to be intact in the header? (My understanding from reading the FAQ is that the salt is not required if I have the master key.)

thank you 

~l

[-- Attachment #2: Type: text/html, Size: 875 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dm-crypt] is backing up the master key enough for data recovery if header is destroyed?
  2012-06-21 14:58 [dm-crypt] is backing up the master key enough for data recovery if header is destroyed? Lara Michaels
@ 2012-06-21 15:28 ` Milan Broz
  0 siblings, 0 replies; 2+ messages in thread
From: Milan Broz @ 2012-06-21 15:28 UTC (permalink / raw)
  To: Lara Michaels; +Cc: dm-crypt@saout.de

On 06/21/2012 04:58 PM, Lara Michaels wrote:
> From reading the FAQ, my understanding is that in the event the
> header getting destroyed I need ONE of the following for data
> recovery to be feasible:
> 
> - header backup + one passphrase - the master key
> 
> By "master key" I am referring to the 256 bits printed out in
> hexadecimal by "cryptsetup luksDump --dump-master-key [device]".
> 
> Is it correct that these 256 bits are by themselves sufficient to
> unlock the volume? Or would I still need the salt to be intact in the
> header? (My understanding from reading the FAQ is that the salt is
> not required if I have the master key.)

Yes. You need to know cipher name, mode and IV as well, but these
are easily to be brute-forced if lost.

Salt is not needed if you know volume (master) key directly.

Milan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-21 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-21 14:58 [dm-crypt] is backing up the master key enough for data recovery if header is destroyed? Lara Michaels
2012-06-21 15:28 ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox