Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7]
From: David Howells
Date: Mon Aug 10 2015 - 22:13:11 EST
James Morris <jmorris@xxxxxxxxx> wrote:
> On Mon, 10 Aug 2015, David Howells wrote:
>
> > James Morris <jmorris@xxxxxxxxx> wrote:
> >
> > > I get a build failure:
> > >
> > > HOSTCC scripts/sign-file
> > > scripts/sign-file.c:20:25: error: openssl/bio.h: No such file or directory
> > >
> > > followed by many lines of error.
> >
> > What openssl do you have installed and do you have the -devel packages for it
> > installed? In particular libcrypto.
>
> openssl-1.0.1e-30.el6.11.x86_64
>
> and not the devel packages.
Yeah, you need the openssl-devel package now. There's some stuff using the
library directly allows us to do that you can't do with just the command line
tool.
This is mentioned in the
MODSIGN: Provide a utility to append a PKCS#7 signature to a module
commit description.
Note that the utility is written in C and must be linked against the
OpenSSL crypto library.
Would it help to update the module-signing.txt document, the config option or
the git pull request/cover note?
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/