Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933060Ab2FEBHN (ORCPT ); Mon, 4 Jun 2012 21:07:13 -0400 Received: from ozlabs.org ([203.10.76.45]:41859 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757497Ab2FEBHJ convert rfc822-to-8bit (ORCPT ); Mon, 4 Jun 2012 21:07:09 -0400 From: Rusty Russell To: Josh Boyer Cc: David Howells , kyle@mcmartin.ca, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@linux-nfs.org Subject: Re: [PATCH 00/23] Crypto keys and module signing In-Reply-To: References: <8762blyedn.fsf@rustcorp.com.au> <87obpfxdpr.fsf@rustcorp.com.au> <20120522230218.24007.3556.stgit@warthog.procyon.org.uk> <7474.1337782847@redhat.com> <5107.1337868051@redhat.com> <87r4u6w58c.fsf@rustcorp.com.au> <87lik33mi6.fsf@rustcorp.com.au> User-Agent: Notmuch/0.12 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Tue, 05 Jun 2012 09:53:30 +0930 Message-ID: <8762b6k3nh.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 24 On Mon, 4 Jun 2012 09:38:43 -0400, Josh Boyer wrote: > On Sun, Jun 3, 2012 at 9:16 PM, Rusty Russell wrote: > > Mangling a module after it is signed is very odd, and odd things aren't > > nice for security features.  That's how we got here; I'm trying to move > > the oddness out of the verification path. > > It's unfortunate, yes. The biggest case I can think of is splitting > the debug symbols out of the modules after they are built (David might > have other cases). Perhaps we could upstream that as well and > organize it such that the modules are built, split for debuginfo, and > then signed? That was my original suggestion. Just prepare all the module variants at build time, and sign them all. See: https://lkml.org/lkml/2011/12/10/16 Cheers, Rusty. -- 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/