Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ffiN1-0002y1-KV for mharc-grub-devel@gnu.org; Wed, 18 Jul 2018 05:03:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffiMz-0002xo-Pd for grub-devel@gnu.org; Wed, 18 Jul 2018 05:03:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffiMv-0001KE-Jq for grub-devel@gnu.org; Wed, 18 Jul 2018 05:03:37 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:36706) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffiMv-0001J9-Ab for grub-devel@gnu.org; Wed, 18 Jul 2018 05:03:33 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6I93Uad053088; Wed, 18 Jul 2018 09:03:30 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=ArfCEMZQVFi91Qx1jSqJz/0N3xwm9KWyxW7QBrNkdZY=; b=B0z5KXOEsJDbQEeHwU6qBx5wuillNMWsRa0ABGc3iKyDLQDInTXfc7w1AsB5wP969AbO WI9vkUkBl+Pn6B6jJ1AuI0RVh6nMSsaI15CkDB+bmv5jrfM30v15ZsYFT3B9WkMajG6o HzG4XzdcP87L8Bx5fhePnncKfVf6L/iS23jPuxtt1vcLA6DJloJ8LPVZx7m+H0FNF9D6 Cum/uLzzi62oIoNTX0wXftQ032coA7V6xUhhu+rP7fr56JHTvq3iJHb1nwOCFLsdi3/Y DHrklNHKg60XQ8Fgrk8QKPYlVN2XXUn5EJIVIchHI1Zpa64obEZnwgre35MdZ8mJ2vck ww== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2k9ykc0pd6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Jul 2018 09:03:29 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6I93T4B011774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Jul 2018 09:03:29 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6I93PI0022899; Wed, 18 Jul 2018 09:03:26 GMT Received: from olila.local.net-space.pl (/10.175.190.182) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 18 Jul 2018 02:03:22 -0700 Date: Wed, 18 Jul 2018 11:03:17 +0200 From: Daniel Kiper To: Matthew Garrett Cc: "Daniel P. Smith" , 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: <20180718090317.GJ26572@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180717181032.GA8927@srcf.ucam.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8957 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=750 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807180104 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 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: Wed, 18 Jul 2018 09:03:38 -0000 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. Daniel