Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fft6E-000475-VZ for mharc-grub-devel@gnu.org; Wed, 18 Jul 2018 16:31:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fft6D-00046z-3m for grub-devel@gnu.org; Wed, 18 Jul 2018 16:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fft69-00088n-5L for grub-devel@gnu.org; Wed, 18 Jul 2018 16:31:01 -0400 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:44087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fft68-00088d-VL for grub-devel@gnu.org; Wed, 18 Jul 2018 16:30:57 -0400 Received: by mail-qt0-x241.google.com with SMTP id b15-v6so5272499qtp.11 for ; Wed, 18 Jul 2018 13:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=P0OvlWd6bEiYra1WsRxejyG796qL2TAzTck7G9lZs3I=; b=CG8JuUDhKfJvO7z9odxo5gOwlo1Lww92Mnly3KEBtV8DHy1tYEtTgNrWic0JbWBSUv nLOycDbkHOyJkHqwI7b/8rJtUYDXKpy2prXcC/4K+kTJobwNpaJ61SYHGeTgsWX43HcM 1/0SCPVqsvwBtQT7K/+BdNoCJNc6nKbeVGvyrvV4g97QMYr4M0FerAoWaTIdnEgnuAGK y/v8y0DzwEGRXQfUXe9D75qgbqDsEHxSIoqMt0vEkYutnbK3QawgRXpe8NkxJ5lP33/U GeQyfK/EuNHZdkXgOk402h8IG2I9dwradkcjYKqfjBiRxUdSCbFgf7K7DoSd1X2kCbt8 XeoA== 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=P0OvlWd6bEiYra1WsRxejyG796qL2TAzTck7G9lZs3I=; b=lxBUc2tu5zrs/r52Tc2oy7q7N/UqREgW3tstzqOme/1wNwnGc+MdO8k23ugKm87iG1 eFIPo6JSaVDwilAcWUUSpf1u38hUEmv4IPNpGSjac4E2tbAWfexDsEQx+T1joDeLyP3V R1RdtmoN2sP7UDcgXVvJnBVTXmDU79/4mS+LVBU8dV7jZGennU6VgayZg822M8vCvzXb tW6MoKQYIQTrMVS5omeIZ8PuKxE/gHo6Qm02QxUnCFKBjq/+a5CJVhLE7i/2HpxB6kRG LjhwWMYvAqe/wbrf+MR6MxDijM0VBiFBwvbYy02CNefouuMNbRxrnhdwB4VS79djuOaF 3N9w== X-Gm-Message-State: AOUpUlFV2+qxyuvrfoUHDcMFNfe0f9yOhX6hKbykr5eFC+qgLJkh532k vJw5nwJUPRZoFzYYyzuUVg3JqC8s X-Google-Smtp-Source: AAOMgpeN+HCqEShzVlG8KJFP0ZUYHO8HEU+R7McY1sxACVuBlwfH2pEu3v9b8rhOfzZsMl0lP2qdUw== X-Received: by 2002:ac8:1abd:: with SMTP id x58-v6mr7352406qtj.180.1531945856297; Wed, 18 Jul 2018 13:30:56 -0700 (PDT) Received: from [10.10.1.4] (c-73-201-91-123.hsd1.de.comcast.net. [73.201.91.123]) by smtp.gmail.com with ESMTPSA id w79-v6sm3884188qkw.35.2018.07.18.13.30.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 13:30:55 -0700 (PDT) Subject: Re: TPM support within Grub2 To: Daniel Kiper , Matthew Garrett Cc: 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 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: "Daniel P. Smith" Message-ID: <419c61a0-9581-b4b0-116e-dbdbfb393a8e@gmail.com> Date: Wed, 18 Jul 2018 16:30:34 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.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: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::241 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 20:31:02 -0000 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. > Daniel >