From patchwork Sat Jun 4 12:43:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1638935 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=Q6Lwmb8h; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LFfZ03LC1z9sGf for ; Sat, 4 Jun 2022 22:43:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3902F83093; Sat, 4 Jun 2022 14:43:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de 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; secure) header.d=gmx.net header.i=@gmx.net header.b="Q6Lwmb8h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E9D6D83DBD; Sat, 4 Jun 2022 14:43:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 032D582169 for ; Sat, 4 Jun 2022 14:43:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1654346598; bh=RBgNMA7fZQyXH4x/Y3wqppbqR3dM0W84J6tyl+4z9DI=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=Q6Lwmb8hi2sHO+t8j7VEM33MKUJxU/O5TJXOWTuVy03XhWZynguA59ZKOQU1ikyqM tLe1lSnRQP942Z9q9QSY0OyasW5bKnPoTk61kkaVmZBELxCGe6XHM2SZv2xRJ4rG3P 9nfKevrE4yuW0G9e/kc9EX9nX8TblIPt8rYihI3Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([62.143.94.109]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNbkp-1o7YvV2AHb-00P9GB; Sat, 04 Jun 2022 14:43:18 +0200 Message-ID: <627fa2fe-2c4c-d5a8-e65d-5a7dfb5cca9d@gmx.de> Date: Sat, 4 Jun 2022 14:43:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-US To: Tom Rini Cc: U-Boot Mailing List , =?utf-8?q?Vincent_Stehl?= =?utf-8?q?=C3=A9?= , Sughosh Ganu , Chris Packham From: Heinrich Schuchardt Subject: Pull request for efi-2022-07-rc4-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QpSdxRkJUS/xbkUkZ ykk211Cj9NuE553xfmfIm16I4o+Qt51DsAIwZucXqDCLyDBDZqDAWqAIJ7cJ666oe9B7cmVUc d+SVnu0wOQLAgmR9yHLOIfkEHK0hOfhKQL0zs1yj6445VdqCqWpxSwV9umUO8g/pmQpL2anPy FpORnTgXlDaYCU3kBo4nUFRP7xul+3ID70gfZvmZgzZe72IUovPYAGN0tHK8lzww/RgpsFExk TcXuXxPXpzDF3kk9rbZrOqXs3u1T/epm/7MYInidJg8/jLwPQ4/NgjNqh0kW5HtHwH+LDNWgU uQKu1CBs8i6MCSBpFCIE+J7x103HW79kYNUFbaPH091+GCzTrPlPveKtw== 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.5 at phobos.denx.de X-Virus-Status: Clean Dear Tom, The following changes since commit 90189ecd59cdf14afbe6014be5c068e599b65a72: Merge branch '2022-06-03-assorted-fixes' (2022-06-03 15:42:13 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-07-rc4-4 for you to fetch changes up to 8645aefc8b699f900d97cbadd55b7f492099c61e: efi: test/py: authenticate fit capsules (2022-06-04 08:43:55 +0200) Gitlab CI showed no issues: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/12196 ---------------------------------------------------------------- Pull request for efi-2022-07-rc4-4 UEFI: * Fix the implementation of the firmware management protocol * Fix the unit tests for signed update capsules ---------------------------------------------------------------- Chris Packham (1): doc: environment: Fix typo Sughosh Ganu (2): EFI: Populate descriptor_count value only when image_info_size is not zero EFI: Update the documentation to reflect the correct value of OsIndications Vincent Stehlé (2): test/py: efi_capsule: repair image authentication test efi: test/py: authenticate fit capsules doc/develop/uefi/uefi.rst | 2 +- doc/usage/environment.rst | 2 +- lib/efi_loader/efi_firmware.c | 120 ++++++++++------ test/py/tests/test_efi_capsule/conftest.py | 25 +++- test/py/tests/test_efi_capsule/test_capsule_firmware_signed_fit.py | 257 ++++++++++++++++++++++++++++++++++ ...st_capsule_firmware_signed.py => test_capsule_firmware_signed_raw.py} | 14 +- 6 files changed, 362 insertions(+), 58 deletions(-) create mode 100644 test/py/tests/test_efi_capsule/test_capsule_firmware_signed_fit.py rename test/py/tests/test_efi_capsule/{test_capsule_firmware_signed.py => test_capsule_firmware_signed_raw.py} (96%)