Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:39028 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751626AbeEOMoI (ORCPT ); Tue, 15 May 2018 08:44:08 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4FCdf1i008364 for ; Tue, 15 May 2018 08:44:07 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hyy6fswng-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 15 May 2018 08:44:06 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 15 May 2018 13:44:04 +0100 Subject: Re: [PATCH 3/6] firmware: differentiate between signed regulatory.db and other firmware From: Mimi Zohar To: Josh Boyer , mcgrof@kernel.org Cc: Harald Hoyer , Hannes Reinecke , Johannes Thumshirn , "Eric W. Biederman" , Casey Schaufler , ast@kernel.org, David Miller , jeyu@kernel.org, Alexander Viro , One Thousand Gnomes , Matthew Garrett , Peter Jones , takahiro.akashi@linaro.org, David Howells , Linux Wireless , Kalle Valo , Seth Forshee , johannes.berg@intel.com, linux-integrity@vger.kernel.org, Hans de Goede , Ard Biesheuvel , linux-security-module , "Linux-Kernel@Vger. Kernel. Org" , Kees Cook , Greg KH , andresx7@gmail.com, Linus Torvalds , luto@kernel.org, Justin Forbes , Laura Abbott Date: Tue, 15 May 2018 08:43:39 -0400 In-Reply-To: References: <20180509212212.GX27853@wotan.suse.de> <1525903617.3551.281.camel@linux.vnet.ibm.com> <20180509234814.GY27853@wotan.suse.de> <1525917658.3551.322.camel@linux.vnet.ibm.com> <20180510232639.GF27853@wotan.suse.de> <1526014826.3414.46.camel@linux.vnet.ibm.com> <20180511215250.GJ27853@wotan.suse.de> <1526302692.3898.145.camel@linux.vnet.ibm.com> <20180514192853.GM27853@wotan.suse.de> <1526349751.3937.78.camel@linux.vnet.ibm.com> <20180515032656.GR27853@wotan.suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Message-Id: <1526388219.3937.137.camel@linux.vnet.ibm.com> (sfid-20180515_144413_208161_9BE7375C) Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2018-05-15 at 08:32 -0400, Josh Boyer wrote: > One aspect that was always a concern to some is whether the firmware files > were modified directly to have the signature attached to them. That may > run afoul of the "no modification" license that most blobs are shipped > under. Does IMA have the signatures for the files stored in xattrs or in > some other detached manner? They're stored as xattrs.  RPM has support for including file signatures in the RPM header. Mimi