From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BDC73C433F5 for ; Mon, 17 Jan 2022 01:42:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2427E82EBB; Mon, 17 Jan 2022 02:42:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Pq/yoycH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 95B9883025; Mon, 17 Jan 2022 02:42:17 +0100 (CET) Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 509A381E3E for ; Mon, 17 Jan 2022 02:42:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pg1-x535.google.com with SMTP id i8so9220720pgt.13 for ; Sun, 16 Jan 2022 17:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=eXrYE0rdzh+KS4iLQ/PYnzS8sVYnTktlACAmbkF0bhY=; b=Pq/yoycHBpWfZFRWolA60IAcg/cy1msGZPNi1EBwBGaHTLYKi5GK2qtzRCNFgX82hR /xLjbOJ6b9eDIX/yDWRm9OirXfyrdM+yQMAeyYPYM5GLr5KYfFGvDBzUgt+s4gZg30ei GuAU6jvswzN7aYBnfRAayZFtdBAeyxgpHzwj+yYj2RQE+qD0p0UMfnOqADXMIi+ElDon cVfujRSskMtu3olU0aqRRP7Tvu83INQfMoS/je7U0kcdayFTUj0OAyDkb3hFjLc8Itdm nAaH9YYpojRhIntgE67RKFiOlBC1Id7wNFk2624aB3jqe064ReLfgy1zwLAcKWKsieEy NOPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=eXrYE0rdzh+KS4iLQ/PYnzS8sVYnTktlACAmbkF0bhY=; b=Pl7DZOHlBL8uEWrI6WN1tOQ1kfGykrPFWKeKs1GB6S59HZ0hEX1PSac9yWPq7yyTBd 6/GwGtSXyE6WhMFRfZ1rWdjLnG2ADv5i/Yw9T+aSQq0bO1idNho/ghD0HmaQy9qdNNLD 3le6bqCPYRojoezzZkHVB0Sw4R9hmHJhbBT4yhw5zMND0Nkj/QKRhXsdEMC6fdnwvZ7W wwwgAsVSiswivuRMy+T0v/37GzuDEZgDmP/4UOQvLswGbTlwqvJb+qsB/WCXfZcOEgmq tUtTKN3hUERtTxNQEkZlV65TgYe32jmowRTy7kQlsuDfrB8E+/VSJpJj8/ra/km36VzF y3Ew== X-Gm-Message-State: AOAM532gybbpmJ+rTCqORexT10etPwxb9TwH0CxJ9NawI4pVrYXZVxfb l06ATUXeG2C+o5I9BYk/IEzMtw== X-Google-Smtp-Source: ABdhPJy4Nazeu76ktelRbThp9u0ykfQB80mPg5h7IhJACUr1TUfUm/5+BxiudhdSLpHrLMW2MG2lrA== X-Received: by 2002:a05:6a00:1906:b0:44c:b35d:71a8 with SMTP id y6-20020a056a00190600b0044cb35d71a8mr19219983pfi.51.1642383732749; Sun, 16 Jan 2022 17:42:12 -0800 (PST) Received: from laputa ([2400:4050:c3e1:100:d862:4b52:199a:dd27]) by smtp.gmail.com with ESMTPSA id c12sm5044089pfm.113.2022.01.16.17.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jan 2022 17:42:12 -0800 (PST) Date: Mon, 17 Jan 2022 10:42:07 +0900 From: AKASHI Takahiro To: Simon Glass Cc: Heinrich Schuchardt , Ilias Apalodimas , Sughosh Ganu , Masami Hiramatsu , Mark Kettenis , U-Boot Mailing List , Alex Graf Subject: Re: [PATCH v8 12/12] (RFC) efi_loader, dts: add public keys for capsules to device tree Message-ID: <20220117014207.GC7045@laputa> Mail-Followup-To: AKASHI Takahiro , Simon Glass , Heinrich Schuchardt , Ilias Apalodimas , Sughosh Ganu , Masami Hiramatsu , Mark Kettenis , U-Boot Mailing List , Alex Graf References: <20211220050253.31163-1-takahiro.akashi@linaro.org> <20211220050253.31163-13-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Wed, Jan 12, 2022 at 01:03:54PM -0700, Simon Glass wrote: > Hi Heinrich, > > On Sat, 1 Jan 2022 at 15:53, Heinrich Schuchardt wrote: > > > > On 12/20/21 06:02, AKASHI Takahiro wrote: > > > By specifying CONFIG_EFI_CAPSULE_KEY_PATH, the build process will > > > automatically insert the given key into the device tree. > > > Otherwise, users are required to do so manually, possibly, with > > > the utility script, fdtsig.sh. > > > > Why do we need a script fdtsig.sh? Can't you integrate this into the > > Makefile? Because signing phase of capsules would be different from compiling phase of U-Boot. So, > It should be handled by binman, IMO. Yes, either way, we should have a separate script/command. -Takahiro Akashi > Regards, > Simon