Message ID | 20230130141553.3825449-1-jlu@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2203234wrn; Mon, 30 Jan 2023 06:18:23 -0800 (PST) X-Google-Smtp-Source: AK7set9p6CYTmT1kNDL9IjDcDqV47Vxx2QOeJmmZM4K2S4Ius70oGAiPuckvZ8iz2lo8C6ft+LRW X-Received: by 2002:a17:906:3bc1:b0:888:367f:14f7 with SMTP id v1-20020a1709063bc100b00888367f14f7mr4130338ejf.50.1675088303291; Mon, 30 Jan 2023 06:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675088303; cv=none; d=google.com; s=arc-20160816; b=Vr6Ghw2Cde2tgdhaKR2F+sxksShdvGeHz5IC8/08cMpR207/1S/HMKpThubCFAn5DH SFBJU1MAsG4nxC4vEAcUDW9Wvhz0choxRO6zBxmAXxJrt6qtJ0r3b5PnRyHPJI39THIm eUFk84Z+BwPR11d9Cs7fozO88eK7L+ZNcwgQNB8LOdaGKv38zzQ6qRFdlQAaymSF1lu4 yIqxFQKHWk8IC8GsssrZG0ZgxHcNMI4qUb1D3wSkS+wUjQbjubnYCRNDCqqJWOI/qldn q34TPUvA1Cw40VTfM8nD9Lt5B3syvEb+yg6sick1ld5UaK7US31Ifgc+X89jPUaTbyEu 0vSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6Be5JqnJb1/QutDBuKtEOSXFswV4lg2P+0RvxnWySrg=; b=oKzuZjSUfRurYhMUCZqimDA/UQqbHzY3TuyWv6AyEicYHIW5F4CHDJFVGC/Kuc9IFN EGwMtLm23bJajkjhR66BvYwqxJXdghs1f4TDkwwXK4yWkFHm9791UgXA/iMXuaEeP1vo zZiaNdW4z7DEy8NV6I1j9faMmUhypZRKDn8mlI0FVTKoefO94xAjaH4N9+3G67y+CuOq qUSoXnHUU9Tr9ne0tEfWfg58scd0RpPrW2dG86Pu0ab69OAvIOtphXKtnDY5H0LLg8r7 Uh1vk7cQGhIKyZu6wltu0C0f9K/U/EqDNDuYA/5jlQTYDKFQqg3YdO/H0YStK+IqtI12 LJGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a170906104c00b0087875900d27si14754109ejj.94.2023.01.30.06.17.59; Mon, 30 Jan 2023 06:18:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237421AbjA3ORA (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Mon, 30 Jan 2023 09:17:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237418AbjA3OQp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 09:16:45 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567893CE32 for <linux-kernel@vger.kernel.org>; Mon, 30 Jan 2023 06:16:42 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <jlu@pengutronix.de>) id 1pMUxF-0004Dq-Nf; Mon, 30 Jan 2023 15:16:17 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <jlu@pengutronix.de>) id 1pMUxF-001UGs-SI; Mon, 30 Jan 2023 15:16:16 +0100 Received: from jlu by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <jlu@pengutronix.de>) id 1pMUxD-00GEro-D4; Mon, 30 Jan 2023 15:16:15 +0100 From: Jan Luebbe <jlu@pengutronix.de> To: Masahiro Yamada <masahiroy@kernel.org> Cc: Jan Luebbe <jlu@pengutronix.de>, David Howells <dhowells@redhat.com>, David Woodhouse <dwmw2@infradead.org>, keyrings@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 0/2] Fix module signing with PKCS#11 URIs Date: Mon, 30 Jan 2023 15:15:51 +0100 Message-Id: <20230130141553.3825449-1-jlu@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: jlu@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756457392935659910?= X-GMAIL-MSGID: =?utf-8?q?1756457392935659910?= |
Series |
Fix module signing with PKCS#11 URIs
|
|
Message
Jan Lübbe
Jan. 30, 2023, 2:15 p.m. UTC
Hi, here are two patches to fix kernel module signing when using a key via PKCS#11, including the case where the URI contains semicolons to separate components. Best regards, Jan Jan Luebbe (2): certs: Fix build error when PKCS#11 URI contains semicolon kbuild: modinst: Fix build error when CONFIG_MODULE_SIG_KEY is a PKCS#11 URI certs/Makefile | 2 +- scripts/Makefile.modinst | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-)