mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Jellinghaus <aj@dungeon.inka.de>
To: linux-kernel@vger.kernel.org
Subject: Re: Announcing crypto suspend
Date: Mon, 20 Mar 2006 15:13:33 +0100	[thread overview]
Message-ID: <20060320141244.80A55127677@dungeon.inka.de> (raw)
In-Reply-To: <20060320080439.GA4653@elf.ucw.cz>

Pavel Machek wrote:
> Thanks to Rafael's great work, we now have working encrypted suspend
> and resume. You'll need recent -mm kernel, and code from
> suspend.sf.net. Due to its use of RSA, you'll only need to enter
> password during resume.

so, how does it work? what is new? how is it different from alternative?
with suspend2 and dm-crypt I have encrypted supend too:
 - one boot partition (plain), one root partition
 - root partition is on dm-crypt. initramfs has tools to set it up.
 - swap file on root parition
 - suspend to that swap file.
 - initramfs could first ask for the passphrase to an rsa key,
   the key decrypts a binary file, the decrypted binary is the
   dm-crypt key.
 - resume could be triggered once the new root was mounted and
   in place. 
 - usb access etc. should work as well in the initramfs, so I
   could move the rsa key to my smart card as well.

haveing something similar in mainline would be a huge help.

Andreas


  reply	other threads:[~2006-03-20 14:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20  8:04 Pavel Machek
2006-03-20 14:13 ` Andreas Jellinghaus [this message]
2006-03-20 18:35 ` Peter Wainwright
2006-03-20 18:44   ` Pavel Machek
2006-03-20 19:26     ` Peter Wainwright
2006-03-20 18:54   ` Rafael J. Wysocki
2006-03-20 19:11     ` Alon Bar-Lev
2006-03-20 20:26       ` Rafael J. Wysocki
2006-03-20 20:35         ` Pavel Machek
2006-03-20 21:22           ` Rafael J. Wysocki
2006-03-20 21:34             ` Pavel Machek
2006-03-20 22:05               ` Alon Bar-Lev
2006-03-20 22:18                 ` Pavel Machek
2006-03-20 22:24                 ` Andreas Happe
2006-03-21  9:45     ` Andreas Jellinghaus
2006-03-21 20:50       ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060320141244.80A55127677@dungeon.inka.de \
    --to=aj@dungeon.inka.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®