Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1650233rdb; Wed, 31 Jan 2024 05:19:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IESIqSHgeCY3M7RahJniINXzolG5cfBW3gdwzi8dU+Ha8dGmEfdFqTNdYPYVdqihKIBtx9w X-Received: by 2002:ac8:4e84:0:b0:42a:a6bf:ae63 with SMTP id 4-20020ac84e84000000b0042aa6bfae63mr1915764qtp.30.1706707173172; Wed, 31 Jan 2024 05:19:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706707173; cv=pass; d=google.com; s=arc-20160816; b=GG9R6pmzeehyTwbw9uQeECI9Nk5X7N1DmTh++HSquP9vTp3j4W5ZN5bjugm3dOxJUm h0MeJYBKxyrew3izg0230awv/lalVq7gZh7rmB8GuLRbzyP4qH1w+wvpnPHEfuFo8Ocu XrW8xfEYsnSeUkYqoq+GgLwBLPpkmnOlxitwLpj8HmMtCIGhlOzDOYVFhDHhPmkXo4ro GSqHU0IvkY1kuljmT+55U+6pxokZXzv0CEWt/HwF8XfIyy6nJzcJjzm+TUXzpL10dci2 s0f98KP9WzUBy5jb70Bt+9+bLTX+RFmcPDKgMwXdss5I1waQtAOQ3wvHqOxx3sOkh6iu tP/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=hvDVoSzxIpLOg4w5gixXPSq5JELWl7gfLFSeBIClhM0=; fh=u4qtSZIBL+d9e53rO6FAP319O/DRwhJlJRP0NMr5R0Q=; b=tpgPhceo6EG0bZEf1Er3fH7yXPMJkKA1IjlA6bLPnLurX/klRx82lcsaNHROR//RBt VW+QQdIoGQp+st1jmg2KC0A02nanBE0TwJ0gPjd0jAvj/MOrE2M35d7gmSO6yD6pqB8H bqyhiuf0dfgc/YgmVEDAiEV7tdVANsA/xOTshK5cF9kmTZ+2CQK0lGqi0/oVK+MehsnG RvJ1X1/OiS7NEthn4KelowwBt7PeM0v3GcE3EqGv6G7HyTR14lxt9FIU1cbpim3IKhd5 zn7U3SnFGyJ7Pssr6LpzuCSXUYHnAGRqNU3cWgTo6BLZCjguZmR/hOhyUclKOpjXR6eY cFqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CPFzVMGY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCVdJbr79RtmZ66Y3HkKRWvgz6t4xdhtZYoqcoUwG3REqHb+BAfumjz6pxBjbrVnzYR1QNPGWSGiMUVN/Q3VUybAGPOlVcf7oBiOLYBENA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f17-20020a05622a105100b0042becd4c07fsi564027qte.268.2024.01.31.05.19.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:19:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CPFzVMGY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E559C1C263C7 for ; Wed, 31 Jan 2024 13:19:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDC927D3FF; Wed, 31 Jan 2024 13:19:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CPFzVMGY" Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C2037BAE8; Wed, 31 Jan 2024 13:19:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706707147; cv=none; b=sb6IOqGYXOLiyDssyF6D9mIk7z6HzcTGSD4we1RSKycrgx1rn14IUXHQfyrC7dpNU0TL9toFi163BstOfo9Q24j5BCEuh2eS3rV1CAjw00SPZzjL6QdnsUvc6o4ezBDQvLrOCzzZ47V8tRK9xKUvhAv9L0OgPkwcKlmaGNjwIFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706707147; c=relaxed/simple; bh=hvDVoSzxIpLOg4w5gixXPSq5JELWl7gfLFSeBIClhM0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=FdKcLQr1UnvfaCb03QoaZmjaEvL/LXdCEJO+K7k9f7WN0uKKn36D1Jg6z4+C4xf21jZcbgtOpu4ZyhQXwPvKnF8K9cGqbZhvEnQbE6OnbfIKMRJSfyZo00HvY24eAnUis+NdDcnhja4FjnDWZIvLs2M8BrlNRRvQgTXS008pFyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CPFzVMGY; arc=none smtp.client-ip=209.85.219.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-68c4673eff5so25301666d6.1; Wed, 31 Jan 2024 05:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706707144; x=1707311944; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hvDVoSzxIpLOg4w5gixXPSq5JELWl7gfLFSeBIClhM0=; b=CPFzVMGYBHPgyHQ03zXulOOMh8MrYkENLicG+8aQtkReUVVKRT4fyHtqP7pjMkJO3n ii0wDYuVOoo/3yW7UU85z2ErsXWLXgrLvodOSDnMRvutfhGPtOAL9+6rHYpojI41hg6m k9eLnaQeSVX9tDbhUIjJp3vFnsM+HY3w8T/PS0WQ3Le7StTL2M7e0L4H4SPK2f4XukFX 8Vi9WoZwGJotKryd5lbwQ4KOY/Ujhbm4W2F0BDwC11AVLF5380OmvUO30R8ih21AYj9K fkfsJK+X18RyKpV3q7wh5O4aY4SqSIenb47pXtUWR2+feOcgTUUdmkACR8gxfRmSmGpz EWcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706707144; x=1707311944; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hvDVoSzxIpLOg4w5gixXPSq5JELWl7gfLFSeBIClhM0=; b=A0MfQoLd/38qvqyCotlXagyvNTby0YiWdALHR2Zp1SR0QHPnex3+5LJfyEIwUnlqtp 2OF2lfc7iUKqhzmbnj580UqyXMR3cxBtDjwaBiO7QkL+XOLPufm9KW+B5W7Md3oi325H n47TJ4XtFzEKcjWEBVla+hLDc3NkU1EWCX0CmahgLPbNnOGf6tKpP0hIuP8ErdtwlwHU XWaYDXUwU9D0Irv7hHqg2eNF4drnpqmoho8r7qj11B2QLgQM+tcSr2Z1B14fDFgKa28o NUo9RUFv1NlZBRamtT2qzB0JSSx+fUaFpA8Vq367QNWinXylo2/UBxeeuchFSNcnv1r+ etjQ== X-Gm-Message-State: AOJu0YwLe3h03SfUTZW8+D+pZ0muaD0hCnbRz26hUrIFHO3NvVbpiIYC PdIKlahce913eJuAmjsxVXuc+XrK/UOJMgdghibxSGABpbmbtQPLmgn3aReVFWAv+yIdLOoE3md jrlfzbj5vIQir5g38xYI5JJ9cWsY= X-Received: by 2002:a05:6214:57d6:b0:68c:7153:6ed8 with SMTP id lw22-20020a05621457d600b0068c71536ed8mr597586qvb.29.1706707144475; Wed, 31 Jan 2024 05:19:04 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130214620.3155380-1-stefanb@linux.ibm.com> In-Reply-To: <20240130214620.3155380-1-stefanb@linux.ibm.com> From: Amir Goldstein Date: Wed, 31 Jan 2024 15:18:53 +0200 Message-ID: Subject: Re: [PATCH 0/5] evm: Support signatures on stacked filesystem To: Stefan Berger Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-kernel@vger.kernel.org, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, zohar@linux.ibm.com, roberto.sassu@huawei.com, miklos@szeredi.hu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2024 at 11:46=E2=80=AFPM Stefan Berger wrote: > > EVM has recently been completely disabled on unsupported (e.g., > overlayfs). This series now enables copy-up of "portable and immutable" > signatures on those filesystems and enables the enforcement of > "portable and immutable" as well as the "original" signatures on > previously unsupported filesystem when EVM is enabled with EVM_INIT_X509. > HMAC verification and generation remains disabled on those filesystems. > I am missing a high level description of what is in those "portable and immutable" signatures and how those signatures remain valid across copy up. Thanks, Amir.