[dm-crypt] Is partial LUKS recovery possible?
miklos.bagi at mbjr.hu
Thu Dec 2 13:15:52 CET 2010
Apologies for replying my own post.
I believe I found the not so happy answer for me in Dr. Wagner's monthly
Is it possible to provide salt manually?
Implementing a simple logic may allow re-generating the original header
in case something bad happens, but I admit it makes sense keeping
backups of lhdrs somewhere safe.
On 12/02/2010 11:28 AM, Miklos Bagi wrote:
> Hi all,
> I'm hoping to get directions with a 'small' recovery task.
> Given a partition that's known to be a broken LUKS one, lhdr is missing
> (incl magic, chipher, hash, uuid, etc.), however there are some facts known:
> - chipher: aes-cbc-essiv:sha256
> - keysize: 256 bits
> - offset: 2056 sectors
> - most importantly: we have the master key file available.
> I have the suspicion that the first approx 10% of the partition have
> been overwritten with random data.
> What are the chances of recovering any data in the given scenario?
> Thanks in advance,
More information about the dm-crypt