Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3518265imw; Thu, 7 Jul 2022 03:12:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v60eLwJ64M81aa09zKzn6GuXbJ1J124e28imdNbsYrMEYROg2iXcHaeu3f99NTQ9QClS3/ X-Received: by 2002:a17:903:1c7:b0:16a:2762:88d1 with SMTP id e7-20020a17090301c700b0016a276288d1mr52588134plh.76.1657188735621; Thu, 07 Jul 2022 03:12:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657188735; cv=pass; d=google.com; s=arc-20160816; b=nPN/aShsSFPYcZ9zVwbQUwOvsBzrebHy2bX9kpMd2CboAUQvIjEoQz2y8gI1zxwQRk yn/L+HgmM2V2OuVGN3nSabhBvRhMl5kInU1xtGOmBet+SaLh/grTXfqyi0enQrWte7Gl URoBur2POovNgwVvNzTUmQc/Ixz5zQIa360nCT5LzXpEdZDxaf77UlKp4JRnelqC9R3n m2LIXOje2nuV96ljW9PalkG3fAW4mmgFtmEJZCRDX7I8hFLSfysRyRPHJsY6RPr2nxMu IsPvzMTZtNdRAvhHkAk+ljcxx3gF1xn5kbmHj8WCULzcoCDCOdnr29QRYkMjbHdaabb3 vyVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=AxgMRIxlOM7se1RN4hoSSzKpsvEX8snGSo/jMnDX/Ek=; b=u+yDxO0gAl3ytfbQVFOHYjpMebWp7Pd6JkC04kzrcDH0Xs4eDmDRmUxyh0MDZ3v3FU YrU9UfGmINLH3NyhfLLCLc10SMY3igBsicFJrHdDP7ZIgPJIM3R6TGTsjEK8xOWJIu+v ypI+S8a81AJuPhHI5jTW383+ByFFFl7HnOWi8dpx5LdE3gReaF4NgmoKT8UQTPourVKt L8amCg+aRhpz3gGzckBFlCXv7nmaw8EbFqt9CvP0nRVke+J2H3bs7tsS07ueenLHcwNz a8scMdNKmMwGBhvmM4tMg2U2dib3qlQeFguocWH3g1Xc7FW5ZkN/BI1sUebeJRK78fB1 N8VQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@apertussolutions.com header.s=zoho header.b=bNuNz5RL; arc=pass (i=1 spf=pass spfdomain=apertussolutions.com dkim=pass dkdomain=apertussolutions.com dmarc=pass fromdomain=apertussolutions.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a655889000000b00408aa327355si157086pgu.98.2022.07.07.03.12.00; Thu, 07 Jul 2022 03:12:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@apertussolutions.com header.s=zoho header.b=bNuNz5RL; arc=pass (i=1 spf=pass spfdomain=apertussolutions.com dkim=pass dkdomain=apertussolutions.com dmarc=pass fromdomain=apertussolutions.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233783AbiGGJsd (ORCPT + 99 others); Thu, 7 Jul 2022 05:48:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbiGGJsb (ORCPT ); Thu, 7 Jul 2022 05:48:31 -0400 Received: from sender4-of-o51.zoho.com (sender4-of-o51.zoho.com [136.143.188.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8C28DF69; Thu, 7 Jul 2022 02:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657187276; cv=none; d=zohomail.com; s=zohoarc; b=IeW7CmKisiJaE3pVWkI/F+5MdcngjRiLaAY1zVvmVucvGKqAP3KI50yY1wpVc5qSJtkOGqTpZkTEpmuDn9oKzJwQrL6XeKVEWmC8Cb3WY5IZdIOlaDLLnhdjpqSUHZMObhB4JsofAm+c27oYXEUM91okzF7La277sAlWgHDJ/HY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657187276; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=AxgMRIxlOM7se1RN4hoSSzKpsvEX8snGSo/jMnDX/Ek=; b=KBTUiCEn80z6AHIupkVuG2OQijhEML5J0n1ZUPb1eKfyKwV7YDU/Ruv0U5oPN6j8WkBOtxx7eaC27lbQdF5QV1C30jfSQMB30NBgHV9fWPfTUcJNHoTGQIRqpQJPgTb4Cj3StZY2mQnWCYUIBuVCgGftCqymIpMHe6oJWurUaJE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@apertussolutions.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1657187276; s=zoho; d=apertussolutions.com; i=dpsmith@apertussolutions.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=AxgMRIxlOM7se1RN4hoSSzKpsvEX8snGSo/jMnDX/Ek=; b=bNuNz5RLnm0oVDSPCegtHT9bLWpV9KooJQzx/hs9cDw7HfHcJYg/XFxb2wrvhPBs IuN/dTS0HjbgUYS4kuPBAerNnc1UDtc8HSUUMAAzfgc3xaYh+Mb67J1c/fXDXR7Xxnm NSenPKAzT0UAOe+5hVwNwALsCBMddgv5NNyIDGYM= Received: from [10.10.1.164] (static-72-81-132-2.bltmmd.fios.verizon.net [72.81.132.2]) by mx.zohomail.com with SMTPS id 1657187267545698.9829943472045; Thu, 7 Jul 2022 02:47:47 -0700 (PDT) Message-ID: Date: Thu, 7 Jul 2022 05:46:40 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: Linux DRTM on UEFI platforms Content-Language: en-US To: The development of GNU GRUB , Brendan Trotter Cc: Ard Biesheuvel , Matthew Garrett , Daniel Kiper , Alec Brown , Kanth Ghatraju , Ross Philipson , "piotr.krol@3mdeb.com" , "krystian.hebel@3mdeb.com" , "persaur@gmail.com" , "Yoder, Stuart" , Andrew Cooper , "michal.zygowski@3mdeb.com" , James Bottomley , "lukasz@hawrylko.pl" , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, James Morris References: <20220329174057.GA17778@srcf.ucam.org> <7aab2990-9c57-2456-b08d-299ae96ac919@apertussolutions.com> From: "Daniel P. Smith" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/5/22 20:03, Brendan Trotter wrote: > Hi, Greetings! Not sure why I got dropped from distro, but no worries. > On Wed, Jul 6, 2022 at 4:52 AM Daniel P. Smith > wrote: >> On 6/10/22 12:40, Ard Biesheuvel wrote:> On Thu, 19 May 2022 at 22:59, >> To help provide clarity, consider the following flows for comparison, >> >> Normal/existing efi-stub: >> EFI -> efi-stub -> head_64.S >> >> Proposed secure launch: >> EFI -> efi-stub -> dl-handler -> [cpu] -> sl_stub ->head_64.S > > For more clarity; the entire point is to ensure that the kernel only > has to trust itself and the CPU/TPM hardware (and does not have to > trust a potentially malicious boot loader)..Any attempt to avoid a > one-off solution for Linux is an attempt to weaken security. Please elaborate so I might understand how this entrypoint allows for the kernel to only trust itself and the CPU/TPM. > The only correct approach is "efi-stub -> head_64.S -> kernel's own > secure init"; where (on UEFI systems) neither GRUB nor Trenchboot has > a valid reason to exist and should never be installed. > > > Cheers, > > Brendan v/r, dps