Re: [stir] Proposal for update of erratum #6519 - ppt syntax

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 21 April 2021 17:53 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C96623A3150 for <stir@ietfa.amsl.com>; Wed, 21 Apr 2021 10:53:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, 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=ericsson.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 f1f75_SZLmzN for <stir@ietfa.amsl.com>; Wed, 21 Apr 2021 10:53:12 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40081.outbound.protection.outlook.com [40.107.4.81]) (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 CF5C63A3123 for <stir@ietf.org>; Wed, 21 Apr 2021 10:53:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GDyxMUFhXER9k9gJKLmgG9xL/MPBJt/j04E9F6KyAOCZR+V2KH5H3T5Vu642wZxGnVcZfNqQ/N+aTzXBajPiyxDmbTPscGra09O08WYtzatKrD68dK2uihRx1OxPl+sBZBVGr4EVubBd5SqgwQuqZuJUf2dcLL1PSWDxXd4TfufsTsJNA+pg21rGx9lHEMdcTLHmEY6GyxhRQt7JpnNWM9q3olrUVbMuwdYaxvl2iA3uF6NKwUanroiUO9b7sjmdD/DqUt54jRF+WULqtv6ggQQTS5VAY0KVLGoikcPQmQdlMEtIv395Lyuo3OuJGBxuf9MC6eev9I/jNWW5+6c7uw==
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=f6fEEeZAXR1yI57uqFxAxFCjeWDRn8Uzc9a0fKIbgUc=; b=GWHnmxmbfcaNNECAHCV1hDO75vMxtIJEugzeW7SUxutpmUJluCHVeJHLDm10cOjifr//zDftoMvOV2nPtVVT+HYf6pwm26vt9ZRhs0h/0cWwYS9CzO3H0Qpos5wmOYTR03SMjW4bgvkFGCLFHefCxjcMBdBS6u3MoKXdkwB8j/u7HODLHZPSCt3iWVmm+oJKcryLLl44HaA8HolaZnyXqaQpM0MXyOSwRCAJDob5CiHjsQ7mDQjAAhTjGKqni1VkwWn+wq7BOLAyk9tzgAItCxP7+JwGZttsd0PfQSRQfIljOJD7KJRbdJxiKZXHsP4FtIA4lNwcw938ZtpehuhN1Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f6fEEeZAXR1yI57uqFxAxFCjeWDRn8Uzc9a0fKIbgUc=; b=DawjdOJVFs7BUdeEvqc7E4HvSOrWbbNOpV+IX58bC5YSjQHVpXyAeR6K0MH0vEPolaZWRbHJzj9I98vDQrXgqcXOzfTeDnJf0lTXMqFkcSl9oa08wZSTMUjHUnZBpaktbkqI0HafNH0iLB9oNPAhMpNjaob4b3bx9ebKeIqwGaU=
Received: from AM0PR07MB3860.eurprd07.prod.outlook.com (2603:10a6:208:4c::18) by AM0PR0702MB3652.eurprd07.prod.outlook.com (2603:10a6:208:17::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.7; Wed, 21 Apr 2021 17:53:07 +0000
Received: from AM0PR07MB3860.eurprd07.prod.outlook.com ([fe80::b10f:ebc0:80d:db2]) by AM0PR07MB3860.eurprd07.prod.outlook.com ([fe80::b10f:ebc0:80d:db2%7]) with mapi id 15.20.4065.021; Wed, 21 Apr 2021 17:53:07 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Russ Housley <housley@vigilsec.com>
CC: Marc Petit-Huguenin <marc@petit-huguenin.org>, IETF STIR Mail List <stir@ietf.org>
Thread-Topic: [stir] Proposal for update of erratum #6519 - ppt syntax
Thread-Index: AQHXNtcvUG/+DAdI8keN0d4fbvY9FQ==
Date: Wed, 21 Apr 2021 17:53:07 +0000
Message-ID: <AM0PR07MB3860256D7A5910EFF821A58993479@AM0PR07MB3860.eurprd07.prod.outlook.com>
References: <42e964d3-2a16-660b-f8b4-fd9daedad115@petit-huguenin.org> <AM0PR07MB38604255784FF9E621257B2D93499@AM0PR07MB3860.eurprd07.prod.outlook.com> <3d8e2fce-d124-99b9-e295-734a36ad564a@petit-huguenin.org> <7558AA11-A7F9-4091-BFD3-F42C742AABAE@vigilsec.com> <167dde10-f242-2b6f-a7ce-96991158589a@petit-huguenin.org> <CAD5OKxvkN+BSY0XuBmfApDDWOLhqCLLFuQgVQryE+yHUftWs4w@mail.gmail.com> <15fc4a20-b5c8-cd27-b30e-76e1f479b4ff@petit-huguenin.org> <CAD5OKxvmvmotpxB8BGJfqRrVTjEGKQkQRow37gmwRMFaBGjEoA@mail.gmail.com> <C0445D51-3AA5-40B3-8F75-0A1A446A5BF8@vigilsec.com>, <CAD5OKxtiAtzC9Ma=cjSzksftkaXA31vahNv8gCTRy0ffxyu2AA@mail.gmail.com>
In-Reply-To: <CAD5OKxtiAtzC9Ma=cjSzksftkaXA31vahNv8gCTRy0ffxyu2AA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: telurix.com; dkim=none (message not signed) header.d=none;telurix.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [194.137.201.1]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 27892a1a-eded-4fd9-d6e9-08d904ee5216
x-ms-traffictypediagnostic: AM0PR0702MB3652:
x-microsoft-antispam-prvs: <AM0PR0702MB365271C3DEBC3EE9D50B4AC993479@AM0PR0702MB3652.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: yOQxSjvwhMZ7OeLPfDPeP0bmHT7ShTFfQQVUrn2xwE+pCanbIUlKFOAINbpHJbbs53aeH4v+ndTWsnDL2S5qKzmp4o6RC7PVLyFz9QDNWnCpZNJgmTTQGiWgh3/wVtv8EJHJBSL848w5sGWF1bMeS3+0dHARBwH1bRFMOJDlbf1tqR1Mo3s70ZoE3nNTUbMR7WfDI67fGsWET3RJMP2mvHSTn7IVxFIeHc77byCTtimzu7X9KyZtjbbg3fH2hi71aw7LBjZ1zFy3YEqaStnQG+YDDSREVs4hAr+V9Dkvucc7lic7eHmno3jfmOxM7l3bGHUU1ZH2QC+qqxPT95HFJV/cU1b2ql6po8yvIlXXSNQHkW97FFiouVtvbhLPPrLG5FjKxP7T5OpbQH6GBSHow/0c0GfcL2J073xcT3ST6RMiDd2IZXX2yz65LyX/+aTuwmkdfTaEfFY9hwj+mUZDBgjiXCnf6+WRy6hvkcIaN6YC9/vXlIOaR1YmHoKLJTXVexhfmt9Q35GyL6CDOv8OcHa8xxCrCNmO5NlsEeVhIikcY0M6otkAL5HFZfOEQx5hR4RXw7x6i1U0FtmRUuc9QrPi2Ht04AdplN0l5jfQE0w=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB3860.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(39860400002)(346002)(376002)(136003)(26005)(83380400001)(7696005)(86362001)(66476007)(53546011)(6506007)(71200400001)(19627405001)(33656002)(2906002)(316002)(44832011)(186003)(55016002)(15650500001)(478600001)(5660300002)(64756008)(8676002)(66946007)(66446008)(66556008)(122000001)(52536014)(38100700002)(4326008)(8936002)(9686003)(54906003)(76116006)(110136005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?RS9mQWdXekgvMnJWOHovNjlaQi9rdEg5aWpmQXlvVEVUMWR2OU0vQ3NheU9k?= =?utf-8?B?WEVLS2JPUWVFZUtoVlpzaXpOZy8ydjdoSVJxYVM0cTN1UDRmYU5uTjNZOTM4?= =?utf-8?B?cURvMUVZS1FxTjV4M1Vmd2dhUDNCUXRiT0REUE15bWtQQitKNFZWMWc0b25a?= =?utf-8?B?MTh6MTI3Qlhya0UvRG03T1NpanJ3VGRobkdCbnBQZ2MraGNvK1RRQVZudDda?= =?utf-8?B?ZGg1QmNFSm01TTFmSHZwRHlQZ05yaStRd3p1eU04NmpYOHhxUVhEL2ZWeDNR?= =?utf-8?B?TTBiWFpteG0ya0dkV2JjNkRFY1JyODVFc0krQTZzcTA1VXdBZGJCZlZXZlJ5?= =?utf-8?B?b0JubEpyN0tJRm90OTltLzFSeExhb3FIQ2pNdFp3SThuZUhlV1lFb3dZT2R1?= =?utf-8?B?Ym9lZExlUkZBSDd6c0FGRFV5cGVCV3E5dHlrTUhMWE0vMEZZdjhKNC9WSUN4?= =?utf-8?B?UjdES0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HZTNDVW5K?= =?utf-8?B?ZytsbDg2bjIwMGV1Qy9BdGhCZlFOblNrTE0yWTl1ZEthQjNXWUJuSXZON2F6?= =?utf-8?B?ZUV0QjgxaFBSQ3VMRWZ2MUgxQnFaTS9Oa1BqMzdVaWdtN3VrT0gxSW1wTys2?= =?utf-8?B?blJkai9SdWVtWkpkM2JvWisvcWh3QVJxUjNjcS9nYnA2R1c4UnN5SXVUNHRB?= =?utf-8?B?NXdmSXRWK0JqYnBrdFNqQmhuMXhhcVVpR2UwZHRhRWMzVzV0U3lpMGo3d1Ji?= =?utf-8?B?S3pMSnlIUmRHSDNrU2I4M0RRWVErdDBTbXVoeGxwZUpGK0QvcVNyRmd3NDE1?= =?utf-8?B?ejlqOHZDQXJyc2NwMzhBSWV1czdiTzRBbGc1QW0zWnBXNUo4b1lZNlk2WmU2?= =?utf-8?Q?iU/tc2NnZ02jkgev+Y=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB3860256D7A5910EFF821A58993479AM0PR07MB3860eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB3860.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 27892a1a-eded-4fd9-d6e9-08d904ee5216
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2021 17:53:07.4512 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: WqXo98+CTcLp4PQVnatpH05Tmi4rw7AWpld+CRRGWZfeLreAQw5m6b8bVP55QQfGCJ29YzBbYnggda8YggtPb27u4dYWed8fIUsQUVnJHdM=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0702MB3652
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/MY9UFZpJRdvLKJHTV_sqqcLod30>
Subject: Re: [stir] Proposal for update of erratum #6519 - ppt syntax
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Apr 2021 17:53:23 -0000

Hi,

I have not been able to follow the discussion in detail, but is there a reason why we simply can's say:

ident-type = "ppt" EQUAL token / quoted-string

...and then add text saying that the only token characters are allowed?

Regards,

Christer



________________________________
From: Roman Shpount <roman@telurix.com>
Sent: Tuesday, April 20, 2021 5:20 PM
To: Russ Housley <housley@vigilsec.com>
Cc: Marc Petit-Huguenin <marc@petit-huguenin.org>rg>; Christer Holmberg <christer.holmberg@ericsson.com>om>; IETF STIR Mail List <stir@ietf.org>
Subject: Re: [stir] Proposal for update of erratum #6519

Hi Russ,

The complete grammar would be:

      Identity = "Identity" HCOLON signed-identity-digest SEMI
          ident-info *( SEMI ident-info-params )
      signed-identity-digest = 1*(base64url-char / ".")
      ident-info = "info" EQUAL ident-info-uri
      ident-info-uri = LAQUOT absoluteURI RAQUOT
      ident-info-params = ident-info-alg / ident-type /
          ident-info-extension
      ident-info-alg = "alg" EQUAL token
      ident-type =  "ppt" EQUAL ( token / ( LDQUOT token RDQUOT ) )
      ident-info-extension = generic-param

base64url-char = ALPHA / DIGIT / "-" / "_"

In this grammar, SEMI is defined as SEMI = SWS  ";"  SWS. This should take care of the SWS after the token.
_____________
Roman Shpount


On Tue, Apr 20, 2021 at 9:22 AM Russ Housley <housley@vigilsec.com<mailto:housley@vigilsec.com>> wrote:


On Apr 19, 2021, at 9:57 PM, Roman Shpount <roman@telurix.com<mailto:roman@telurix.com>> wrote:

ident-type = "ppt" EQUAL ( token / ( LDQUOT token RDQUOT ) )

Since RDQUOT allows whitespace after the double quote, do we need to allow whitespace after token when there are no quotes?

    ident-type = "ppt" EQUAL ( ( token SWS ) / ( LDQUOT token RDQUOT ) )

Russ