[Rats] do not address yang warnings by making nodes writable

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 19 February 2021 13:11 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 056613A0C28 for <rats@ietfa.amsl.com>; Fri, 19 Feb 2021 05:11:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zC1y6hUZmF33 for <rats@ietfa.amsl.com>; Fri, 19 Feb 2021 05:11:26 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80043.outbound.protection.outlook.com [40.107.8.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D8B13A0C20 for <rats@ietf.org>; Fri, 19 Feb 2021 05:11:25 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYKHL2Bxf4xiueN081o8G54mDRxVHhObL4dpqIFbqIm4IiJJrcTV7D95YYd7n8KPPFGvF2OXlIfiC3iNkPRY/jn/5wCCFtClXEgavNv4Y9+5Du82hqrJkBwT0No3kRIfg9ymQGx+QCfBL5r/9s0oBN4TDb3SGUUZlkXnrJPK9mkYLtHXzmV8IRSKhu5Yr9nNanW0n9a0wnl8R5BXQ5KskbCrTcJVUHdX3KQVoY+hrpWsuhQfRy6Vu1u0WMsnpluWc/d9QftmKQaFnNxKyjIqw4BXppIlMDwJtPOR5wFcwa3t5Hq4oKlYRzTGTgDs2lpjLHK3+5/ZKJXMPI0cFA8Htg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z4w9SmCd/pE0EOEPqs64dydSASMfx7t+nUNjt+I4I/E=; b=IPSbP5HXHP0R4oUz2h6+UIg9+rrwngxD70GRsEsFCOqclcaH7MKDDWfAXG8vnOsQUaoOrDfcZd57QMbTj/exFHDXukAzSRZ5rUdGUyseYLD6HwH0NrOcTcjKkHop3wMikKgtlRDXvUTbHJetgbyU97uHbxBmMkRhAIijfxCN3iw6Wd5GOVLoePkm1Ot+2ZKXPHbOeoNOrlqFspliGzOrN1WDfzJrW2YAU0PjaiLnE/6RGXMHrnKbKdVVtkEGwMx80h8bTPcOHqTaKXSmPIfeyFw0zjnrOgRa8hpQc0jpeBHQrmLtIXx3zKugLZi1d/C7ZiYB+BAWAL39ZltLkdcZ2Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z4w9SmCd/pE0EOEPqs64dydSASMfx7t+nUNjt+I4I/E=; b=Mz/xGEAl+mDb32Vi6NTiAiK6XghlhMWJvYDpHI+knDXjm7sF+3o5nZgrg81qXsuZaitPIqn7UbsaigfWGXvz3OxFFbrcIQMTyNxlXuQ0crV57LJy2sr8HzwWWHd00WVIB7oYQ4FldlkAK5tDeDg2JBS/GfoNRB5WKOACE4eV4wQ=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1139.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:265::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.26; Fri, 19 Feb 2021 13:11:23 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::1ce1:49e3:3e54:804d]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::1ce1:49e3:3e54:804d%5]) with mapi id 15.20.3868.029; Fri, 19 Feb 2021 13:11:23 +0000
Date: Fri, 19 Feb 2021 14:11:22 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "rats@ietf.org" <rats@ietf.org>
Message-ID: <20210219131122.4b3qt7kgapmgv3ax@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: "rats@ietf.org" <rats@ietf.org>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Originating-IP: [212.201.44.244]
X-ClientProxiedBy: AM8P191CA0028.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:21a::33) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by AM8P191CA0028.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:21a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Fri, 19 Feb 2021 13:11:23 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 1bc103cd-b9ff-4a3b-3267-08d8d4d7db19
X-MS-TrafficTypeDiagnostic: AM9P190MB1139:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB1139203524D94731424FF93ADE849@AM9P190MB1139.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: clFh7AScE4XoB3jvQmIZgfLqxfFv+BlScSwMvUe05EwZIckOHaiLoOZMT+5XNcAYoox12NPS9yEUTg3aSnFU0X4VmYxXRB0WV6LWJ66TVrEq+Wl9CgrFHNRX8wWljrZBcKKVlod3xdCkTvkMIsH2abc3URHjKc8zLHDkJuVDlWqFpq2bs61CIWT50pI5Ce1S7R95d7dwVnbZbUG+QZROpgImdbl6trw0lKxl0jOAXq4GAtwXTWyk14r9wd3s9uBJLSpKhW2WTbUTRMeAdrzAHzT115yUCtaF5XFjr41J0Rw16SpjXvLXREVMldjIw+qrxp4EgOFaDuxlGZKoaSmhZaIqftUHwyzEq2932BD4ko1JJFgqiS09U5zwRufrUVYBYfuHO5CKj4Gf+qOZXHBNfBjeAGPTHUGdppH0luiHhHmBisNs0jbTdu190mpGrjbUnSLpAKlV1XAuL9eGzL2le0aj8nuuaZmugk8D8FMF5nFeDuVersYkUfPV7Zbm8AapdoSydaBHb+d89sDk12tAyWKo74uYnmtveLrgoVmQlyx1gkcL4kRQkcr+cZOa494JtMH5QB68N/yXQqSvCGX+dskbipN5qIeZ0aYx+BCEkRPFw8j8cpzLsqKL3AAU2REdbdaM/Vr1uSPZ0eCErGiD+qy74W4Yi9a7L1drbZ/r9hA=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(346002)(376002)(396003)(136003)(366004)(39850400004)(66556008)(6496006)(1076003)(66476007)(4744005)(16526019)(2906002)(186003)(83380400001)(6916009)(956004)(52116002)(83080400002)(6486002)(26005)(86362001)(3450700001)(316002)(8676002)(5660300002)(786003)(478600001)(8936002)(66946007); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?wxcVus7U2QiaSE5vEtIOIUfo+q52vxC+T1SRxrNK9e70DbI+m+rMcX+J/Eej?= =?us-ascii?Q?XP1tDlqRYZbcpb1/fC0N+rGm5wbL57+ApmGrxPpGp0n1Hxe1g8a3SHZLql2z?= =?us-ascii?Q?fy6BjDwI8WFPGW7uxPEnKhitCJ58gdCK3uN7uS/19XPiafet448OrAkJ5jqN?= =?us-ascii?Q?uk8ThqprQUYH1hVX36mFZuT01+bMbfYUjfr6WNr0b0juhcIX2jsaN5SDqk6G?= =?us-ascii?Q?5v9mRnym7FKYXTFaXTSE6k7bag9qtDhFZw/VHgzITT3XKpTpUq8QWzhFqeHq?= =?us-ascii?Q?d+KX428KjH/j3WlQzjnvRs2Cl8F5NzMLZ/d4uefzbfE6c0MWrqCXH7tFmoQn?= =?us-ascii?Q?u3byhi9LWZ1w+ph5s3WPO2oKaxQtUzPijFbhogiEigqCFJcEIIffu5NONVHr?= =?us-ascii?Q?1NnVEHLxUvDwT4h8BrxGbHL9p5KSe5GkNpQoF/uNRlSuOOI5mYr6xwXQ/+g3?= =?us-ascii?Q?SsanQTB9twdtaN4Lz8uSleK9wGbrq5cpo7daHedZR85T9daSo3F3mqDuWYrl?= =?us-ascii?Q?MUPgpHqlEOqaJUj2fZsBzGO6VbRCjvI37wVDND4b5CIc3niQQS+uWkNy2RD3?= =?us-ascii?Q?JAnz1UAEKQJz9emOEpjKnRBX/PX6/szyoqM0swUaKsy1C89S+QeDB6u2cjxs?= =?us-ascii?Q?o7DmnbtQx/IFiKQoXCOb8YBFSFb5S6JRa+Z3sB9WvskIjJTcrPLoW4GAW7AK?= =?us-ascii?Q?5N8Wf36ETkx6p06prh6YpIX78DUmxzckGsg7OqSvPyvQHPkHD4H6gBru8sW5?= =?us-ascii?Q?8JsxAGfXciCSzTFyq63ki96P+fvZDjsiFWi3UgiJtcCRt64Cx6tSIchUO2vr?= =?us-ascii?Q?HbLdZhXBaqGrwE2tCOLuBxx3AUBGRg5JG+DynnMIsCLKxS7KuPq0GcLGsQS5?= =?us-ascii?Q?foYBFypH3AMimixYWBLrsDwD/GVAjCFOIefvxbOeZcBnMzhPJ+rOjqwnzo9u?= =?us-ascii?Q?Hpe+vM5DAP3qxGsoFGrtuk8IKDilE2g83gkNLg9M8kO6Fq7vwm/tXyDdW2X1?= =?us-ascii?Q?Se8ENr0figAbWSqobmctOD+R7OFVGmSk0TkG0yFaSFjvvB7dDXtG2/NLvncR?= =?us-ascii?Q?MxSzkYwv6o2d1YZOSnczr7dIfUjhkN4dnnJERPCQGkAk5tnvN/+wSeNhIT3i?= =?us-ascii?Q?XwPBCITqFxgR9mmwIahG+PKbr10tjjdJz7Zxifxxoo7AxyXOxLYfGh1IQQvZ?= =?us-ascii?Q?y2qZ96Coyk2aE7ph5rjdMoyaH6KkcgSWqXrlZUUaF9BiHg4YzYOjjgAWIfxl?= =?us-ascii?Q?EQ5GPRHXPhDnWUulEOQCKHeEcwANdU6p6OrFiVQGcDUpvju4GyeiFKKI9eB0?= =?us-ascii?Q?ZwMIKWiTe3EykcqLME4kgSaO?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 1bc103cd-b9ff-4a3b-3267-08d8d4d7db19
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2021 13:11:23.4631 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: /YO7z6jH+WiyJzK3Rn1UTUjhc4NNQFkuBDR3eemvFe9pDvieIS5F6hhLIht7Um6X47HBfCLIjzb3UsUfqaizsKr/y7og1Tf1ZYM22aOauus=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1139
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/KhLEuwYwQwfCyPfs5JiSAmPqwjA>
Subject: [Rats] do not address yang warnings by making nodes writable
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Remote ATtestation procedureS <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Feb 2021 13:11:29 -0000

Hi,

I have seen this in draft-ietf-rats-yang-tpm-charra-05.txt:

        leaf tpm-firmware-version {
          type identityref {
            base taa:cryptoprocessor;
          }
          mandatory true;
          description
            "Identifies the cryptoprocessor API set supported.  This
            cannot be configured.  However it is referenced via XPATH
            as part of configuration, so is shown as 'rw'
            to eliminate YANG warnings related NMDA.";
	}

I doubt that this is a proper solution as you now have to configure
the tpm-firmware-version. If you cannot configure this (as the
description says), then the MUST may always be false, i.e, once you
implement this, you will see that this does not work.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>