From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752208AbbH1KYA (ORCPT ); Fri, 28 Aug 2015 06:24:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54284 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751714AbbH1KX6 (ORCPT ); Fri, 28 Aug 2015 06:23:58 -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: <186755.1440729515@turing-police.cc.vt.edu> References: <186755.1440729515@turing-police.cc.vt.edu> To: Valdis Kletnieks Cc: dhowells@redhat.com, David Woodhouse , linux-kernel@vger.kernel.org Subject: Re: Module signing broken after SYSTEM_DATA_VERIFICATION commit? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11331.1440757434.1@warthog.procyon.org.uk> Date: Fri, 28 Aug 2015 11:23:54 +0100 Message-ID: <11332.1440757434@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Valdis Kletnieks wrote: > [ 31.829322] PKCS7: Unknown OID: [32] 2.16.840.1.101.3.4.2.3 > [ 31.829328] PKCS7: Unknown OID: [180] 2.16.840.1.101.3.4.2.3 OID_sha1, /* 1.3.14.3.2.26 */ OID_sha256, /* 2.16.840.1.101.3.4.2.1 */ I suspect I'm missing something here in oid_registry.h. Looking online, I see: id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 } id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 } id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 } id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 } id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 } id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 } Are you perchance using sha512 hashes in your signatures? David