Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1055799ybl; Thu, 12 Dec 2019 09:00:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxMdF5etgcg+kGCVsqMwIdLLRzHgI9Xe0M1KUNSZH4bF/n3Oa9KMAVYw1JsPeUnFANI3jae X-Received: by 2002:aca:3012:: with SMTP id w18mr5866595oiw.33.1576170029815; Thu, 12 Dec 2019 09:00:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576170029; cv=none; d=google.com; s=arc-20160816; b=mNLsX2U6CbJLVs1JA7dWneU5dgHQPSjSi6tixMBzjKo2yrQkc6b0qn1KXzUgh59qeJ i15DX7Hd3QrurJbDSkBEVlCZW3fkOiI4paVMKAnSzrNcqdmzEQkBSV6RZdeB3l1IxLOw 8sTBAjcvixkprnwyh2FvFXZokTTuMVgVMThy7r1KUedhS7hJ5eVZGUBrYykHEnNs8HAy oDGz62WGQ8DGhMnI3jSXOb6l9b/rZfuGPRjnk6UTu+DrT2V3RtggPYKt/EqY0rkDqjVX tku/aBINBQ0zGnWIGD7s11qLSQIyEFkYrDGHMvch5b42vIikB1VHEzdcs9sb6EJJaDaM HWvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature:dkim-filter; bh=ySLNS1REyfh370oZ6WsELyIxjhx8R3R3aifd3RFR2iA=; b=tHOMkuMO9H14gR2sRlDJ+QYVJcVdwKjSNFOkhwrqUdcyx5hbxVQi+Fh8UGcibX9k8R d1SsgKafd7f9wMyHRUDSnGecqWiQ+gMyR4Sdxr5g83lYj0qb07xo9AhZqv7MmzV8W3rQ 7sMDCIF5WGyZXldh90cPcR8COTxlxjw6BDZc2zlmPJLTl8+b5vD7syMa8oOMpa7MhLjI fU0XCQJixw8GfTM/PsL9yN7ZixEXCWK/NsWLPeMjdVc3Jd6QqDRru6eeV4z4umZGtG1U KODFH7ca5Svhe4GW5EofBFHduNfNvfTCCrlMVKPzWgExa/yfhttQoocSdxLdvY4k/PTa x02g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=Ze9D4wHV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t130si3622216oib.202.2019.12.12.09.00.17; Thu, 12 Dec 2019 09:00:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=Ze9D4wHV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730032AbfLLQ6G (ORCPT + 99 others); Thu, 12 Dec 2019 11:58:06 -0500 Received: from linux.microsoft.com ([13.77.154.182]:53712 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729771AbfLLQ6G (ORCPT ); Thu, 12 Dec 2019 11:58:06 -0500 Received: from [10.137.112.108] (unknown [131.107.174.108]) by linux.microsoft.com (Postfix) with ESMTPSA id 88B0C20B7187; Thu, 12 Dec 2019 08:58:05 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 88B0C20B7187 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1576169885; bh=ySLNS1REyfh370oZ6WsELyIxjhx8R3R3aifd3RFR2iA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Ze9D4wHVjxSbbIKVNQ7i1ptu12wo4YtsTs/a2pItCcfOpI1vN00BlrdiJQlsDmMeX BaEvYRG7w5IfwWj4jTijgMve5BKKur6XeNWn0FfbqFeu37gPGafT7BhdeVBDzRaFft 87r8dCPjuiaNA0IvEuVsdgXg+BP4hJWjbG8uqEGA= Subject: Re: [PATCH v11 0/6] KEYS: Measure keys when they are created or updated To: Mimi Zohar , linux-integrity@vger.kernel.org Cc: eric.snowberg@oracle.com, dhowells@redhat.com, mathew.j.martineau@linux.intel.com, matthewgarrett@google.com, sashal@kernel.org, jamorris@linux.microsoft.com, linux-kernel@vger.kernel.org, keyrings@vger.kernel.org References: <20191211164707.4698-1-nramas@linux.microsoft.com> <1576160916.4579.151.camel@linux.ibm.com> From: Lakshmi Ramasubramanian Message-ID: <1f34f41a-f43d-0397-aed0-e43aab87ac42@linux.microsoft.com> Date: Thu, 12 Dec 2019 08:58:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <1576160916.4579.151.camel@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/12/19 6:28 AM, Mimi Zohar wrote: > Hi Lakshmi, > > On Wed, 2019-12-11 at 08:47 -0800, Lakshmi Ramasubramanian wrote: >> Keys created or updated in the system are currently not measured. >> Therefore an attestation service, for instance, would not be able to >> attest whether or not the trusted keys keyring(s), for instance, contain >> only known good (trusted) keys. >> >> IMA measures system files, command line arguments passed to kexec, >> boot aggregate, etc. It can be used to measure keys as well. >> But there is no mechanism available in the kernel for IMA to >> know when a key is created or updated. >> >> This change aims to address measuring keys created or updated >> in the system. > > Thank you!  This patch set is now queued in the next-integrity-testing > branch of https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux- > integrity.git/. > > Mimi > Thanks Mimi. -lakshmi