Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225994

Re: [PATCH 1/1] x509: only prefix strip raw serial numbers

From Andy Whitcroft <apw@canonical.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] x509: only prefix strip raw serial numbers
Date 2015-09-16 13:00 +0200
Message-ID <q9iBr-2dA-3@gated-at.bofh.it> (permalink)
References <q8x9x-wy-19@gated-at.bofh.it> <q8VbQ-1dV-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 15, 2015 at 10:59:43AM +0100, David Howells wrote:
> Andy Whitcroft <apw@canonical.com> wrote:
> 
> > This leads us to truncate the id for kernel module signing keys and to
> > fail to recognise our own modules:
> > 
> >   [    1.572423] Loaded X.509 cert 'Build time autogenerated kernel
> >     key: 62a7c3d2da278be024da4af8652c071f3fea33'
> >   [    1.646153] Request for unknown module key 'Build time autogenerated
> >     kernel key: 0062a7c3d2da278be024da4af8652c071f3fea33' err -11
> 
> I don't suppose you've saved the key and a random small module that I can have
> a play with?

Sorry no, the key was an ephemeral key in those builds.  I did run a few
key builds to generate a new key with 0's to confirm this was possible.

> What version of the kernel are you using, btw?

Ahh yes, this was against a v4.2 final, I see that sign-file is all
changing to use openssl, so I will go confirm that this is not different
as a result.

-apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] x509: only prefix strip raw serial numbers Andy Whitcroft <apw@canonical.com> - 2015-09-14 10:20 +0200
  Re: [PATCH 1/1] x509: only prefix strip raw serial numbers David Howells <dhowells@redhat.com> - 2015-09-15 12:00 +0200
    Re: [PATCH 1/1] x509: only prefix strip raw serial numbers Andy Whitcroft <apw@canonical.com> - 2015-09-16 13:00 +0200
  Re: [PATCH 1/1] x509: only prefix strip raw serial numbers David Howells <dhowells@redhat.com> - 2015-09-17 00:30 +0200

csiph-web