Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp111571imw; Thu, 7 Jul 2022 22:38:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1smXpfNYf/zkfV9IkZoZ4akuxiuahKpfuRWNZ6zcQCSWRtU42MAw+TD64IJMnI2IpXx5Jr8 X-Received: by 2002:a17:90a:8b8f:b0:1ef:9130:f96c with SMTP id z15-20020a17090a8b8f00b001ef9130f96cmr2025568pjn.20.1657258726203; Thu, 07 Jul 2022 22:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657258726; cv=none; d=google.com; s=arc-20160816; b=urAbPe9JMHDgQkIv9qpOtFquEziAQ1IdvKDDPlKG/+V06mpigo2o6ao6HTDxdR0DDt z71MG08hJNAysHUrN5rd2/de/GKGkgRY3gqhLUYbx+bF7xuw5CK/cBTFaAUADajcNAZD yZAmSXVoaDJsS6t07gI3f1Ns3ztMuay9JTlanwjXiNBaFxAaViOjQknyGcHDg86DAcqz oneFyrrChpBy9zbPWKBCG7HdeKAcAS7FoFgkB/KBH1wiJNMRTvfnhsnvNlWThpTpvybd I+ve14oiwpYjBcY2jvbw/NXB/2jyYUAfcMjKu/okod7w66VQtg/i9Kj0dWqQJRkJSRi6 vkXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aJTzIqNBpRDieR8tcaN4s8wHmzjj+fR5MYAmz7N+3/8=; b=H/I086NRlCob4Hg+XqTgcPrWy1KGXQ1SqhXailNjhWtulN3uwBoCDYWzpyiX00+5Q9 oPm+VOONHp0y6UYDQXo9R+bTGIXlYk4n9FnpMSsBMY4oWu6SY0nOITxf6e7/MFolUeuK Hjyx46sQJZycwVTXTisz0/x5EFEgj5yWsTmYTay/kpKmUAiBZng/oBLqoOB6e6sr5tPK s/9e3VP8/DhT4FsmSXs2ahEWN390Rs+nLFrk+Gh3k1qu+sseuV+V/a9ngDE6GTpxZnzZ TvUb3/IAzYuw76LmZy7YQrKbb1prTLfxmIZNYDi7JZflQUPoodQynLaPP3UtPY/4FspM JRxg== ARC-Authentication-Results: i=1; mx.google.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 x191-20020a6386c8000000b004159d4cbf59si2052584pgd.837.2022.07.07.22.38.33; Thu, 07 Jul 2022 22:38:46 -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; 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 S237355AbiGHE4q (ORCPT + 99 others); Fri, 8 Jul 2022 00:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236876AbiGHE4o (ORCPT ); Fri, 8 Jul 2022 00:56:44 -0400 Received: from cavan.codon.org.uk (irc.codon.org.uk [IPv6:2a00:1098:84:22e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 084E576E96; Thu, 7 Jul 2022 21:56:42 -0700 (PDT) Received: by cavan.codon.org.uk (Postfix, from userid 1000) id 3424340A61; Fri, 8 Jul 2022 05:56:38 +0100 (BST) Date: Fri, 8 Jul 2022 05:56:38 +0100 From: Matthew Garrett To: Brendan Trotter Cc: "Daniel P. Smith" , The development of GNU GRUB , Ard Biesheuvel , 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 Subject: Re: Linux DRTM on UEFI platforms Message-ID: <20220708045638.GA27939@srcf.ucam.org> References: <20220329174057.GA17778@srcf.ucam.org> <7aab2990-9c57-2456-b08d-299ae96ac919@apertussolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,KHOP_HELO_FCRDNS,SPF_HELO_NEUTRAL, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Jul 08, 2022 at 01:06:19PM +0930, Brendan Trotter wrote: > This leaves me wondering what your true motivation is. Are you trying > to benefit GRUB/Trenchboot (at the expense of security, end-user > convenience, distro installer hassle, etc); or trying to manufacture > scope for future man-in-the middle attacks (by promoting a solution > that requires something between firmware and kernel)? The described mechanism doesn't require trusting the code that's in the middle - if the state is perturbed by this code, the measurements will be different, and the system will be untrusted. I agree that this implementation is more complicated than just leaving it all up to the kernel, but I'm having a *lot* of trouble seeing how this has any impact on its security. Jumping immediately to impugning the motivation of the people involved is entirely inappropriate.