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 43F56C25B06 for ; Thu, 4 Aug 2022 20:52:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 21CD284882; Thu, 4 Aug 2022 22:52:22 +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="lye79YuN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2099F84883; Thu, 4 Aug 2022 22:52:21 +0200 (CEST) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (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 D5A4A84881 for ; Thu, 4 Aug 2022 22:52:18 +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-qv1-xf2e.google.com with SMTP id j11so479348qvt.10 for ; Thu, 04 Aug 2022 13:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=r4yWVKlqNZYeMpasTaNW/0CkcYYLn8F0rF4aBbQ7wqQ=; b=lye79YuNdxGGwfpFhAsMGDfurLzEuj0jHEFRdyrE5acNueSv3B3uX+vEsBX4aBrye2 ATu6PZFcNerje++aOZ79uFuxS3LEQFjXyuf1tAOfbQcgsldRMBGz1ez7LysIY7FdG0Dy lZrF8LAkujOJtKBRendwHzI0bSF/7sj+5VrpQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=r4yWVKlqNZYeMpasTaNW/0CkcYYLn8F0rF4aBbQ7wqQ=; b=Ecj1GqasjkE3dGMLNMHvMIbSPQGUMUeCkQ2HJ5QD6esWs8cbiG46qaWGaduNvTs682 ncvDy4wZsQAWwfaWprD9ADoll5teB2evB64119DmqE0TbZ/xD1Nu+8Eh450Bie3pC9hy N0Koqh10Z0EbfAbMkB2aDJVaGqb242Bc0lw9U3pP6Hsj+KEBkbkR/1NtJdH+J19UCGN+ GvW1J0FPkvshQ58BOpG2n7lANvdj0lGB8u+gtO83Ge+z7djNICGtnvJTDEnp+QXC9q8F 7SC3yrKrkWkZzc0LNaqfAcUAhY7nXPSXgkmjxaX4OFsMXMJAAnxZ87XTzpVjAK9i21Sa ocXg== X-Gm-Message-State: ACgBeo0guZ+H/npwLYVBd6QLlgxHQUYTPd3bR0lJVDQ0n763Uc+Qciba WBk4vpWtMTF1lKDudYgZeHlG8+bVErtvQ9fC X-Google-Smtp-Source: AA6agR5/vb65t0OwqKt+G+wkI72XNw1RO+cF1QAtsTmZwE5o0VJpA61638KC+C8ZbZrLk6QMttFcmg== X-Received: by 2002:a05:6214:d03:b0:473:7764:2ab with SMTP id 3-20020a0562140d0300b00473776402abmr3043390qvh.119.1659646337706; Thu, 04 Aug 2022 13:52:17 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id j2-20020ac806c2000000b00304fe5247bfsm1226965qth.36.2022.08.04.13.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 13:52:16 -0700 (PDT) Date: Thu, 4 Aug 2022 16:52:15 -0400 From: Tom Rini To: Andrew Davis Cc: Simon Glass , u-boot@lists.denx.de Subject: Re: [PATCH 4/4] arm: mach-k3: security: Remove certificate if detected on GP device Message-ID: <20220804205215.GH1146598@bill-the-cat> References: <20220715163435.1725-1-afd@ti.com> <20220715163435.1725-4-afd@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i1Dzy1L4eCcgd1e1" Content-Disposition: inline In-Reply-To: <20220715163435.1725-4-afd@ti.com> 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.6 at phobos.denx.de X-Virus-Status: Clean --i1Dzy1L4eCcgd1e1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2022 at 11:34:35AM -0500, Andrew Davis wrote: > If the device is a GP and we detect a signing certificate then remove it. > It would fail to authenticate otherwise as the device is GP and has no > secure authentication services in SYSFW. >=20 > This shouldn't happen often as trying to boot signed images on GP devices > doesn't make much sense, but if we run into a signed image we should at > least try to ignore the certificate and boot the image anyway. This could > help with users of GP devices who only have HS images available. >=20 > If this does happen, print a nice big warning. >=20 > Signed-off-by: Andrew Davis > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --=20 Tom --i1Dzy1L4eCcgd1e1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLsMX4ACgkQFHw5/5Y0 tyxh1Qv+JlH08MZ6DVS0l17+g+VeNqG0Mnj2lwwTI/Wi9cWxdey54Vi5O/jO3P5O BlQMTk7SSwxUAClKi63mTruSdG6RQ81UF5d68Ol+BgftqI2DvGTsI0rucFeEtm0g oiKnw6wVdEw0BROs0a00OWeEQRuD10+Wc3pA43yFtg4DOah2UxsPpyHRPqDCY8+b jzVoFnE3M5aWSt3ASXtf6cjaIXnQqo6gVJfD3wyPXhreRcZa9qPt4ohhERVpELhs NS3CzAp3fMTYeY0pbomT1zOpC92AK6dTPEDqAyqSwFKlKJfV3QLnfUYGCb6H8DGv jBS3XwkPNda06tHd2EsPiaHOmkXTfCnQw+YVwTfRglHhywTWldkYvgDrUCxvIxMw dkkD5H0cRHHD6lwSfZsrGl0lW5FwoKuIXe/YEJ81TAdJcr8/SDW4jpFRj+JIagRz cQckNVAr0Ya4n33Eexl4V6VUDsGRidE3Yu7ca6ub5ki2V+1D/t4yLo2qZTDeyX2/ s8u8mgKG =Fwlk -----END PGP SIGNATURE----- --i1Dzy1L4eCcgd1e1--