Bug#355156: [calvin@debian.org: [Pkg-cryptsetup-devel] Bug#355156: cryptsetup: luksOpen does not work with readonly media anymore]

Clemens Fruhwirth clemens at endorphin.org
Sun Mar 5 18:04:45 UTC 2006


Jonas Meurer <jonas at freesources.org> wrote:

> after upgrading cryptsetup I was not able to use luksOpen on a
> DVD image file. Downgrading to 2:1.0.1-16 makes it work again,
> so something in the upgrade broke things.
> Here is the command line log with the old 1.0.1 version:
> $ cryptsetup --readonly luksOpen /dev/hdc _image
> Enter LUKS passphrase: 
> key slot 0 unlocked.
> $
> .. and the new version:
> $ cryptsetup --readonly luksOpen /dev/hdc _image
> Enter LUKS passphrase: 
> Aufruf fehlgeschlagen: No key available with this passphrase.

Do you have the image still on disk? Can you try to open it via the
loopback driver? 

losetup /dev/loopX image
cryptsetup --readonly /dev/loopX _image

Does this fail?

I don't see any failing writes in the strace. I don't think you have a
borken image as 1.0.1 seems to succeed.

-- 
Fruhwirth Clemens - http://clemens.endorphin.org 
for robots: sp4mtrap at endorphin.org




More information about the Pkg-cryptsetup-devel mailing list