[Id-event] Review of draft-ietf-secevent-subject-identifiers-05 by Michael Jones

Mike Jones <Michael.Jones@microsoft.com> Fri, 10 July 2020 03:55 UTC

Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: id-event@ietfa.amsl.com
Delivered-To: id-event@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 358E23A0BE7 for <id-event@ietfa.amsl.com>; Thu, 9 Jul 2020 20:55:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, DKIM_VALID_EF=-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 Q6Cb8Np8JOAM for <id-event@ietfa.amsl.com>; Thu, 9 Jul 2020 20:55:21 -0700 (PDT)
Received: from NAM06-BL2-obe.outbound.protection.outlook.com (mail-eopbgr650118.outbound.protection.outlook.com [40.107.65.118]) (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 256C33A0BD7 for <id-event@ietf.org>; Thu, 9 Jul 2020 20:55:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pln5Jl5aampzRmyDrmHu2JGnvaBUlhqN0CuF17q4ghped7CKKrCEQztUxjLKEkhFXdYD+nTzFW06FDSynVqQI9RW7uqxyHjfKsTJ3znCsjdOYg2IvjOArIWubklza7BigJTJCjxpJAQTKU0Liz1i+fxiXoeP1P2xA1R//BwZz9vRwJGKgTDbQujBLRiPCKf8vWH7xN+DhltRPqCk5+KFJKt2SKlsMrt4yMHTkZw0EH9Oix2PjeXlXJwu/emnr7cnaFBZcrEfU72mSQU8x9rtV3RIVeXkltlKSgvoRURv4+kQ8GBxDB9aqgIN7kGOOMalPt84O4Busa3o2jfhS9oxXQ==
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=x7t6xlfF2jKB4iUjmaCQ2cLnL3p8ugcERcpHLJsSec0=; b=kWnuA3+Bme9ngJP3wuRuJRrxfUTURSlm4HD3oB4dhP0BaRASDNx4MPHi6pZ6WqvpX9j7W9Bt9NQjeyo7O8mGrU3xs0PEKPY/1uakvYvySlx1vC80hC+ksfUk3Xzw4QjVbIgvdynpULAnbfz4frRVrTtEARNv6I2P4MS73z+S2rLi8++loRE5IS3cdfqLHgii+iO1i+ahIj8bixZXBNP1o5UZ21/99CVk4ADehv/WYr7dqMOjqqzq44Yvlmrfps/ujTLqbdBTujZpk+8VTdeF2OoElY8SYBsxSHgmKhwlHQgEiTlBNpJSpwaZGOZirqIBKFFhw97BoNpSIuFsngggXg==
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=x7t6xlfF2jKB4iUjmaCQ2cLnL3p8ugcERcpHLJsSec0=; b=TC2/WE9w5Bu59RoSO/W0rTqIjCAejs2FKvoL6x2QQ1tSixpuWeuvdw/eYDHjMp/hNqQCi6oWcWmph5e03Dg9MZt+459PTT7IvUXILXhk1JsYpzjOWuqrTFW8lIWLREcU681TAQKPvtNhg3KuTCzuRXQ+YO7pmaTe1jVJRiIjWWs=
Received: from BY5PR00MB0676.namprd00.prod.outlook.com (2603:10b6:a03:20c::15) by BY5PR00MB0676.namprd00.prod.outlook.com (2603:10b6:a03:20c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3215.0; Fri, 10 Jul 2020 03:55:18 +0000
Received: from BY5PR00MB0676.namprd00.prod.outlook.com ([fe80::3dd4:611a:6b63:15fe]) by BY5PR00MB0676.namprd00.prod.outlook.com ([fe80::3dd4:611a:6b63:15fe%3]) with mapi id 15.20.3215.000; Fri, 10 Jul 2020 03:55:18 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "id-event@ietf.org" <id-event@ietf.org>
Thread-Topic: Review of draft-ietf-secevent-subject-identifiers-05 by Michael Jones
Thread-Index: AdZWXhwXIwwWD9McR5OirUlEvStrBA==
Date: Fri, 10 Jul 2020 03:55:18 +0000
Message-ID: <BY5PR00MB0676DAA4C5ECC281853BDA15F5650@BY5PR00MB0676.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=54fc7f77-c97e-4611-8e8b-16e99c3bca74; 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=2020-07-09T18:29:48Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [50.47.87.252]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 056a4258-9076-45b3-5106-08d824850fea
x-ms-traffictypediagnostic: BY5PR00MB0676:
x-microsoft-antispam-prvs: <BY5PR00MB067616E0546647525A00AA6DF5650@BY5PR00MB0676.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xMl2Bs8J5eskYoXDoSvpjjojEgwgfkAYon1gEzmdSPwrRKyf1jStDcECX4cV5WNAs38sUMWFEc7dDeEkjZWqVLbtMbizqviB77q+1b2eBNKDXNZ+Vd/j/lEQL9+wM9iWWUy6GvGK0P1ifHHJ1Bd7DctO/0uYCSwUxE37lLjaWkKJK+HEcuhMa55joHNaf2NhQdqqM8+58w/0QkPj7S2onX3jpxneWlpJvZaLHAYORmAh78g7X3Szh8n6E2loei0WZrlRznqGXjzcpn+xd0rKAzFjiqmEaWTZWHjFyDqpIUrVhjeXD5XqTgUF7suC4raxgzMsCJ08GSTZC1WnK3zZUuemRds0DUan4qR1iJMuSAgAwwjnEkglrYGAa2GEBW1A7zU6HoW/hbzX1m3ParilkQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR00MB0676.namprd00.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(366004)(136003)(346002)(396003)(376002)(186003)(7696005)(33656002)(26005)(83380400001)(166002)(9686003)(71200400001)(86362001)(82960400001)(8936002)(8676002)(82950400001)(55016002)(2906002)(316002)(10290500003)(8990500004)(6916009)(6506007)(478600001)(5660300002)(66946007)(966005)(52536014)(76116006)(64756008)(66556008)(66476007)(66446008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: fRRN0UAYAjO+JgELCehQtVvDEn//NMBnRcQz9kmM3xtx9SJc3mwXGZclVIprauzNOhdbciQdiX9dwt+NbiKioJkXjpOlJex8kcSmqUMEhKuvFDaCLLMDcHXazjwLDaibWY/VsZbmp08cLvNnwhaTGgH4IxPJiDunQaDXS0h7GqONV3Di7Hf3i3qpg95XBy7qYScaMP0sJeIsLgRQz6cQx7yCY0HviCA+8KTcnjtBRcBVXPxRvwTMSFmOUitXSgFFyHJ9lwW0Xr+XLPq4vh317QgUbijJ9ylV1Rw+sgjsEdvJ+tIsADGXIVF9yAehRkjeij6fTALt5d5Gt0BT6CtIj44jCQg8JyfO5vubDgplp9M17xT+RWaw/+lUzh4eEpiJZs/sd1g52wzkFT+LdnG9d8Pc+avaZzjTxvwwygR3/HSXtZWgJs1aglZbCCILLRrTobDmNot5Z0I9wvWM2eB9HO+gHUjCIDVftvTor+XaR74=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BY5PR00MB0676DAA4C5ECC281853BDA15F5650BY5PR00MB0676namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY5PR00MB0676.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 056a4258-9076-45b3-5106-08d824850fea
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2020 03:55:18.7208 (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: O7k80duS/zi6tE217ZWP9X5q8usY7EPJPX1/jYsjiz5XZ+69wzkeaNK6Bs+sttd0pvssSf/Dq/JOOwpVyHaTxw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR00MB0676
Archived-At: <https://mailarchive.ietf.org/arch/msg/id-event/mmd16lj_ESbzSiOgCZnekKElWMk>
Subject: [Id-event] Review of draft-ietf-secevent-subject-identifiers-05 by Michael Jones
X-BeenThere: id-event@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A mailing list to discuss the potential solution for a common identity event messaging format and distribution system." <id-event.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/id-event>, <mailto:id-event-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/id-event/>
List-Post: <mailto:id-event@ietf.org>
List-Help: <mailto:id-event-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/id-event>, <mailto:id-event-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jul 2020 03:55:23 -0000

I did a cover-to-cover read of draft-ietf-secevent-subject-identifiers-05.  My resulting review comments follow, grouped into substantive and editorial sections.

SUBSTANTIVE COMMENTS

Abstract - Remove [JSON], [JWT], and [SET] references.  Past IESG reviews of other specs have told me that citations are not allowed in abstracts, since they need to stand alone without the rest of the specification.

2.  Notational Conventions

Copy https://tools.ietf.org/html/draft-ietf-secevent-http-poll-12#section-1.2 and make it a Definitions or Terminology sub-section under the current Notational Conventions section.

3.  Subject Identifiers - The language "Every Subject Identifier Type MUST have a unique name registered..." is surprisingly different that the corresponding JWT spec language with also allows Private identifiers and Collision-Resistant identifiers.  Why not also allow them here?

3.  Subject Identifiers - The term "payload claims" is confusing.  Please change this term to "Subject Identification Claims" throughout the specification.

3.1. Account Subject Identifier Type - Figure 1 - This figure is confusing because it makes it seem like "subject_type" and "uri" are top-level JWT claims.  Please correct this possible confusion by adding "sub_id": to the example.  The updated example would look like this:

   "sub_id": {
     "subject_type": "account",
     "uri": "acct:example.user@service.example.com",
   }

Also add "sub_id": to all other examples, such as those in 3.2, 3.3, 3.4, etc.

3.2.1 Email Canonicalization - Please add a note that the domain portion of an RFC 5322 addr-spec already must be treated in a case-insensitive manner, per RFC 1034.

3.3. Phone Number Subject Identifier - Please change all instances of "phone-number" to "phone_number" to match the JWT claim of the same name.  This occurs multiple times throughout the specification.

3.4. Issuer and Subject Subject Type Identifier - Add a note that this is the way that subjects are identified in OpenID Connect ID Tokens.

5.1. Identifier Correlation - Add this phrase to the end of the last sentence "or when correlation is essential to the use case".

6. Security Considerations - Talk about integrity-protecting SETs.  Borrow or reference security considerations from the other SecEvent specs.

7.1. Security Even Subject Identifier Types Registry - Please add a suggestion to IANA that this registry be located at https://www.iana.org/assignments/secevent/.

7.1.1. Registration Template - Add underscore "_" to the set of acceptable characters.

7.1.1. Registration Template - Change Controller - Remove OpenID statements and replace them by IETF specifications and "IETF".

7.1.1. Registration Template - Defining Document(s) - Also add "prohibited" to the list of conditions to be described.

7.1.3. Guidance for Expert Reviewers - State that multiple Expert Reviewers should be appointed.  You can borrow language about that from RFC 7519..

7.2. JSON Web Token Claims Registration - Change "established by [SET]" to "established by "[JWT]".

Acknowledgements - Also acknowledge the SecEvent working group and its members.

EDITORIAL COMMENTS

1. Introduction - Change "section 1.2" to "Section 1.2" (and similarly change to Title Case for any other occurrences of "section", "figure", or "table").

1. Introduction - Add a comma after "but not limited to".

1. Introduction - Add a comma after "for example".

2.  Notational Conventions - Update to use RFC 8417 language.

3.  Subject Identifiers - Change "which" to "that" in "which are to be interpreted"

3.1. Account Subject Identifier Type - Figure 1 - It's odd to have a period ending a sentence fragment.  Delete the period at the end of the figure caption.  Do this for all other figures when the caption is also a sentence fragment, such as Figure 2, Figure 3, Figure 4, etc.

4.1. "sub_id" Claim - Change "sub_id" to <spanx style="verb">sub_id</spanx> in the source so that the formatting is correctly applied across all output representations.  Similarly, use spanx style verb for all other instances of literals in the specification.

4.1. "sub_id" Claim - Likewise, change `sub` to <spanx style="verb">sub</spanx> and `sub_id` to <spanx style="verb">sub_id</spanx>.  Search for other similar instances of uses of " ' or ` in the spec and correct them to spanx style verb.

4.2. "sub_id" and "iss-sub" Subject Identifiers - This section seems to repeat information in Section 3.4 (Issuer and Subject Subject Identifier Type).  Please consolidate them.

8.1. Normative References - IANA.JWT.Claims - Delete the odd text "n.d.,".

8.1. Normative References - Choose one of [JWT] or [RFC7519] and delete the other one.

8.1. Informative References - Change [OIDC] to the standard reference name [OpenID.Core].

                                                       -- Mike