From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id D07CE409 for ; Tue, 28 Jul 2015 16:44:44 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5D223D5 for ; Tue, 28 Jul 2015 16:44:44 +0000 (UTC) From: David Howells In-Reply-To: References: <20436.1438090619@warthog.procyon.org.uk> <1438096213.5441.147.camel@HansenPartnership.com> <1438097471.5441.152.camel@HansenPartnership.com> <1438099839.5441.165.camel@HansenPartnership.com> <1438100102.26913.183.camel@infradead.org> To: Andy Lutomirski MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30360.1438101879.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Tue, 28 Jul 2015 17:44:39 +0100 Message-ID: <30361.1438101879@warthog.procyon.org.uk> Cc: James Bottomley , Luis Rodriguez , "ksummit-discuss@lists.linuxfoundation.org" , Kyle McMartin Subject: Re: [Ksummit-discuss] [TECH TOPIC] Firmware signing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Andy Lutomirski wrote: > I'd really like to replace "the system trusted keyring" with > purpose-specific lists of keys. There are keys we trust to sign > modules, there are keys we trust to sign kexec things, there will be > keys to trust to sign firmware for any device, etc. I have some patches to restrict what a key is permitted to do - see the to= p few patches here: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=3D= fwsign-pkcs7 This involves marking the X.509 certs with the intended use case (or relyi= ng on the existing CA stuff for key-signing keys). I do put all the keys into one keyring on the basis that each key will be = used once and won't be added multiple times through separate X.509 certs that g= ive different usage restrictions for the same key. Given this, having just on= e keyring works fine. David