Re: NAK new drivers without proper power management?

From: Rafael J. Wysocki
Date: Mon Feb 12 2007 - 15:55:25 EST


On Monday, 12 February 2007 06:19, Willy Tarreau wrote:
> On Mon, Feb 12, 2007 at 12:26:52AM +0000, Alan wrote:
> > > Unless I'm mistaken, I have to type the passphrase twice then :
> > > - once at suspend
> > > - once at resume
> > >
> > > which is once more per "boot" than what I'm doing on loop-aes.
> >
> > You don't need to type in a key at suspend time if you don't want to.
> > Think about gpg email - I can send you an encrypted email without typing
> > any keys, you need the right key however to read it.
>
> OK, so that means that it can generate a random secret which is crypted
> with your public key. That's very different from a crypted FS which has
> to keep the same secret key over time for obvious reasons, but it is
> smart to proceed this way.
>
> One less "myth" as Nigel would say call it ;-)

Yup. Our userland suspend tools available from http://suspend.sf.net are
capable of doing that in a more or less transparent way.

Greetings,
Rafael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/