Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

David Härdeman david at hardeman.nu
Fri Nov 10 12:10:49 CET 2006


On Fri, November 10, 2006 10:34, martin f krafft said:
> As of late, cryptsetup figures out what swap device I need to resume
> from disk and tells initramfs to also initialise that device even
> before root is brought up.
>
> The problem is quite simply that some of us have previously
> configured the swap device with a random passphrase, or a keyfile
> stored somewhere in /etc. Now, all of a sudden, we're expected to
> enter the key during initramfs? I am sorry, I cannot remember 2048
> bytes of key material, nor would I remember what random string the
> kernel used to set up the swap device before the latest cryptsetup
> upgrade.

You're using the "derive-passphrase-from-another-crypto-mapping" thing
that I mentioned earlier in private email correspondence, right?

(If so, I have a really simple solution which uses a keyscript instead and
which will work without any further changes)

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list