From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 07 Nov 2025 09:59:45 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vHIJt-00GFCS-2r for lore@lore.pengutronix.de; Fri, 07 Nov 2025 09:59:45 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vHIJt-0007Qb-5y for lore@pengutronix.de; Fri, 07 Nov 2025 09:59:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-Id:Subject:References:In-Reply-To:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xXdv8i3GCYxZ5a05SNk/oCscbGR+r0r88mCVILkpg/s=; b=yzuL7Z9P2CVSiTfqXZJbT341mv p+gANf0MpT3N9HCgxV5wZ5WhzQP/WrKQTWr7+R0Ij3GM7B1dodw6QvTdq50Kvo6yDMlFaPw0zUY4c ouFb1bhEoucqrSWDi8SsM8zHe1b0eR0fyQ8mvjqGeFAKzl/66BnK+QTdN7wBeYiGzlghpOQbX7qzz mrTCouQawYCFV9SC9Sl3Z02NI1ExGJsO7HoTlO23LxtRISE60yPDxKEbP0NcLBxGpvc5t6VI4G9sD V6sHsU+155vVuRB1TphBX7c3qM3mT4UR+0nBihnqxUQ5lMus5V9gpAcwNADMiMPxYGExdzm7Lnyey k/MzA7mA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vHIJJ-0000000Gv96-11HC; Fri, 07 Nov 2025 08:59:09 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vHIJF-0000000Gv7p-3bNT for barebox@lists.infradead.org; Fri, 07 Nov 2025 08:59:08 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vHIJC-0007BV-J0; Fri, 07 Nov 2025 09:59:02 +0100 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vHIJC-007V7K-0z; Fri, 07 Nov 2025 09:59:02 +0100 Received: from localhost ([::1] helo=dude02.red.stw.pengutronix.de) by dude02.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1vHIJC-00000000Hfb-2rCE; Fri, 07 Nov 2025 09:59:02 +0100 From: Sascha Hauer To: BAREBOX , Jonas Rebmann Cc: Ahmad Fatoum In-Reply-To: <20251028-tlv-signature-v2-0-3bafce636ad7@pengutronix.de> References: <20251028-tlv-signature-v2-0-3bafce636ad7@pengutronix.de> Message-Id: <176250594223.67872.10834272940421361044.b4-ty@pengutronix.de> Date: Fri, 07 Nov 2025 09:59:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251107_005905_905156_926AEDCE X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH v2 00/17] TLV-Signature and keyrings X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) On Tue, 28 Oct 2025 19:03:05 +0100, Jonas Rebmann wrote: > This series introduces everything needed for the use of signed TLVs in > barebox. This allows for signed TLVs to be part of a secure boot chain, > if CONFIG_TLV_SIGNATURE is enabled, keys are configured and the decoder > is configured to require signature. > > As TLV signature verification uses the public_keys list, propagated by > keytoc.c with the public keys selected in CONFIG_CRYPTO_PUBLIC_KEYS, the > keyring feature was introduced to allow separate keys for separate > concerns. > > [...] Applied, thanks! [01/17] lib: idr: avoid dangling else in idr_for_each_entry() https://git.pengutronix.de/cgit/barebox/commit/?id=558f95a99d30 (link may not be stable) [02/17] common: clean up TLV code https://git.pengutronix.de/cgit/barebox/commit/?id=12fbe2420c57 (link may not be stable) [03/17] crypto: Add support for keyrings https://git.pengutronix.de/cgit/barebox/commit/?id=9b6abf4928dc (link may not be stable) [04/17] fit: only accept keys from "fit"-keyring https://git.pengutronix.de/cgit/barebox/commit/?id=35e1d658501d (link may not be stable) [05/17] crypto: keytoc: Rename "hint" to "fit-hint" and do not use it in identifiers https://git.pengutronix.de/cgit/barebox/commit/?id=631598a78787 (link may not be stable) [06/17] commands: keys: update output format to include keyring https://git.pengutronix.de/cgit/barebox/commit/?id=7a255f1bb20a (link may not be stable) [07/17] commands: tlv: Error out on invalid TLVs https://git.pengutronix.de/cgit/barebox/commit/?id=8fc7e96dce0a (link may not be stable) [08/17] scripts: bareboxtlv-generator: Implement signature https://git.pengutronix.de/cgit/barebox/commit/?id=bdc51ec7b77b (link may not be stable) [09/17] scripts: bareboxtlv-generator: Increase max_size in example schema https://git.pengutronix.de/cgit/barebox/commit/?id=40dccf6965ad (link may not be stable) [10/17] common: tlv: Add TLV-Signature support https://git.pengutronix.de/cgit/barebox/commit/?id=49deb31eb9f4 (link may not be stable) [11/17] common: tlv: default decoder for signed TLV https://git.pengutronix.de/cgit/barebox/commit/?id=92801a8a3b85 (link may not be stable) [12/17] crypto: Use "development" keys for "fit" and "tlv" keyring https://git.pengutronix.de/cgit/barebox/commit/?id=1006b066cf20 (link may not be stable) [13/17] test: py: add signature to TLV integration tests https://git.pengutronix.de/cgit/barebox/commit/?id=50407b127bc1 (link may not be stable) [14/17] ci: pytest: Add kconfig fragment for TLV signature integration tests https://git.pengutronix.de/cgit/barebox/commit/?id=54205e3cfa11 (link may not be stable) [15/17] crypto: concatenate fit development certificate with private key https://git.pengutronix.de/cgit/barebox/commit/?id=a3078241ffb4 (link may not be stable) [16/17] doc/barebox-tlv: Update documentation regarding TLV-Signature https://git.pengutronix.de/cgit/barebox/commit/?id=39a6cb84f837 (link may not be stable) [17/17] Documentation: migration-2025.11.0: List changes to CONFIG_CRYPTO_PUBLIC_KEYS (no commit info) Best regards, -- Sascha Hauer