Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1151744ybi; Fri, 12 Jul 2019 10:34:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCSsnQDREeaY6m18Em7GmQTD5oj7zDL6ob4KAKSxHpRa6T1Eh/SoImKhLJHx5OI3UclgC/ X-Received: by 2002:a63:5463:: with SMTP id e35mr11921479pgm.451.1562952899242; Fri, 12 Jul 2019 10:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562952899; cv=none; d=google.com; s=arc-20160816; b=b5SxE4NjfMym8QrtA3MxEYtBrGsF44NwkQrwwZLgaBp/SbPsEtxVExYCHEiCT+hYrR 4u7tDxv/ETVnmWgFeKSrp4h5KJ/YxbKTk5x6+zPjVQ9rvqJKTGlPha89XKFj3OeHP16S RImAMjV7VHgPFW/9rdLJOR/eYh/kw7KLkiD4iUo/LWSW96p8IQwq7DIaH87FSts+b38e EaO8VRU8OwsE74KogrWGV2V2i+izugiLMhwZgPQ5He8GGVyl//zx/9r6Ec9ri00sHzQ6 8RZX/gHh/MdmlQS5RrbMS1btac+QAp2Sz/hFTvaON75mZbkV78gbVJiH7n16GU9c2JBX 0G8w== 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=u57NPxHjV48DD1ZXUi9bBkemUN+kJNMajL14da8U2OY=; b=xA3boRfoKHMCuOjd/CtEbvo+Q7HgmbCAHvtcwoTN+KemVAR07KxxY8HlZBxmHpWr8u FxwQz390QfFn+K9TvsxZDuHkn0+EcqJN/ii+uSrX+iKuSe+DNs6rylJxet8eSQWFjFl0 d43fJXkxWidDLWeuHDHAYCc3qxTgXBD6UmNho9vDgEPhRc+rJeXTEW/n3kZ+48YQg94a O7JorlURQ0/tEv2gkfMrQjabhieO7jV/6w9EuKdsH8UFyJSGUXXFG4ONQcL9z0jjivlH ehz8JT6Lu6oXvAr+HPEml0VXmuG6KifYFIlc6QidQ488/Yxw0Ll5bD3SbMuelZFJA9oD /S4w== 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; 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 m63si8860594pjb.8.2019.07.12.10.34.42; Fri, 12 Jul 2019 10:34:59 -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; 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 S1727420AbfGLRdD (ORCPT + 99 others); Fri, 12 Jul 2019 13:33:03 -0400 Received: from linux.microsoft.com ([13.77.154.182]:52310 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727141AbfGLRdD (ORCPT ); Fri, 12 Jul 2019 13:33:03 -0400 Received: by linux.microsoft.com (Postfix, from userid 1029) id B8E2F20B7185; Fri, 12 Jul 2019 10:33:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by linux.microsoft.com (Postfix) with ESMTP id B512A300790D; Fri, 12 Jul 2019 10:33:02 -0700 (PDT) Date: Fri, 12 Jul 2019 10:33:02 -0700 (PDT) From: Jaskaran Singh Khurana X-X-Sender: jaskarankhurana@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net To: gmazyland@gmail.com cc: ebiggers@google.com, 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, jmorris@namei.org, Scott Shell , Nazmus Sakib , mpatocka@redhat.com Subject: Re: [RFC PATCH v6 0/1] Add dm verity root hash pkcs7 sig validation. In-Reply-To: Message-ID: References: <20190701181958.6493-1-jaskarankhurana@linux.microsoft.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Milan, > Changes in v6: > > Address comments from Milan Broz and Eric Biggers on v5. > > -Keep the verification code under config DM_VERITY_VERIFY_ROOTHASH_SIG. > > -Change the command line parameter to requires_signatures(bool) which will > force root hash to be signed and trusted if specified. > > -Fix the signature not being present in verity_status. Merged the > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fmbroz%2Flinux.git%2Fcommit%2F%3Fh%3Ddm-cryptsetup%26id%3Da26c10806f5257e255b6a436713127e762935ad3&data=02%7C01%7CJaskaran.Khurana%40microsoft.com%7C18f92445e46940aeebb008d6fe50c610%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636976020210890638&sdata=aY0V9%2FBz2RHryIvoftGKUGnyPp9Fsc1JY4FZbHfW4hg%3D&reserved=0 > made by Milan Broz and tested it. > > Could you please provide feedback on this v6 version. Regards, Jaskaran