Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4764852ybl; Mon, 26 Aug 2019 15:47:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDhhDnTil9PN0YqnbF5u4muhtEqifWBl5g56+94kl70cFwZk+Zv5WQJ+FP6yGtKbkC7c3i X-Received: by 2002:a17:902:be15:: with SMTP id r21mr20668339pls.293.1566859652815; Mon, 26 Aug 2019 15:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566859652; cv=none; d=google.com; s=arc-20160816; b=KHYOiyLY3zho0IywQr0mJXWvOhXS3qlnUlkJqgaFpJmE0Pc6P6Eij5bffsAc749eCj RERNJc4k68H6rFTxa4D9l+idyFgjJLlpBIBMC63Pf0cYM5UhOHYyvfsUjynHRV/Tn77w MkbhdS8cOuIWHp54WP9ppMOEkOYwryt7oFONatFbOKNnIxr/wlN4Bi/moEDY6OW7oGSK t5tW8YC6crWZIgm8sUhKrRUelkHd1KoyeV8Dpcapfw9qgtRlU5D2egZSVkK9fdbJrkvO pkc/lhFa2sC43FJV+mxFbfdLXehOqTbOAWxFBDcOJx/rc0s/MKL3MsSyCHpTV64B3/TR okig== 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-filter; bh=rXkxZoac7lyBMqH4j4DgPH2axt49wFQzSExvU17V9d8=; b=hH5WlCQr0YUHB8vLOVcLr6YNC69Epr+CYqLk72spetqv91psgR9GDj1b554OSMaGeX zOlL8v/rt8e/3twrDkWRovCzcvCpar36ilV8zeP7VBzkdD6St4eQknL7BZ3Msl8HfIp4 uUN66WWBfkMC5y5V4vu1ndCFnHFeiG89/oB3aEXBgqcLEA3DdhMTzICGoofRzlsR+HKo ugTjaucLyJTM0+VYMFC25KmR75TFu7aRx9r3QymWRJBjxCN9xH7lmfUGK9jls+oUlxjj F608eHhFOzppfy6odFWQeh8zHET5TEGWZLVePjycWc2gFisaONQi8RdxtGmJcvaySjb7 IHtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (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 r16si9997423pgh.385.2019.08.26.15.47.10; Mon, 26 Aug 2019 15:47:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbfHZWq7 (ORCPT + 99 others); Mon, 26 Aug 2019 18:46:59 -0400 Received: from linux.microsoft.com ([13.77.154.182]:36240 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbfHZWq6 (ORCPT ); Mon, 26 Aug 2019 18:46:58 -0400 Received: from [10.91.6.157] (unknown [167.220.2.157]) by linux.microsoft.com (Postfix) with ESMTPSA id D15B720B7186; Mon, 26 Aug 2019 15:46:57 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D15B720B7186 Subject: Re: [PATCH v12 00/11] Appended signatures support for IMA appraisal To: Thiago Jung Bauermann , linux-integrity@vger.kernel.org Cc: linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Mimi Zohar , Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , David Howells , David Woodhouse , Jessica Yu , Herbert Xu , "David S. Miller" , Jonathan Corbet , "AKASHI, Takahiro" References: <20190628021934.4260-1-bauerman@linux.ibm.com> From: Jordan Hand Message-ID: <9682b5d0-1634-2dd0-2cbb-eb1fa8ba7423@linux.microsoft.com> Date: Mon, 26 Aug 2019 15:46:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190628021934.4260-1-bauerman@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 6/27/19 7:19 PM, Thiago Jung Bauermann wrote: > On the OpenPOWER platform, secure boot and trusted boot are being > implemented using IMA for taking measurements and verifying signatures. > Since the kernel image on Power servers is an ELF binary, kernels are > signed using the scripts/sign-file tool and thus use the same signature > format as signed kernel modules. > > This patch series adds support in IMA for verifying those signatures. > It adds flexibility to OpenPOWER secure boot, because it allows it to boot > kernels with the signature appended to them as well as kernels where the > signature is stored in the IMA extended attribute. I know this is pretty late, but I just wanted to let you know that I tested this patch set on x86_64 with QEMU. That is, I enrolled a key to _ima keyring, signed my kernel and modules with appended signatures (with scripts/sign-file), set the IMA policy to appraise and measure my kernel and modules. Also tested kexec appraisal. You can add my tested-by if you'd like. -Jordan