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 E7649C77B7A for ; Tue, 16 May 2023 15:30:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A7B3E84659; Tue, 16 May 2023 17:30:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="odCbMOwt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF67F84667; Tue, 16 May 2023 17:30:12 +0200 (CEST) Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) (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 A267D8445D for ; Tue, 16 May 2023 17:30:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-561b65b34c4so1911957b3.1 for ; Tue, 16 May 2023 08:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1684251008; x=1686843008; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=weyBPx4hVR33R649qeQzZkoJ2mBl+VMqz9MB7eBJz1Q=; b=odCbMOwtF17uztB7/OfzwiO8dC0DdcgWYgHUDHxhUgVOt72bYuOpDKDsgVD5GNLtxM SEDBeOhY8bS5lqGSs0kpROnwWoIyfkeXRcIk1JWqPiXLg7Bld2J8qZW3A9MRiKI9Dten f9LfIKyaGRaHDt4RCVlI+oagNwYMBI4+Hf2EI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684251008; x=1686843008; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=weyBPx4hVR33R649qeQzZkoJ2mBl+VMqz9MB7eBJz1Q=; b=HYL9NpXV5TcLygfQ7TbTIVLm3fAxQVyFKzPxq3vTSOekBdRWTnbdev+g2MSSZJ6fHN V7vL5pgonOfYTKumZRdU2/eK5Yd3JWQxpfsDEpC+Y52+unG1Ysb8HOp73uL+kM4e+2my ABFwezKHy+lyuwkrNTRWwO+kEAQr/9FEq+BFh5v67/rA5LMBVwHPx/tKygGXuNuXNvtB y2dPUeiX2bI2GNUyau7E0iDMwSzEANRls45asV5X6Dv9y0q4E8M7p2cOLlP6mCnfgfes 3QJz2oSA/x7AZC7tIzkD/w8t3f3ULgiYZdUCBoi2uBJqHuSsvrPX8nkm/WHrfQelzeIw WjQg== X-Gm-Message-State: AC+VfDxiQkH2mwIDyKArj0oNTZ2jvNFB26oKXCsqFXBWCu1sZNjnbPDT TQz/CNvqW81zEqdOAJffyFzd8OFsK7VRRTlDIto2cg== X-Google-Smtp-Source: ACHHUZ4mYyhRA+aeFi0RsQlB1ub3Y7dwv+2gJdrnCpnA6u8wg3P1v66vO+vt7HeyuYFBPupt2dtaCw== X-Received: by 2002:a0d:f901:0:b0:552:a0fc:6827 with SMTP id j1-20020a0df901000000b00552a0fc6827mr31283655ywf.52.1684251008431; Tue, 16 May 2023 08:30:08 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-b213-426d-36fe-d1f1.res6.spectrum.com. [2603:6081:7b00:6400:b213:426d:36fe:d1f1]) by smtp.gmail.com with ESMTPSA id v144-20020a252f96000000b00b9dcd17cc2dsm538603ybv.46.2023.05.16.08.30.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 08:30:07 -0700 (PDT) Date: Tue, 16 May 2023 11:30:06 -0400 From: Tom Rini To: Manorit Chawdhry Cc: u-boot@lists.denx.de, Praneeth Bajjuri , Andrew Davis , Vignesh Raghavendra , Udit Kumar , Simon Glass , Kamlesh Gurudasani Subject: Re: Fit Signature booting without public key Message-ID: <20230516153006.GG2398826@bill-the-cat> References: <20230516064124.n2qd4dununi2bymx@ula0497581> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lXJVaXBxjQF6Oftx" Content-Disposition: inline In-Reply-To: <20230516064124.n2qd4dununi2bymx@ula0497581> X-Clacks-Overhead: GNU Terry Pratchett 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.8 at phobos.denx.de X-Virus-Status: Clean --lXJVaXBxjQF6Oftx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 16, 2023 at 12:11:24PM +0530, Manorit Chawdhry wrote: > Hi All, >=20 > I recently came upon a discussion that had happened a while back [0]. > I want to continue the discussion as I believe the issue still persists > and the checks around fit signature booting are still the same, that > allows booting the fit without changing the uboot dtb. >=20 > Allowing the signed fit image without this seems to be a bypass that is > available and should not be allowed without any gate to it for people > who'd like to enforce these signing checks. Let me know if there is a > config already available for it and if not, are there any plans to > enable such a config in future. Would like to hear your opinions on > this as I believe this should be fixed as soon as possible. >=20 > [0]: https://u-boot.denx.narkive.com/dEClg9dW/signed-fit-image-boots-with= out-public-key Yes, can you please reproduce the issue in question on the current tree, with a supported platform and provide the defconfig and steps you used for this issue? Thanks. --=20 Tom --lXJVaXBxjQF6Oftx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmRjoX4ACgkQFHw5/5Y0 tyzt0Av/aLbocODAAxiyqPLDh0WuEt3F+N9T2NmvbBTSgvOqQVb+JHK4vIng6oiW qxR8PcShQHn7nZ/wjn/Qt73gq0mz6K1Rir+o5qpZz93AvnCDoikMhLMwR4siGGO9 M1PUyQzp0gNGWUpzTeaSW8e8QhatbOCIHIMrTOpdp42U4eLGWHe6UEo+XsAGdEhb RzodTmo85cp+1qWSfc760pMqUAF5aMRnghg3uILSzyhJenTKxRUAviQzlS6vGp1g nU0kJCkzcgapLpWFGLCsytII9lPvYp/zNulp9rbWkYC3ANIoSslgDepCQCQxQoPI 7xhIiHiWIw/P2GhiKPuy0eH8qdbSbG5kyGfBEwm31/3uz6tJXS32InjoxVNEf9lR +qlMvvfDbTmI8+n1K2Poan5CRQ1WT+PWg23JOLvEooBYLt2C1ZBgXF25bD8rYffV crzAQrqv1IeBKYu4M5UfPWnmw5qfx8qff22HrYQ7BqPxBAf0fpxSyYhQexKWp30F 20benLBF =tPGP -----END PGP SIGNATURE----- --lXJVaXBxjQF6Oftx--