Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4008445ybi; Mon, 10 Jun 2019 22:47:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwi8yBafHpBX9bvERCiP/fBAS5NMIBfuculOPWT7sU/kQ/NMEeX40tBu2gt5GaD1qjjfzU5 X-Received: by 2002:a17:902:9a90:: with SMTP id w16mr72241432plp.113.1560232042119; Mon, 10 Jun 2019 22:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560232042; cv=none; d=google.com; s=arc-20160816; b=BWr1G4EEfw9vNrmSjf81ZN3cOYBJ4cRCUd74fnTGy1cIZUlx/rUdOH+6aEQBY5+7Vq HbTzoDATDnKzH77xVeseQqYjh1KKe7C1PQaO6KdeUs5o015l3028G4PjZHJZKgiPkEKj w3E4KcufhsqWVFjx19ZMr3Psbau4HccakpDKj9fkLpdKeSzmkotaGemmkiU9dH03lzgL ErzZy/p/ICXu3iMUXSKGOD60bdQLXLxNNaUcZyJxbYXJe1lk+lBIAGqfXuFAF96mjwsR wBz9mTF4AqE3RW8JsEAqRvJSbiRb5mmOywLq0v/wCl8cQSoo/ULIoQUckj/luuVCas1X BcPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=6wvHV3IAe+KCfEnWzsJtnsuT9PQ5dwDZvDyj0mVB8QI=; b=UM5hADYFXQHvAUD5XuxojHza0YuaxVay/Di1xposbtgL/ar0EEaRIiJa6ZGmCqq861 qRK8y9y7Y/pzjYrX99TKmJyv/7SMEjs9+i9VoSsV0Ba2HgaTidc1fN2n6I57mnA9cxxf az9xUIchFE0DxivJQbgzwytUBH0BYb6NqeTv9u0UPQz3UhWP6hUk3yKPrXXTLIIAWKqx s1FV2irdrbyaPi/mmSaZ59TxzWCS9542siA8rjjFe4rGY1r2nRAG6klDghxnrYMu8U9Y EuhkzIHK6SMqFd/WdKtx4vNBELsqTa+Ez4gSXH9qvNWzowlY6Dm/ekYlUkGXtweLFWZG E/6g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si11311955pgt.305.2019.06.10.22.46.55; Mon, 10 Jun 2019 22:47:22 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391183AbfFKFcM (ORCPT + 99 others); Tue, 11 Jun 2019 01:32:12 -0400 Received: from namei.org ([65.99.196.166]:38356 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390492AbfFKFcM (ORCPT ); Tue, 11 Jun 2019 01:32:12 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x5B5VjUm008646; Tue, 11 Jun 2019 05:31:45 GMT Date: Tue, 11 Jun 2019 15:31:45 +1000 (AEST) From: James Morris To: Milan Broz cc: Jaskaran Khurana , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-fsdevel@vger.kernel.org, agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com, scottsh@microsoft.com, ebiggers@google.com, Mikulas Patocka Subject: Re: [RFC PATCH v3 1/1] Add dm verity root hash pkcs7 sig validation In-Reply-To: <54170d18-31c7-463d-10b5-9af8b666df0f@gmail.com> Message-ID: References: <20190607223140.16979-1-jaskarankhurana@linux.microsoft.com> <20190607223140.16979-2-jaskarankhurana@linux.microsoft.com> <54170d18-31c7-463d-10b5-9af8b666df0f@gmail.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 8 Jun 2019, Milan Broz wrote: > > Adds DM_VERITY_VERIFY_ROOTHASH_SIG_FORCE: roothash signature *must* be > > specified for all dm verity volumes and verification must succeed prior > > to creation of device mapper block device. > > AFAIK there are tools that use dm-verity internally (some container > functions in systemd can recognize and check dm-verity partitions) and with > this option we will just kill possibility to use it without signature. > > Anyway, this is up to Mike and Mikulas, I guess generic distros will not > set this option. Right, I think this option would not be for a general purpose distro, but for embedded systems and other cases where the user may want a more tightly locked-down system. -- James Morris