[dm-crypt] luksAddKey successful but not working

Milan Broz gmazyland at gmail.com
Wed May 22 17:28:27 CEST 2013


On 05/22/2013 04:33 PM, Arno Wagner wrote:
> A look into the man-page of cryptsetup shows that luksAddKey does
> not write the key-file, but reads it. I am surprised though that
> cryptsetup does not complain that the file is missing. With my
> system (cryptsetup 1.6.0) it does:
> 
> # cryptsetup luksAddKey /dev/loop0 keyfile
> Enter any passphrase:
> Failed to open key file.    <---
> #

RHEL5 has very old cryptsetup (based on 1.0.3 version) and it is impossible
to rebase there to a new version.
You can create a bug requesting to fix this issue in RH bugzilla though...

Milan


More information about the dm-crypt mailing list