From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759035AbcDAOdh (ORCPT ); Fri, 1 Apr 2016 10:33:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51557 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758831AbcDAOdf (ORCPT ); Fri, 1 Apr 2016 10:33:35 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1459462702.2657.61.camel@linux.vnet.ibm.com> References: <1459462702.2657.61.camel@linux.vnet.ibm.com> <1459426888.2657.26.camel@linux.vnet.ibm.com> <1459166340.2751.52.camel@linux.vnet.ibm.com> <20160309111814.28811.95697.stgit@warthog.procyon.org.uk> <20160309111939.28811.7952.stgit@warthog.procyon.org.uk> <12767.1459354776@warthog.procyon.org.uk> <13142.1459437486@warthog.procyon.org.uk> <1459439733.2657.41.camel@linux.vnet.ibm.com> To: Mimi Zohar Cc: dhowells@redhat.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 12/12] IMA: Use the the system trusted keyrings instead of .ima_mok [ver #3] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29225.1459521213.1@warthog.procyon.org.uk> Date: Fri, 01 Apr 2016 15:33:33 +0100 Message-ID: <29226.1459521213@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mimi Zohar wrote: > The only place where "KEY_ALLOC_BYPASS_RESTRICTION" is specified is in > load_system_certificate_list(), when adding keys to > the .builtin_trusted_keys keyring. There is no other set of keys > builtin and added to the IMA keyring. Are the keys loaded by integrity_load_x509() required to be validly signed by the builtin/secondary keys? Or is that unnecessary given that they are loaded and thus protected through integrity_read_file()? David