From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 12 Apr 2023 08:29:26 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pmTyv-000nFB-9U for lore@lore.pengutronix.de; Wed, 12 Apr 2023 08:29:26 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pmTyu-0007IC-Gz; Wed, 12 Apr 2023 08:29:24 +0200 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 ) id 1pmTyK-0007I3-JU; Wed, 12 Apr 2023 08:28:48 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pmTyJ-00Afnf-Kl; Wed, 12 Apr 2023 08:28:47 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pmTyI-00EPRx-PK; Wed, 12 Apr 2023 08:28:46 +0200 Date: Wed, 12 Apr 2023 08:28:46 +0200 From: Michael Olbrich To: Robin van der Gracht Message-ID: Mail-Followup-To: Robin van der Gracht , ptxdist@pengutronix.de References: <20230406145016.3074015-1-robin@protonic.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230406145016.3074015-1-robin@protonic.nl> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 1/3] rules: opensc: Version bumb to 0.23.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Apr 06, 2023 at 04:50:14PM +0200, Robin van der Gracht wrote: > Signed-off-by: Robin van der Gracht With this update pkcs11-tool (from host-opensc) does not work correctly any more. I'm getting "error: OpenSSL error during RSA private key parsing" and then a segfault. For example with the host-ptx-code-signing-dev package. I'm not sure what's wrong here. Michael > --- > rules/host-opensc.make | 2 +- > rules/opensc.make | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/rules/host-opensc.make b/rules/host-opensc.make > index 0319064fd..24488de38 100644 > --- a/rules/host-opensc.make > +++ b/rules/host-opensc.make > @@ -40,7 +40,7 @@ HOST_OPENSC_CONF_OPT := \ > --disable-doc \ > --disable-dnie-ui \ > --disable-notify \ > - --enable-tests=no \ > + --disable-cmocka \ > --disable-static > > HOST_OPENSC_CPPFLAGS := -Wno-implicit-fallthrough > diff --git a/rules/opensc.make b/rules/opensc.make > index 0278c53f1..dac5c3ecb 100644 > --- a/rules/opensc.make > +++ b/rules/opensc.make > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_OPENSC) += opensc > # > # Paths and names > # > -OPENSC_VERSION := 0.19.0 > -OPENSC_MD5 := 40734b2343cf83c62c4c403f8a37475e > +OPENSC_VERSION := 0.23.0 > +OPENSC_MD5 := 35c599e673ae9205550974e2dcbe0825 > OPENSC := OpenSC-$(OPENSC_VERSION) > OPENSC_SUFFIX := tar.gz > OPENSC_URL := https://github.com/OpenSC/OpenSC/releases/download/$(OPENSC_VERSION)/$(OPENSC).$(OPENSC_SUFFIX) > @@ -56,7 +56,7 @@ OPENSC_CONF_OPT := \ > --disable-doc \ > --disable-dnie-ui \ > --disable-notify \ > - --$(call ptx/endis,PTXCONF_OPENSC_TESTSUITE)-tests \ > + --$(call ptx/endis,PTXCONF_OPENSC_TESTSUITE)-cmocka \ > --disable-static > > # ---------------------------------------------------------------------------- > -- > 2.37.2 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |