Return-Path: Received: from srck.net (srck.net [89.185.227.42]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 28 Aug 2009 11:46:17 +0200 (CEST) Received: from nyx.b42.cz (r2an99.net.upc.cz [62.245.103.99]) by srck.net (Postfix) with ESMTP id A96F3BFF17 for ; Fri, 28 Aug 2009 11:46:17 +0200 (CEST) Date: Fri, 28 Aug 2009 11:46:17 +0200 From: Martin Milata Message-ID: <20090828094616.GC31760@nyx.b42.cz> References: <20090827224617.GA31760@nyx.b42.cz> <20090828052136.GA8035@tansi.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jy6Sn24JjFx/iggw" Content-Disposition: inline In-Reply-To: <20090828052136.GA8035@tansi.org> Subject: Re: [dm-crypt] cryptsetup support for dm-crypt suspend/resume List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --jy6Sn24JjFx/iggw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 28, 2009 at 07:21:36 +0200, Arno Wagner wrote: > Makes sense and increases security. I am wondering however whether > this could just be scripted by > 1) Store all parameters besides key in some file > 2) Completely remove and umount the device before suspend. > 3) An resume: Use a wraper around dm-crypt that gets the parameters=20 > from the file, asks for the password and initializes and mounts=20 > the device just as if it was newly created. If I understand it correctly, this would require unmounting the partition (and thus killing all programs using it), which I would like to avoid. And cached contents of the filesystem would probably remain in RAM anyway. --jy6Sn24JjFx/iggw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqXp2gACgkQZAWbWcbCTWRmogCfdIwCXCWsZMJL93AscgLaqTWT ERoAnj1GEdFXKfSKyHM+cIYK7cI6VlYW =g0dt -----END PGP SIGNATURE----- --jy6Sn24JjFx/iggw--