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 889B7C433FE for ; Sat, 22 Oct 2022 09:14:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD8E884F11; Sat, 22 Oct 2022 11:14:18 +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="C1Rh1Vew"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DACFD84F39; Sat, 22 Oct 2022 11:14:16 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 3252D84CDF for ; Sat, 22 Oct 2022 11:14:14 +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=1666430053; bh=xqkjj99TfgSuShuwb3xUfLDhabNCkhM2pwLGOLcryuQ=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=C1Rh1Vewf+QOyUV1nFK/lF2/knlOYZgrTuPxJIgnOSA/iYqF5oC2n7ilTBUfANKvK Swz+cH9NeAwGfyBUhC4ueZhfZ5UIC1KS7o4gN7OLqzu3ysAwC3xjOwHyDQatneZO4c 6hvBnqPzsVFrzaJ/Br6ovmmQ7tNd4WQXL8yDZ1i8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([84.118.157.2]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MLzBp-1oUM2z10Lp-00HzgD; Sat, 22 Oct 2022 10:31:28 +0200 Message-ID: <737bfe7e-8658-3d74-1116-4ed5af24cf6f@gmx.de> Date: Sat, 22 Oct 2022 10:31:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v3 0/6] eficonfig: add UEFI Secure Boot key maintenance interface Content-Language: en-US To: Masahisa Kojima Cc: Ilias Apalodimas , Takahiro Akashi , u-boot@lists.denx.de References: <20221014065705.5249-1-masahisa.kojima@linaro.org> From: Heinrich Schuchardt In-Reply-To: <20221014065705.5249-1-masahisa.kojima@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:pRvSyWan/NQl4kXuhIQNBFz4KnOTtua6CNytLEa9Pz5sYETqGdN XeUmLUHtkySIhB+xQa+ulSTVI14l7RRT5NgbWQE87Ds8eHAkaviKnONhNHFzEhHgfUta+Qr yqarlWO4NKYoc4fqNKb1pYilHTSH+QDgxOVU8zvFNMGbF387aTCoiFpGJOHERss9Yu6QDR8 bHcuE18ApFiTqLQJqFd7Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:7h6ZmKlfb8E=:XLvJmaXGGycQhUfi4HgRf7 6b01M65ZZsY+0L6neWsRd12QUfjBX/xa3Waa6E/c6MXPfXLPI5sG9Pd4VmwXrgWshXwRtWu26 1gHZ/hK+kzb/K6FAUnydQ9Qvq6P4ekMRsIsD6scvxMC/aw8lkhCU929QnbZZXI//S2YW1UqP4 Tvga0vpslWw8a+vTfW1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RNiwznC3dVKfNFTSlIWl0C4f8v3fDyrQgZaCfW/F8ky0zF3bz/sLSeH5JAHsbCIrWfhBynY z/V9EDghJeIUxEV7jEUISaANtveWuaeGWvdLQ4OBj7oN3lM9FdJqF10JL2MVNQwgc7ui/iyUu QoFGFqvTbbwkP/eARhgK8liA61hLBxI78r6qbNU6vvMSa+mbS/eMbBzz6D+62Cef+XnqgzySD rxsoTZ0HoycRvmHklKjpAl+M8bHHgVBFgMKix84YhEMrxIV/WiSGYqvzGYNw+sEaRMzeWqHjK ZTRTpnCzbdt0bCEK77vDHDYd4pAM8+uelsUX/C6uxYC0c 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 On 10/14/22 08:56, Masahisa Kojima wrote: > This series adds the UEFI Secure Boot key maintenance interface > to the eficonfig command. > User can enroll and delete the PK, KEK, db and dbx. > > Source code can be cloned with: > $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b = kojima/eficonfig_sbkey_v3 > > [Major Changes] > - rebased on top of u-boot/master > > Masahisa Kojima (6): > eficonfig: refactor eficonfig_select_file_handler() > eficonfig: expose append entry function > eficonfig: add UEFI Secure Boot Key enrollment interface > eficonfig: add "Show/Delete Signature Database" menu entry > test/eficonfig: support secure boot key maintenance menu > test: add test for eficonfig secure boot key management > > cmd/Makefile | 3 + > cmd/eficonfig.c | 48 +- > cmd/eficonfig_sbkey.c | 751 ++++++++++++++++++ > include/efi_config.h | 10 + > test/py/tests/test_eficonfig/conftest.py | 84 +- > test/py/tests/test_eficonfig/defs.py | 14 + > .../py/tests/test_eficonfig/test_eficonfig.py | 4 +- > .../test_eficonfig/test_eficonfig_sbkey.py | 472 +++++++++++ > 8 files changed, 1360 insertions(+), 26 deletions(-) > create mode 100644 cmd/eficonfig_sbkey.c > create mode 100644 test/py/tests/test_eficonfig/defs.py > create mode 100644 test/py/tests/test_eficonfig/test_eficonfig_sbkey.p= y > Python tests with this series fail. See https://source.denx.de/u-boot/custodians/u-boot-efi/-/jobs/518130 Please, run 'make tests' before resubmitting. Best regards Heinrich