From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753875AbbFAPuw (ORCPT ); Mon, 1 Jun 2015 11:50:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60872 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753809AbbFAPud convert rfc822-to-8bit (ORCPT ); Mon, 1 Jun 2015 11:50:33 -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: References: <20150528154605.1259.42518.stgit@warthog.procyon.org.uk> <20150528154834.1259.22434.stgit@warthog.procyon.org.uk> <5567C131.8050005@kernel.org> <29091.1432903229@warthog.procyon.org.uk> To: Andy Lutomirski Cc: dhowells@redhat.com, Andy Lutomirski , Luis Rodriguez , Matthew Garrett , keyrings@linux-nfs.org, Greg Kroah-Hartman , Kyle McMartin , Linux Wireless List , Linux Kernel Mailing List , Seth Forshee , LSM List , Mimi Zohar , David Woodhouse Subject: Re: [PATCH 16/20] PKCS#7: Add an optional authenticated attribute to hold firmware name [ver #5] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16915.1433173823.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Mon, 01 Jun 2015 16:50:23 +0100 Message-ID: <16916.1433173823@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andy Lutomirski wrote: > > You can also fudge the signature (or a hash) by adding extra data to or > > modifying the data blob and by switching signature values between signature > > blobs. > > So there's another design error in PKCS#7? Great! No. This applies to *all* signatures where you're signing a hash. David