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 558D9C43334 for ; Mon, 18 Jul 2022 12:09:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3845F83FF4; Mon, 18 Jul 2022 14:08:46 +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="IH1JWQv8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C8C083FF4; Mon, 18 Jul 2022 14:08:44 +0200 (CEST) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 850428405C for ; Mon, 18 Jul 2022 14:08:41 +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-qk1-x730.google.com with SMTP id b25so7746158qka.11 for ; Mon, 18 Jul 2022 05:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=GSySigyaPIc92t21JN4BKtenauU+2YOe2PUmrAOtlE8=; b=IH1JWQv8XDxD4CfzdGDz/gZ/Fbc9uFZqYUskdGlH4svccB7AfgeztBKeGAP64sBYBU /EjtVPMlXYSFzhG/zybW0hfS4AOFCF1Icmjq88Nv40QH+tV+XOheTx+diJs62aQQ+RJI D8+T0/pJPdoUdurA31oC18SGxrO/aVgyNwKaw= 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:references :mime-version:content-disposition:in-reply-to; bh=GSySigyaPIc92t21JN4BKtenauU+2YOe2PUmrAOtlE8=; b=HqxVhQJLtrqOvhq6b+tF4TG6t3ouyxM55QUxPYpzLPiNXW92LpP+PRTalBT9PiLu8Y cpGqlXlEZyz3RPWmgi19VLCRQkwWCtq44UQYcCYXE7PG2IcqQ9Lmik41Ir4jay2elPCw 58Q/UfW0Mt0s2OxUHMjZvtW0KqAweZK2hYdvGBZBToxO/PcxYWD+UT2Sxj66T7h4F/K3 R+R5Swyh3NtHhcCEOfk8WDQFmxVJPNNjGnYfyGM1pQfd2edzhpJm0+da5ZfLmJ/bvqeD qHUFBW8uN2JXRn/KavI+FzQTFmnSWDkDBbvUSR0UTduBHrUv5Gb2i9CASUITrxUsZDw7 je5Q== X-Gm-Message-State: AJIora+f4vBhhniyUia3wQqfp6YuAZHvIrXmLA8kpsmgj77wSETPg2JY V8hiMwImHMPg27R0gSsGQmvSIw== X-Google-Smtp-Source: AGRyM1uIHH4wDjY0ydTAQc0Evhw0OoWGN+75NsF3BMD0TzgwoK6TmSb7KgSjgPmycATP0tNY/ur2Zg== X-Received: by 2002:a05:620a:1720:b0:6b5:b2ed:537c with SMTP id az32-20020a05620a172000b006b5b2ed537cmr17269280qkb.149.1658146120210; Mon, 18 Jul 2022 05:08:40 -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 y14-20020a37640e000000b006b5869c1525sm10682671qkb.21.2022.07.18.05.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 05:08:39 -0700 (PDT) Date: Mon, 18 Jul 2022 08:08:37 -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: <20220718120837.GS1146598@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="i0KDW4MRRnQ90sh2" 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 --i0KDW4MRRnQ90sh2 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 --=20 Tom --i0KDW4MRRnQ90sh2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLVTUUACgkQFHw5/5Y0 tyyqGQwAnC9pwwm2SveVdxeH3RNKbwkAt4gl4YVG35vN+zJc/SiH8Til96oIhSjf YwuvPrOvGHYnMOr8R5L8fwYJcm4jNmK1B4LBbEsGRXrNvBCh8n1muRI0umk20g42 HUVn5Zbt+ar8HOlvwNcS2Ukd/KyNebqieiAd1wGc21Gd0lgLzEMasG0R9IUvvkEt 2FHVSOjotG7Hr9EKCeX0NjI/ClLScRLvxeFAqOwfoOjo416mURm11HZnIEca1lSQ 1sAjNRFLP24PtNUSziSQW/LNct7TEmZ+XfLEYZCAStxTLSPBZsPelR6M6Hdpx231 tUy5dLNoFeJ+P4FDbwUTjfQBLc/kVBmXscAAMFExg3S7M7urGLvktEl1UPJC25rm rLyzRzuFEEZ8YsP88iPe7GLYEA3RpFbnIrm975R3lfWTF6M3/2C81vdo/1NUIxWE DaMhGCnYGrpsykfTC7tfLrGARty6YmH4DpAoMSFXMRnnWz4GD5l1dU1VOxfumL9F KTMCm3QJ =7SWv -----END PGP SIGNATURE----- --i0KDW4MRRnQ90sh2--