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

martin f krafft madduck at debian.org
Fri Nov 10 13:43:05 CET 2006


also sprach David Härdeman <david at hardeman.nu> [2006.11.10.1331 +0100]:
> The hook should warn about these situations though and then skip
> adding the resume partition details to the initramfs image...I'll
> fix that

That's what I meant. Thanks for reading through my blather.

> On a related note, if you do want to be able to resume from swap
> without needing extra passphrases, the solution that I spoke with
> Erich about (which I have working locally) is to first setup the
> root partition (using e.g. LUKS) and then derive a key for the
> swap partition using a hash of the root partition key. This would
> give the swap partition a static key which does not need to be
> stored in the image, thus allowing (u)swsusp.

Okay, but why a hash? Why not just the same passphrase then?

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20061110/57e363d0/attachment.pgp


More information about the Pkg-cryptsetup-devel mailing list