From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 3/3][RFC] tools: create power/crypto utility Date: Tue, 26 Jun 2018 13:12:45 +0200 Message-ID: <20180626111245.GA25323@amd> References: <78af30838d0bac69bdd6e138b659bcbb8464fd13.1529486870.git.yu.c.chen@intel.com> <20180621090142.GB21807@amd> <20180621190401.GA14623@amd> <20180625115405.GB17001@amd> <20180625221615.GA15249@amd> <1530009024.20417.5.camel@suse.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Return-path: Content-Disposition: inline In-Reply-To: <1530009024.20417.5.camel@suse.com> Sender: linux-kernel-owner@vger.kernel.org To: Oliver Neukum Cc: "Rafael J. Wysocki" , Chen Yu , Ted Ts'o , Len Brown , "Lee, Chun-Yi" , Borislav Petkov , Linux PM , Linux Kernel Mailing List , "Rafael J . Wysocki" , Stephan Mueller , Eric Biggers , Denis Kenzior List-Id: linux-pm@vger.kernel.org --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2018-06-26 12:30:24, Oliver Neukum wrote: > On Di, 2018-06-26 at 00:16 +0200, Pavel Machek wrote: > > Interested parties can easily fix up the userland parts of uswsusp, > >=20 > > change crypto, add or remove dependencies, move it to other hosting, > >=20 > > or drop it and start again. Kernel interface is flexible enough. If > >=20 > > Chen wants to move the s2disk encryption into kernel, it is his task > >=20 > > to explain why that is neccessary. >=20 > We would have to assume that the kernel is on a higher level of trust. > To a certain extent it is.You cannot drop support for /dev/kmem conceptio= nally > if there is an ioctl to snapshot it. If I understood the description, proposed patches give userspace encryption key + image encrypted with that key. So... that's not really an improvement. Anyway, I guess it makes sense to wait for v2 of patches with better description of security goals of this. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlsyH60ACgkQMOfwapXb+vKehgCffChO2ruu+N5DchYHAWeASRY2 SdwAnRV3WMx9+4VZYNEGdcksH56NWYmO =7OFp -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--