Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fgTjM-0002Cv-BW for mharc-grub-devel@gnu.org; Fri, 20 Jul 2018 07:37:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgTjJ-0002By-9X for grub-devel@gnu.org; Fri, 20 Jul 2018 07:37:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgTjG-0000x9-5G for grub-devel@gnu.org; Fri, 20 Jul 2018 07:37:49 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:43214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgTjF-0000vl-TL for grub-devel@gnu.org; Fri, 20 Jul 2018 07:37:46 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6KBXSSl186964; Fri, 20 Jul 2018 11:37:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=5wWUZuj4+xWCzF3QreSpcExwV+rqEMoUpfmZr0AWIHA=; b=TMjknL/jBPrbPVJkOuxZQc6AFiJsshXZrkZbyeVT8NYB6xVEqvjCbCO3HRkKqCH9G5zk XxS3XRT+ET2QWh+vpxzDMkfH0LL/yl4/G5mTTOv2r0eXNuAFupx4AzrUwR6uKlkxNvXg brCmh0AuuSWcOBYKdyruuY1Lw7AE11Cs09Vm58Uq5Ad2MUJAxThEBmks/l4KVX8aiesK TVmavDFo2RXQOh42/f8ptDvQed63SdEpc/csAslyVmxw0nb0i/SVOxvJt/a1MjrhNYC3 9pHqm1URGwxd2aB8lOYBmQCbjogtDSVku6wYuMXS3RCYczelHN83OHi6IVEqpwFvu1W3 gQ== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2130.oracle.com with ESMTP id 2k7a3teddy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Jul 2018 11:37:42 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6KBbf9J002255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Jul 2018 11:37:41 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6KBbbEh024541; Fri, 20 Jul 2018 11:37:37 GMT Received: from olila.local.net-space.pl (/10.175.169.209) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jul 2018 04:37:36 -0700 Date: Fri, 20 Jul 2018 13:37:31 +0200 From: Daniel Kiper To: "Daniel P. Smith" Cc: Matthew Garrett , Daniel Kiper , eric.snowberg@oracle.com, javierm@redhat.com, jonmccune@google.com, kanth.ghatraju@oracle.com, keng-yu.lin@hpe.com, konrad.wilk@oracle.com, leif.lindholm@linaro.org, phcoder@gmail.com, philip.b.tricca@intel.com, ross.philipson@oracle.com, grub-devel@gnu.org Subject: Re: TPM support within Grub2 Message-ID: <20180720113731.GI4837@olila.local.net-space.pl> References: <20180702163508.GC1111@router-fw-old.local.net-space.pl> <20180716120612.GA12081@router-fw-old.local.net-space.pl> <671c05e8-b260-82a0-b54f-6da84f3d403b@gmail.com> <20180717181032.GA8927@srcf.ucam.org> <20180718090317.GJ26572@olila.local.net-space.pl> <419c61a0-9581-b4b0-116e-dbdbfb393a8e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <419c61a0-9581-b4b0-116e-dbdbfb393a8e@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8959 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807200133 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.79 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2018 11:37:50 -0000 On Wed, Jul 18, 2018 at 04:30:34PM -0400, Daniel P. Smith wrote: > On 07/18/2018 05:03 AM, Daniel Kiper wrote: > > On Tue, Jul 17, 2018 at 07:10:32PM +0100, Matthew Garrett wrote: > >> On Mon, Jul 16, 2018 at 12:33:42PM -0400, Daniel P. Smith wrote: > >>> On 07/16/2018 08:06 AM, Daniel Kiper wrote: > >>>> In general I am not against reorganization you are mentioning above. > >>>> Though I think that then you should rearange Matthew code and repost > >>>> it. Of course if Matthew does not object. > >>> > >>> I can align Matthew's code or if he would like, he is more than welcome > >>> to collaborate on the solution. > >> > >> There's a lot of user demand for TPM2 support in grub, so my preference > >> would be: > >> > >> 1) Review and merge the verifiers framework > > > > OK, as I said earlier I will post it with some comments and minor > > fixes in a week or two. > > > >> 2) Update the current TPM2 code to match and review and merge that > >> 3) Ensure that the functionality matches user expectations and then > >> develop a more generic midlayer based on that to support additional TPM > >> backends > >> > >> My concern about doing (3) before (2) is that it may take multiple > >> attempts to develop something that works for us, and delay being able to > >> provide functionality that people would like to take advantage of. I > >> think some real-world use would make the process easier. > > > > This option works for me too. If Daniel S. is OK with that we can proceed. > > I appreciate being asked to review though I think Phil's sign off > probably carries more weight than mine. I did review the patches when > Matthew posted (which they look good) and there is interest in on my > part to see them go in sooner than later. OK, so, I am taking a stab at verifiers framework first and then Mathew's TPM2 patches. Stay tuned... Next news in a week or two. Daniel