All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kjörling" <michael@kjorling.se>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS encrypted hard disk crashed. Recovery question
Date: Fri, 19 Aug 2016 09:44:12 +0000	[thread overview]
Message-ID: <20160819094412.GB5363@yeono.kjorling.se> (raw)
In-Reply-To: <874579112.14972576.1471597033535.JavaMail.yahoo@mail.yahoo.com>

On 19 Aug 2016 08:57 +0000, from saibalka@yahoo.co.in (Saibal Kumar Adhya):
> Unfortunately, the hard disk crashed sometime back. It is a hardware
> fault. There was no backup.
> A data recovery agency managed to recover 50% of the sectors.
> However it is unable to recover any data as the original disk was
> encrypted.
> So now trying to figure out how to de-crypt and recover some of the
> data?

Unfortunately, if the key slots are lost or damaged beyond repair, and
you have no backup, then I am fairly certain that you are out of luck.

I assume that when you say that there was no backup, you also mean
that you do not have a LUKS header copy or master key data for the
container.

Such a situation is similar to having overwritten the key slot area of
the disk, which is a good way to quickly decomission a LUKS-encrypted
disk because it renders all other data non-recoverable (the data
required to gain access to the payload data no longer exists).

If you are able to somehow gain access to the key slots in the LUKS
header, it should be possible to decrypt the (stored) payload data, to
the extent that the data recovery agency was able to recover the data.
What they were not able to recover will decrypt to nonsense.

-- 
Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)

  reply	other threads:[~2016-08-19  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <874579112.14972576.1471597033535.JavaMail.yahoo.ref@mail.yahoo.com>
2016-08-19  8:57 ` [dm-crypt] LUKS encrypted hard disk crashed. Recovery question Saibal Kumar Adhya
2016-08-19  9:44   ` Michael Kjörling [this message]
2016-08-19 11:45   ` Saibal Kumar Adhya
2016-08-19 11:58     ` 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=20160819094412.GB5363@yeono.kjorling.se \
    --to=michael@kjorling.se \
    --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.