[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAASaF6zA4MDZ-jW8OCp6WrrKD_QkxFrA5CUCtZV8JzyXdr9Orw@mail.gmail.com>
Date: Fri, 2 Aug 2024 20:27:17 +0200
From: Jan Stancek <jstancek@...hat.com>
To: Jarkko Sakkinen <jarkko.sakkinen@....fi>
Cc: Herbert Xu <herbert@...dor.apana.org.au>, dhowells@...hat.com, dwmw2@...radead.org,
keyrings@...r.kernel.org, linux-kernel@...r.kernel.org,
Jarkko Sakkinen <jarkko@...nel.org>
Subject: Re: [PATCH 0/3] sign-file,extract-cert: switch to PROVIDER API for
OpenSSL >= 3.0
On Fri, Aug 2, 2024 at 8:07 PM Jarkko Sakkinen <jarkko.sakkinen@....fi> wrote:
>
> On Fri Aug 2, 2024 at 4:10 PM EEST, Herbert Xu wrote:
> > On Fri, Jul 12, 2024 at 09:11:13AM +0200, Jan Stancek wrote:
> > > The ENGINE interface has its limitations and it has been superseded
> > > by the PROVIDER API, it is deprecated in OpenSSL version 3.0.
> > > Some distros have started removing it from header files.
> > >
> > > Update sign-file and extract-cert to use PROVIDER API for OpenSSL Major >= 3.
> > >
> > > Tested on F39 with openssl-3.1.1, pkcs11-provider-0.5-2, openssl-pkcs11-0.4.12-4
> > > and softhsm-2.6.1-5 by using same key/cert as PEM and PKCS11 and comparing that
> > > the result is identical.
> > >
> > > Jan Stancek (3):
> > > sign-file,extract-cert: move common SSL helper functions to a header
> > > sign-file,extract-cert: avoid using deprecated ERR_get_error_line()
> > > sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3
> > >
> > > MAINTAINERS | 1 +
> > > certs/Makefile | 2 +-
> > > certs/extract-cert.c | 138 +++++++++++++++++++++++--------------------
> > > scripts/sign-file.c | 134 +++++++++++++++++++++--------------------
> > > scripts/ssl-common.h | 32 ++++++++++
> > > 5 files changed, 178 insertions(+), 129 deletions(-)
> > > create mode 100644 scripts/ssl-common.h
> >
> > Adding Cc to Jarkko Sakkinen <jarkko@...nel.org>.
>
> I can download this but is it likely that there will be v2? If so,
> I'll hoold on for that. If not, I'll download it.
Noone requested any changes to v1 so far, so if you can have a look,
it would be much appreciated.
Thanks,
Jan
>
> BR, Jarkko
>
Powered by blists - more mailing lists