Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2879128pxb; Fri, 5 Nov 2021 06:16:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLIzwDWsBjbwsD9XbEDIlvCZtVSn3SafGMxa0xzpEFFfSlblObsOZyltGVqlGXMud1ZoEy X-Received: by 2002:a92:a304:: with SMTP id a4mr39316465ili.78.1636118200820; Fri, 05 Nov 2021 06:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636118200; cv=none; d=google.com; s=arc-20160816; b=Xt2I2yXcOX59LdOeyBNmCvyFaPhdjBIprlyGmHZWMBK8dvcjQtSi+fnFLtTxSbWPLW mIYPg36W9UlyoYWMKbxJmrXqJi/ipPPFZGPLS1Ga0+kl7pY164evlPX8apOs0drNgAGM PpqBKiTf7yfGTIyNG5zIG5LEb9hyc0jLxtbn8BmFLyzXooI3gldzlgBPuwU/LjKfrzMX 8dNDPWxK+qnoSR9GhmZpDzkUD+lsn/rKYvt4OFtSgA3Fhrexwqhuf8DF9X0Nt/qs6AV0 9rXKHEBp2Z5tgqNGDIzdLrnysh+pSojSlGKwzQ5tXoVS7h5NAr9zMTGkX1p0nbPegQyz PCcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=GJZ3yTXhrzi4whvrAIl3BNUnX0rED/L5GxqfhBDh6mo=; b=dPYNp7LamCWuutMJgXc0HTVe2fHzy2syQb5DL3KU1lQslMdWR2KjDkFbuVw/Ze1xT1 C4skLQag6VJKR46//KFeAHFTwc2mJWLm7hmvMhP/qqDqUDsOaReEm+B2lXPxRp1CJI32 Ax04gR9aIxesE7ncgTuZQG4iDohNobTvkMhPSL5dEvODbKx9p3ndayzPI8KSiQCb2tUN EX859eU0lR1UJXK5k5XrDYm1qGIFVErPmuLqWO7QLu0j9tXFvYR6wESI7YGJjU+YSdcC 7MrwUbIDf2lhbhf/vo2okDOFtkGvT7thVn3aGQ7laOo2hZBlr1TRpuykuZyd0A2qCdHI IPXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gZlL3n9d; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si16623736jak.129.2021.11.05.06.16.26; Fri, 05 Nov 2021 06:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gZlL3n9d; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232697AbhKENQ6 (ORCPT + 99 others); Fri, 5 Nov 2021 09:16:58 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:33204 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232637AbhKENQo (ORCPT ); Fri, 5 Nov 2021 09:16:44 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6DE281FD37; Fri, 5 Nov 2021 13:14:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1636118043; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GJZ3yTXhrzi4whvrAIl3BNUnX0rED/L5GxqfhBDh6mo=; b=gZlL3n9dgK20NLv/q4Tjf8za+Zyb+vEPJJUCccpbyATFt+Y7qamzrZHILKT9OUJ1BDOpPE 6AUtJ39tV5G5CkBXkovM3M0AimFa/4v0orHsoAiPnLPL+Vrp3xHSbaFeI/V2Mvx06BDd4U xagoOQY0ft2lt1LbyFCz+E2f+cfSCJs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1636118043; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GJZ3yTXhrzi4whvrAIl3BNUnX0rED/L5GxqfhBDh6mo=; b=rpqjS5Jwt1qeWSytrXnsbDBHXb+K6Ov6jka10AwhMpvrngwpe4rn1SqFeZHtW9mE0QF0xO 5yTO9V5A3dK305DQ== Received: from kunlun.suse.cz (unknown [10.100.128.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id DA9E12C144; Fri, 5 Nov 2021 13:14:02 +0000 (UTC) Date: Fri, 5 Nov 2021 14:14:01 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Daniel Axtens Cc: keyrings@vger.kernel.org, Rob Herring , linux-s390@vger.kernel.org, Vasily Gorbik , Lakshmi Ramasubramanian , Heiko Carstens , Jessica Yu , linux-kernel@vger.kernel.org, David Howells , Christian Borntraeger , Luis Chamberlain , Paul Mackerras , Hari Bathini , Alexander Gordeev , linuxppc-dev@lists.ozlabs.org, Frank van der Linden , Thiago Jung Bauermann Subject: Re: [PATCH 0/3] KEXEC_SIG with appended signature Message-ID: <20211105131401.GL11195@kunlun.suse.cz> References: <87czneeurr.fsf@dja-thinkpad.axtens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87czneeurr.fsf@dja-thinkpad.axtens.net> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 05, 2021 at 09:55:52PM +1100, Daniel Axtens wrote: > Michal Suchanek writes: > > > S390 uses appended signature for kernel but implements the check > > separately from module loader. > > > > Support for secure boot on powerpc with appended signature is planned - > > grub patches submitted upstream but not yet merged. > > Power Non-Virtualised / OpenPower already supports secure boot via kexec > with signature verification via IMA. I think you have now sent a > follow-up series that merges some of the IMA implementation, I just > wanted to make sure it was clear that we actually already have support So is IMA_KEXEC and KEXEC_SIG redundant? I see some architectures have both. I also see there is a lot of overlap between the IMA framework and the KEXEC_SIG and MODULE_SIg. Thanks Michal