DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Heinz Diehl <htd@fancy-poultry.org>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] How to recover partially overwritten LUKS volume?
Date: Sun, 26 Aug 2012 16:42:49 +0200	[thread overview]
Message-ID: <20120826144249.GA2626@fancy-poultry.org> (raw)
In-Reply-To: <CAKUckQK5SoaOMZJ4Ht104UUbcxNJUNJ44YR1uGfN5J5vVC6JeA@mail.gmail.com>

On 26.08.2012, András Korn wrote: 

> Could it be that cryptsetup tries to use keyslot #1 based on the
> passphrase I enter, realizes that it's corrupt and throws an error
> without ever trying keyslot #2? But apparently no, because specifying
> an explicit --key-slot also fails.

AS far as I know, the passphrase is probed against all keyslots, and
the one which matches is taken.

  reply	other threads:[~2012-08-26 14:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25  6:14 [dm-crypt] How to recover partially overwritten LUKS volume? András Korn
2012-08-25 11:20 ` Arno Wagner
2012-08-25 15:07   ` András Korn
2012-08-25 18:59     ` Heinz Diehl
2012-08-25 20:21     ` Arno Wagner
2012-08-26 14:33       ` András Korn
2012-08-26 14:42         ` Heinz Diehl [this message]
2012-08-26 15:21         ` Arno Wagner
2012-08-26 15:45           ` András Korn
2012-08-26 20:51             ` András Korn

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=20120826144249.GA2626@fancy-poultry.org \
    --to=htd@fancy-poultry.org \
    --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