also sprach David Härdeman <[EMAIL PROTECTED]> [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 <[EMAIL PROTECTED]>
: :'  :  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

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to