[dm-crypt] No key available with this passphrase

Milan Broz gmazyland at gmail.com
Mon Jun 10 20:21:01 CEST 2013

On 06/10/2013 05:42 PM, Packets wrote:
> I also downloaded the cryptsetup tarball and use the keyslot_checker script. Here is the output.
> nelson at kazekage:~/Downloads/cryptsetup-1.6.1/misc/keyslot_checker$ sudo ./chk_luks_keyslots /dev/sdb1
> parameters (commandline and LUKS header):
>   sector size: 512
>   threshold:   0.900000
> ./chk_luks_keyslots: relocation error: ./chk_luks_keyslots: symbol crypt_keyslot_area, version CRYPTSETUP_1.0 not defined in file libcryptsetup.so.4 with link time reference
> nelson at kazekage:~/Downloads/cryptsetup-1.6.1/misc/keyslot_checker$
> Anyone familiar with the error?

It should use local compiled library (system libcryptsetup seems to be too old).

To properly run locally compiled keyslot checker tool try

cd ~/Downloads/cryptsetup-1.6.1/misc/keyslot_checker
sudo LD_LIBRARY_PATH="../../lib/.libs;$LD_LIBRARY_PATH" ./chk_luks_keyslots /dev/sdb1


More information about the dm-crypt mailing list