Re: [secdir] Secdir last call review of draft-ietf-ace-cwt-proof-of-possession-08

Mike Jones <Michael.Jones@microsoft.com> Fri, 18 October 2019 22:57 UTC

Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 459571209C0; Fri, 18 Oct 2019 15:57:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=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=microsoft.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 TocsZbXy17ws; Fri, 18 Oct 2019 15:57:40 -0700 (PDT)
Received: from NAM06-DM3-obe.outbound.protection.outlook.com (mail-dm3nam06on0705.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe56::705]) (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 E0A9B120979; Fri, 18 Oct 2019 15:57:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ScIc5yGX7lvGAAR4TZNSXq2ATV8aSQg5TL/yVFw1tMohliKECVtIfgViw8p3pLmZzBkgbbLqV5nJ9NI37Nol2kUY6yxqBh/gAyL8C1UlR2Nm2bnbUR6vOAWFI3vnKDtS8Lr2/+g8pjQQ+ZtAALPiQrt9z119J6EAudnZkQYkJFdSp/KfJrSMWg5NCsIGbJVQu1EVIz6V4Hru6Ychna5BVL80p97roLwsOojZl+d6LWvP3qBOrU3N3fiZax2yhihs11SWpJUlQzWOEo823wiC1W5yInPO+T2QLXmLGJNUuCIsJ92Bdl1a7806xwblNhzG+MLfA1h5IPGR11M5MtqiRA==
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=GHiIrx7YCp8ifNnsC1qHyALcebOkMXvV31Aqb01WRJg=; b=JhefbyljEyU4AB4lGP/gn2uiNVSTNub60uwTvusz/rqZInMvrfspvLukWeDtVI3FCWLnbOo/Qbfi9m806TNGWUgc1YGyKTOhNm3cQI6oHyNESiLcIBN5eDwDSCM8tI4DeMRHcZ+CNIT0FQFnunh7fB5SnyXQfjTUmZAJyjw2KyPUmB+Mlm6ejtlvzcfNqQlqcUGvDJ9KINIAQmlKlIakY5Us1+B6wacN1iGCBiPSufEGHpcPVMoJ0gMQaDBAnrWcoO1lDVyS7wS+HH8v64BUjo9kujkFxnJstaQqke5vnM4gt36l7JPyg/LAs0jzgsiVjCYbNvzBfbhBgjSM9G6tbw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GHiIrx7YCp8ifNnsC1qHyALcebOkMXvV31Aqb01WRJg=; b=jwxtJory/lAgU3B/nE+y6WUBEnxztr479u/vcMw3jpRBt6EsjyG3iW3AxaTmyQqB+anzDzv2ZSvQT8o3KEGNZmmYtKX98uroPuvIXSIo2YqKtX94AmiBLTWwa208luTo73ebCeZrPazhec2MxS9rsOCBUuz8Gpn184+JQ0oeulE=
Received: from BYAPR00MB0565.namprd00.prod.outlook.com (20.179.56.23) by BYAPR00MB0565.namprd00.prod.outlook.com (20.179.56.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2403.0; Fri, 18 Oct 2019 22:57:37 +0000
Received: from BYAPR00MB0565.namprd00.prod.outlook.com ([fe80::4d8f:c1b3:70d4:2de4]) by BYAPR00MB0565.namprd00.prod.outlook.com ([fe80::4d8f:c1b3:70d4:2de4%5]) with mapi id 15.20.2403.000; Fri, 18 Oct 2019 22:57:36 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Yoav Nir <ynir.ietf@gmail.com>, "secdir@ietf.org" <secdir@ietf.org>
CC: "draft-ietf-ace-cwt-proof-of-possession.all@ietf.org" <draft-ietf-ace-cwt-proof-of-possession.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "ace@ietf.org" <ace@ietf.org>
Thread-Topic: Secdir last call review of draft-ietf-ace-cwt-proof-of-possession-08
Thread-Index: AQHVfHcUHTxGfXrAZEKn6Qqm5R9W5adduhGQgANbx6A=
Date: Fri, 18 Oct 2019 22:57:36 +0000
Message-ID: <BYAPR00MB0565A4BCE00C1799451135A8F56C0@BYAPR00MB0565.namprd00.prod.outlook.com>
References: <157038789080.6563.18028321376777169887@ietfa.amsl.com> <DM6PR00MB05695230578007608306AFBCF5920@DM6PR00MB0569.namprd00.prod.outlook.com>
In-Reply-To: <DM6PR00MB05695230578007608306AFBCF5920@DM6PR00MB0569.namprd00.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=5f10aac0-f5c3-403a-912c-000003962139; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-10-16T19:40:01Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com;
x-originating-ip: [50.47.93.218]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e0ebe8fd-481e-431d-dda0-08d7541e91d8
x-ms-office365-filtering-ht: Tenant
x-ms-traffictypediagnostic: BYAPR00MB0565:
x-microsoft-antispam-prvs: <BYAPR00MB0565F5E4A6DA9BAB142BE695F56C0@BYAPR00MB0565.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01949FE337
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(366004)(136003)(346002)(396003)(39860400002)(199004)(189003)(13464003)(64756008)(10290500003)(11346002)(14454004)(66946007)(316002)(54896002)(66556008)(2501003)(55016002)(71190400001)(6246003)(6436002)(71200400001)(10090500001)(606006)(476003)(76116006)(4326008)(446003)(99286004)(22452003)(110136005)(66574012)(478600001)(66476007)(54906003)(6306002)(9686003)(966005)(236005)(66446008)(8990500004)(486006)(5660300002)(256004)(8936002)(26005)(66066001)(52536014)(229853002)(14444005)(76176011)(74316002)(2906002)(7736002)(53546011)(6116002)(790700001)(3846002)(7696005)(33656002)(6506007)(81156014)(81166006)(8676002)(186003)(102836004)(86362001)(25786009); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR00MB0565; H:BYAPR00MB0565.namprd00.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: woe/DUDM5R6j/7kpdGak3uJqdF2OQeJwiQXluHqd95ltNQx5s+TeB0oQWhaXJr2RFL9iPuPnzB3zMD6jaEdH4xQWWhRnS+WA1PXl3ny68J6eHR2SORXOSpOrNIuif2ueXy9Kxo89zauJyRv7p8bvdtb00ZKL/ejiDA0PG3kmM1NgnuKMHtEDTBRmGiUC3MqtH74PPls9YwadnIN9UztfR2TTTXStr6MgmU4EZ96gSNXPyAi//+FSqxSCi9QBPPzZSPjvWma4Bti1+koiEgVMvpWM5rPE84E7Zp/E2O+PF+VuNsYX9u1GHmZjw0147BVWPOEvy34gl6sSz79kd4TgVf0NWgd3ENw8lTig6tKMfeUQPHFFuPksOepPaqidIXxxLvPVTlkDvA9QD/vK8oOlKSqbhuaogyHMiLgA3kVRvjo=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BYAPR00MB0565A4BCE00C1799451135A8F56C0BYAPR00MB0565namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e0ebe8fd-481e-431d-dda0-08d7541e91d8
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2019 22:57:36.7356 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YtiJcnZHdphkIe8SDfuCxkNr16JVsQmSt5R7liGBa+yqtnm5IJodkMxK5Hu3eNYYMfPXW1ogFch8TAOc2ZnHvA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR00MB0565
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/iJSIhSRCQGBl7EcTnm6yBfXYs80>
Subject: Re: [secdir] Secdir last call review of draft-ietf-ace-cwt-proof-of-possession-08
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Oct 2019 22:57:48 -0000

Hi Yoav,

https://tools.ietf.org/html/draft-ietf-ace-cwt-proof-of-possession-09 has been published, which addresses your review comments in the ways proposed below.  Thanks again for your review!

                                                       -- Mike

From: Mike Jones
Sent: Wednesday, October 16, 2019 1:21 PM
To: Yoav Nir <ynir.ietf@gmail.com>;; secdir@ietf.org
Cc: draft-ietf-ace-cwt-proof-of-possession.all@ietf.org; ietf@ietf.org; ace@ietf.org
Subject: RE: Secdir last call review of draft-ietf-ace-cwt-proof-of-possession-08


Thanks a lot for your review, Yoav.  Replies are inline, prefixed by “Mike>”…



-----Original Message-----
From: Yoav Nir via Datatracker <noreply@ietf.org<mailto:noreply@ietf.org>>
Sent: Sunday, October 6, 2019 11:52 AM
To: secdir@ietf.org<mailto:secdir@ietf.org>
Cc: draft-ietf-ace-cwt-proof-of-possession.all@ietf.org<mailto:draft-ietf-ace-cwt-proof-of-possession.all@ietf.org>; ietf@ietf.org<mailto:ietf@ietf.org>; ace@ietf.org<mailto:ace@ietf.org>
Subject: Secdir last call review of draft-ietf-ace-cwt-proof-of-possession-08



Reviewer: Yoav Nir

Review result: Has Nits



I have reviewed this document as part of the security directorate's ongoing effort to review all IETF documents being processed by the IESG.  These comments were written primarily for the benefit of the security area directors.

Document editors and WG chairs should treat these comments just like any other last call comments.



I think the document shows that security aspects have been considered and handled well. However, the document has issues with clarity and readability:



For starters, the Abstract and Introduction are nearly identical. The Introduction could instead be used to explain the domain, who the "players" are and what they are trying to accomplish. Instead, section 2 introduces the terms Issuer, Presenter and Recipient with definitions that sound like the CA, the End Entity and the Relying Party from PKI, with a little OAuth terminology mixed in. There is no explanation about who this issuer is, and what the trust model is.



Mike> This document structure is intentionally parallel to RFC 7800.  In particular, the Terminology section is there specifically to introduce the players.  Yes, editorially, this could have been done in the Introduction, but this is the style typically used by OAuth, JOSE, COSE, and ACE specifications.  I’m reluctant to deviate from it in this particular specification unless there’s a compelling reason to do so.



Mike> Who the issuer is is discussed in the last paragraph of Section 3.  The trust model is described in the last paragraph of Section 4 (Security Considerations).



Mike> Therefore, unless there is a specific change that you want to suggest, I propose to leave the Introduction and Terminology sections as is.



The Security Considerations section also has some problems.  Quoting the second

paragraph:

   Applications utilizing proof of possession SHOULD also utilize

   audience restriction, as described in Section 3.1.3 of [CWT], as it

   provides additional protections.  Audience restriction can be used by

   recipients to reject messages intended for different recipients.



Why? Why is the aud claim needed with a cnf claim (but not in other cases)?

Neither this document nor RFC 8392 provides insight as to when aud is appropriate. That they allow recipients to reject messages not intended for them does not sound like a security feature.



Mike> Having an audience in a token is a security feature, as it prevents a legitimate token intended for one recipient from being replayed to gain access at a different recipient.  You’re right that this is useful/required in many situations even when “cnf” isn’t being used.  However, reviewers of drafts of what became RFC 7800 wanted this text added to remind people that audience restriction is often useful even when you have proof of possession, as it defends against different threats.



Mike> To make this clearer, I propose to add this parenthetical remark at the end of this paragraph: “(Of course, applications not using proof of possession can also benefit from using audience restriction to reject messages intended for different recipients.)”  If you’d prefer different wording, please let me know what it is.



Paragraph 3 says: "A recipient might not understand the "cnf" claim."   This

re-affirms that we need an explanation of who the parties to this protocol are.

We generally don't send messages to recipients that don't understand them. Is this a closed system with known entities, or is this a protocol where the parties contact random other parties on the Internet?



Mike> Per my response to the Genart review, we’re already proposing to delete this paragraph, as it’s not actionable.  Note that the requirement to ignore not-understood claims comes from Section 3 of RFC 8392 (which also was inherited from RFC 7519), and so is not unique to this specification.



Mike> The exact parties to the protocol are dependent upon the application, as discussed in the last paragraph of Section 4.  This specification is defining PoP key representations.  It’s intentionally leaving the messages conveying CWTs with “cnf” claims up to the applications using them.  Again, this is intentionally exactly parallel to RFC 7800.



I'd also lose some of the Introduction to Crypto in the second-to-last paragraph.



Mike> I agree that this is overly pedantic.  I propose to delete the parenthetical “e.g.” clause at the end, which will make it once again exactly parallel to the corresponding text in RFC 7800.  Let me know if you’d a specific further change to this paragraph.



                                                                Thanks,

                                                                -- Mike