[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE=gft6LaNZLTK72n_Z7an0VA1FxxFFgGk6rmUF_Jvf=JinG3A@mail.gmail.com>
Date: Thu, 4 Aug 2022 14:55:35 -0700
From: Evan Green <evgreen@...omium.org>
To: Jarkko Sakkinen <jarkko@...nel.org>
Cc: Matthew Garrett <mgarrett@...ora.tech>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Pavel Machek <pavel@....cz>,
LKML <linux-kernel@...r.kernel.org>,
Daniil Lunev <dlunev@...gle.com>, zohar@...ux.ibm.com,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
linux-integrity@...r.kernel.org, Jonathan Corbet <corbet@....net>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Gwendal Grignou <gwendal@...omium.org>,
Linux PM <linux-pm@...r.kernel.org>,
David Howells <dhowells@...hat.com>,
Hao Wu <hao.wu@...rik.com>, James Morris <jmorris@...ei.org>,
Jason Gunthorpe <jgg@...pe.ca>,
Len Brown <len.brown@...el.com>,
Peter Huewe <peterhuewe@....de>,
"Serge E. Hallyn" <serge@...lyn.com>, axelj <axelj@...s.com>,
keyrings@...r.kernel.org,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH 00/10] Encrypted Hibernation
On Wed, Aug 3, 2022 at 5:59 PM Jarkko Sakkinen <jarkko@...nel.org> wrote:
>
> On Tue, Aug 02, 2022 at 11:36:43AM -0700, Matthew Garrett wrote:
> > On Mon, Aug 1, 2022 at 3:33 PM Evan Green <evgreen@...omium.org> wrote:
> >
> > > One more bump here, as we'd really love to get encrypted hibernation
> > > to a form upstream would accept if at all possible. We were
> > > considering landing this in our Chrome OS tree for now, then coming
> > > back in a couple months with a "we've been baking this ourselves and
> > > it's going so great, oooh yeah". I'm not sure if upstream would find
> > > that compelling or not. But in any case, some guidance towards making
> > > this more upstream friendly would be well appreciated.
> > >
> > > One thing I realized in attempting to pick this myself is that the
> > > trusted key blob format has moved to ASN.1. So I should really move
> > > the creation ticket to the new ASN.1 format (if I can figure out the
> > > right OID for that piece), which would allow me to drop a lot of the
> > > ugly stuff in tpm2_unpack_blob(). Maybe if I get no other comments
> > > I'll work on that and resend.
> >
> > I've been revamping my TPM-backed verified hibernation implementation
> > based on this work, so I'd definitely be enthusiastic about it being
> > mergeable.
>
> BTW, is it tested with QEMU + swtpm?
For myself, so far I've been testing on a recent Intel Chromebook. The
H1 (aka cr50) security chip on modern chromebooks implements a subset
[1] of TPM2.0, and is exposed through the standard TPM APIs in the
kernel. I can make sure to test on Qemu as well, is there anything in
particular I should look out for?
-Evan
[1] https://chromium-review.googlesource.com/c/chromiumos/third_party/tpm2/+/3373466
>
> BR, Jarkko
Powered by blists - more mailing lists