Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ffp0a-0006tg-Ca for mharc-grub-devel@gnu.org; Wed, 18 Jul 2018 12:08:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffp0Y-0006tZ-Lr for grub-devel@gnu.org; Wed, 18 Jul 2018 12:08:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffp0V-0005L8-DZ for grub-devel@gnu.org; Wed, 18 Jul 2018 12:08:54 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:54514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffp0V-0005KM-5b for grub-devel@gnu.org; Wed, 18 Jul 2018 12:08:51 -0400 Received: by mail-wm0-f65.google.com with SMTP id c14-v6so3343746wmb.4 for ; Wed, 18 Jul 2018 09:08:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ng1ZQmmzf8PEp5CmqwHXUvhrH391NS9lQm8qZgjPxY4=; b=UWladCU/Z4GCiHRKbxN6eUT/Vx3YS3yPO8b7brvFyTYVqOHY2b2/ChhHugF7zKt56X bwcueTf5+LzkYajB33EJlEDnOtDE1b12b55FYUI/yk/ojBKecD9I78qmGtaX9QcW28XQ DkedLuEFsqAEyQa6h0va2xsw2iKO4nKNZUachNHDiFGLABNns52tFPt7iiXX8pxwkvqk woXwBkm3tT6X54TmSewc6wFDTaOXJVzNvCfsVKWa3OaHRvf/H9F8eUNjnAO3F7LGxAe8 itSy+LgpZx65HAYywDm0a+m/msgBlVY5T19cRI0GWCWucmeBA5DqJA5bbYJyFQnuEi0Z 7RDQ== X-Gm-Message-State: AOUpUlGfnKTa2Fl0dtGWoLv8kBGvvr4DgILy1gqK9ekCccQ0ETcrsQ7n TB2tYTm8gobcaPcNPAvezZxk5w== X-Google-Smtp-Source: AAOMgpd6p/q+7vSVzVRurV/5Gx233TDGuxRVCHR236dHqhY9+whp6yrmQY5D7rJeOJa/UlfR8fOLvw== X-Received: by 2002:a1c:4b0c:: with SMTP id y12-v6mr1870566wma.22.1531930129546; Wed, 18 Jul 2018 09:08:49 -0700 (PDT) Received: from [192.168.1.13] ([90.168.169.92]) by smtp.gmail.com with ESMTPSA id z8-v6sm5988019wrp.54.2018.07.18.09.08.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 09:08:48 -0700 (PDT) Subject: Re: TPM support within Grub2 To: The development of GNU GRUB , Daniel Kiper , Matthew Garrett Cc: eric.snowberg@oracle.com, phcoder@gmail.com, leif.lindholm@linaro.org, "Daniel P. Smith" , kanth.ghatraju@oracle.com, jonmccune@google.com, ross.philipson@oracle.com, keng-yu.lin@hpe.com, philip.b.tricca@intel.com, Daniel Kiper 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> From: Javier Martinez Canillas Message-ID: Date: Wed, 18 Jul 2018 18:08:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180718090317.GJ26572@olila.local.net-space.pl> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.65 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 16:08:55 -0000 On 07/18/2018 11: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. > FWIW I agree too, specially since Matthew's patches have been in the list for more than a year now, so I don't see a reason to hold the TPM support much longer just to make it more generic. I think (3) can be built on top of the current patch-set once this lands, while providing UEFI TPM support to users in the meantime. > Daniel Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat