From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753441AbdKMTIx (ORCPT ); Mon, 13 Nov 2017 14:08:53 -0500 Received: from mx2.suse.de ([195.135.220.15]:50544 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbdKMTIu (ORCPT ); Mon, 13 Nov 2017 14:08:50 -0500 Date: Mon, 13 Nov 2017 20:08:48 +0100 From: "Luis R. Rodriguez" To: "Luis R. Rodriguez" Cc: Mimi Zohar , "AKASHI, Takahiro" , Linus Torvalds , Greg Kroah-Hartman , Jan Blunck , Julia Lawall , David Howells , Andy Lutomirski , David Woodhouse , Marcus Meissner , Gary Lin , Josh Triplett , Ben Hutchings , Kyle McMartin , James Bottomley , Peter Jones , linux-security-module@vger.kernel.org, gnomes@lxorguk.ukuu.org.uk, linux-efi , linux-kernel@vger.kernel.org, Matthew Garrett Subject: Re: Firmware signing -- Re: [PATCH 00/27] security, efi: Add kernel lockdown Message-ID: <20171113190848.GD22894@wotan.suse.de> References: <150842463163.7923.11081723749106843698.stgit@warthog.procyon.org.uk> <14219.1509660259@warthog.procyon.org.uk> <1509660641.3416.24.camel@linux.vnet.ibm.com> <20171107230700.GJ22894@wotan.suse.de> <20171108061551.GD7859@linaro.org> <20171108194626.GQ22894@wotan.suse.de> <20171109014841.GF7859@linaro.org> <20171110014641.GO22894@wotan.suse.de> <1510321506.3359.42.camel@linux.vnet.ibm.com> <20171113185035.GB22894@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171113185035.GB22894@wotan.suse.de> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 13, 2017 at 07:50:35PM +0100, Luis R. Rodriguez wrote: > On Fri, Nov 10, 2017 at 08:45:06AM -0500, Mimi Zohar wrote: > It does not mean we don't have to support hashes from the start, we can, > however that could require a driver change where its hash is specified or > preferred, for instance. Actually the pseudo code I just demo'd on your RFC proposal shows how we could support the hashes for firmware an optional first policy and if that fails check the fw signature if present. So no driver changes would be needed other than key'ing a respective hash for the firmware, which can just be a macro driver addition, not an API call change. Luis