Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755292AbaFKCWf (ORCPT ); Tue, 10 Jun 2014 22:22:35 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:49513 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbaFKCWd (ORCPT ); Tue, 10 Jun 2014 22:22:33 -0400 Date: Wed, 11 Jun 2014 03:22:22 +0100 From: Matthew Garrett To: Mimi Zohar Cc: Dmitry Kasatkin , Josh Boyer , David Howells , Dmitry Kasatkin , keyrings , "linux-kernel@vger.kernel.org" , linux-security-module Subject: Re: [PATCH 0/4] KEYS: validate key trust with owner and builtin keys only Message-ID: <20140611022222.GA2349@srcf.ucam.org> References: <20140610122008.GA31944@hansolo.jdub.homelinux.org> <20140610204021.GA8916@srcf.ucam.org> <20140610212516.GB10614@srcf.ucam.org> <20140610214038.GA13881@srcf.ucam.org> <1402449893.612.14.camel@dhcp-9-2-203-236.watson.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1402449893.612.14.camel@dhcp-9-2-203-236.watson.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 10, 2014 at 09:24:53PM -0400, Mimi Zohar wrote: > On Tue, 2014-06-10 at 22:40 +0100, Matthew Garrett wrote: > > The hole is that the system trusts keys that you don't trust. The > > appropriate thing to do is to remove that trust from the entire system, > > not just one layer of the system. If people gain the impression that > > they can simply pass a kernel parameter and avoid trusting the vendor > > keys, they'll be upset to discover that it's easily circumvented. > > Assuming I remove all the keys I don't trust, there are still keys that > are trusted while booting, but are not necessary afterwards. We should > be able to limit the scope of where and when keys are trusted. Providing a userspace mechanism for selectively dropping keys from the kernel seems like a good thing? -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/