Re: Module signing broken after SYSTEM_DATA_VERIFICATION commit?

From: David Howells
Date: Fri Aug 28 2015 - 06:24:06 EST


Valdis Kletnieks <Valdis.Kletnieks@xxxxxx> 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
--
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/