From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755936AbbIOJ7u (ORCPT ); Tue, 15 Sep 2015 05:59:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56554 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754063AbbIOJ7r (ORCPT ); Tue, 15 Sep 2015 05:59:47 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1442218417-24897-1-git-send-email-apw@canonical.com> References: <1442218417-24897-1-git-send-email-apw@canonical.com> To: Andy Whitcroft Cc: dhowells@redhat.com, Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] x509: only prefix strip raw serial numbers MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10880.1442311183.1@warthog.procyon.org.uk> Date: Tue, 15 Sep 2015 10:59:43 +0100 Message-ID: <10881.1442311183@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andy Whitcroft 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? What version of the kernel are you using, btw? David