[dm-crypt] How to recover partially overwritten LUKS volume?

Heinz Diehl htd at fancy-poultry.org
Sun Aug 26 16:42:49 CEST 2012

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.

More information about the dm-crypt mailing list