Re: [stir] Double Quotes (ppt="shaken")

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 13 April 2021 07:10 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 A56893A0E6A for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 00:10:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 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, 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 JLLhCRw7M674 for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 00:10:47 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) (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 50D013A0E68 for <stir@ietf.org>; Tue, 13 Apr 2021 00:10:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=od7OJLvfBppp8pvR/+nN2stN4ro3aJCvd04xyGpWMtC7dbFZZB//tVuXPVitLa8l9w2YzehiWAT/QRsWtmeUsvRBPmnF0i/1dMmd3pWW28QYi05KEDeG5WHph/dpKfuFMXuKC8MwwcgFNfvTNeRfqg41VYo45Za1gcoyHG3K4gpw80GH7r87Q2MYnbTQWYF6djtAZ4klIrC3xulgDtCLuc7/RZfg61WUaNbQBwe/H8U0O4vLA42ZcjCy9q6nPMZLAeLANCdxC8cxRqBLYjw+HKDrGRWJouj/p0u5eoeBiPJDjFQRjiS9OT2bOwEODWlQBppMQSHGOccAhfSMeDCM3Q==
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=VvpzCYp4j7etypQ85ULL8AKTBnGYi+YqakJsujgJNtM=; b=k441pjgeLwkgJG8WgQmBSW6i8XUjl6xU+syABADM2cFW7ymMjmB6ZmuNWqQt8kZPWh9llo/4MuR4beiJUNugJkU+eIVdG/SRAQ/2t9f5IxGKe+cC2a/PWTpxloUos0o5AgGIeQXX8QWfSwMfGYkJQfkJ6NRf12T5OBtaCZQLfj9ZVOfe3Zr1TXCJ4dDg9jctr11rFwfKrAxQqFUeU5aojspbUM4o0Fav1Hs1KmaW4DQk06TPxJKwUBbU8jXb3OvsSbH/MhmQdKLaDK6b08bmZ4kAjGfuT13ph1Mjn+n91zSvgbWtcXFs/ODAkqvbEmc0DFD0LElnS2fpFKrF4jRhxA==
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=VvpzCYp4j7etypQ85ULL8AKTBnGYi+YqakJsujgJNtM=; b=BdX+sf6tmYcQNm9vxSgXCgMble4Ry2NLpT+q6HRxCd3n6NZFxhmCPNqlnRmWGDLKTvgoZl8atf3bdvS3Zahj6kNq2vjdUiXbuvB6Gk7/OhnFnRO2eQzALjINrQaD+8uecJol0XAZ1m594GbQ6SHRzjVziOSMDSpLzE2KwQfb2AU=
Received: from AM0PR07MB3860.eurprd07.prod.outlook.com (2603:10a6:208:4c::18) by AM4PR07MB3155.eurprd07.prod.outlook.com (2603:10a6:205:8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.9; Tue, 13 Apr 2021 07:10:44 +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.4042.016; Tue, 13 Apr 2021 07:10:44 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, "Peterson, Jon" <jon.peterson@team.neustar>
CC: Marc Petit-Huguenin <marc@petit-huguenin.org>, Robert Sparks <rjsparks@nostrum.com>, Russ Housley <housley@vigilsec.com>, IETF STIR Mail List <stir@ietf.org>, "Zerr, Brad" <BZerr@tnsi.com>, "Maier, Rudy" <RMaier@tnsi.com>, "Toy, Arthur" <atoy@tnsi.com>
Thread-Topic: [stir] Double Quotes (ppt="shaken")
Thread-Index: AdctQ4j2JHEYcys0QzuogzcVspXQ6wCWsfhAAAODKcAAAWk0AAAAtcwA///NwQCAAIt9gP//jWgAgAB3d4D//4xlgIAAhqEA//+C4tA=
Date: Tue, 13 Apr 2021 07:10:44 +0000
Message-ID: <AM0PR07MB3860DCE853A9681DD814B01F934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
References: <DM6PR15MB4108826B511AB55C7AC701C7C8739@DM6PR15MB4108.namprd15.prod.outlook.com> <DM6PR15MB41087FF63E80BD717A0A7B0BC8709@DM6PR15MB4108.namprd15.prod.outlook.com> <AM0PR07MB3860513B637D29AE0B88BDF793709@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAD5OKxtsy0JSn+SAeqSpb0tiQr+a_d79oAr_DOw_2XyQFS-C6A@mail.gmail.com> <fa620dbb-6e14-cf46-241d-3a0e433d79ca@petit-huguenin.org> <FCEE2D7B-EBED-4A6B-84EC-847B5C8CAE11@team.neustar> <CAD5OKxv4i4rO+MgkJdJs3f2D__0MPQZdoX7QJCrjs7c96S83Kg@mail.gmail.com> <3BD166FE-8E47-428B-B706-514EAFC459B4@team.neustar> <CAD5OKxs_0t-UmCdntkP0W6k1MdnC=hynO1UQwzAGZkksAJnU-A@mail.gmail.com> <3CBD1DBD-250A-4915-BE51-1439B6665387@team.neustar> <CAD5OKxvdnPEacuSF3Nw18b10F-uiFYe_yCVyocUf8dd8imDfEw@mail.gmail.com>
In-Reply-To: <CAD5OKxvdnPEacuSF3Nw18b10F-uiFYe_yCVyocUf8dd8imDfEw@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: [80.248.247.159]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 79f11270-e2ce-4927-e279-08d8fe4b413c
x-ms-traffictypediagnostic: AM4PR07MB3155:
x-microsoft-antispam-prvs: <AM4PR07MB31555117BF3D264EEDED9B31934F9@AM4PR07MB3155.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6WmTbmSFQ51VPKJr+LII8ccXNCIajTqph0JkPrGvN0kG39GWmvZZDgoUyUj67/ixklgMS/BJ0SISA8lWLwG6f7D13pTGB/gnoGcfDsX/jdHaNZ7RLIi2nxX+Ig/oT7ZZit5jtwc5IJH5vXv4jdgArKDPPTCLr2jtGuePrB+wDvD+O02msNZAbQUYaX0EbwYyqGKGd/HwKLtUJp2Oq9HPGUeJRw7ilCbIHRe4QSg5CC5MuU+bEem5smEYUhntjW1phH3f1DHvckvHhxZkSHRnMYdG1W9e5hxSs1fN+88kxdN/dh6tyEjjm3uYef7F4GpmA16ARLLucRO5wA8YFMDOX1J7OwEoZNeRuEOS4UvlG3K9hgdep/ZAUMQ8HWY393cuxevIC4ljh3B/LV8nnBQwdhYNH7vgKPIvkAR7d9LF2oXqbNlnU3s9Q2Ks0weV+aHBACZbtWuekqy9LnI5SBGa9/r6p24nkzjlnZBXGAXkhV61PeEMhikb5hvZr1HNcvEU+HD/iZkHJI4ylrG14cdE/fHj6tCroVA7aIukCosBx+fYT1NQjy5TXfw/71BRmjOuZO+dzA1qzMqjhJVKKSIb8LNBzlmcm06ChaPIkIO7kHQ=
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)(346002)(396003)(376002)(366004)(39860400002)(136003)(66556008)(44832011)(66446008)(52536014)(54906003)(66476007)(64756008)(86362001)(55016002)(5660300002)(8676002)(7696005)(71200400001)(66946007)(76116006)(33656002)(26005)(186003)(478600001)(8936002)(2906002)(6506007)(4326008)(110136005)(316002)(9686003)(38100700002)(122000001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: QQDbLuboyUYghtzJ0vU0Qj2ItCIkxFMNTYp8+Qe/weaS1ni65QXteB25C3msM4dc9AmbL3E3uo0Xs8H/t4WxBBoQH7XfaLoMe3b6sGTu1jePRmU8J98F1N3NWUwULRABxGKKHBpfhABVeu+OMfF6LJmidfLKXCk7LUJu5P9NPTp9K56hu5PFBinnWtiMBnNuFgEy6kqaGDhrmE1SSjj+d9GnmEhZFYB/MdDwFI3b6amxs8P5+y0wwrDO5KgFs6a2M/uFA+9jCptrH4Qv+MyiSGlNiQ1jV5GcNNj2k0HY/D1ngz2YQ3V6rt1Wvxn06/gF1vwxB2K01AUyzmLvnDSrojLXOB8giy9gsHgmcIgzEgRbxCjcJzZB2jD3ztNgUYazL8dV4+j/W2AsUoMmCaBslzLHwBeVZ/bnYzNwL+QeerSWsdlPWOqGenxEzd1jYKe1x1OfE+GvB/2beCFTTFfRIiWwD2CjYICy+ACEeqMronLVZ2N6NfVO+UzOuHiFmva0a9hTbJ00vVu5CZvioXFsqPNjzW1TLnCinxQ9HCGpf2Upb1PCCSqUnBcgfutxBi6vTkfjA6Wr3ArXbdbddKP8UPZ9HB4Q8WmNG4yCDIvEQKHRjbSrA12pD6rDIA3PB+UMjGN2ONOi3thObpR3PuDlDnVsiwZiRJKTE6Hs/bB+w1hBuJ1YTqbCVjfifg877xrAyruc3lwlmwqy7f/ytsUiacYpmHG4rGYsmoZppjAXjBRfav3lGmhBMQuADXPfwYcUSMiqZHCCm69Bmnuw6qxAm3eHOy/d2656Z5boQ3UJxk1UilqpKUNaqfT25gg8CHRdSmg8lwj4wgTXOo0jycYkydyG1WtH6jIpQf2zC8ZuDCcWOKlCk3MDEdXBTK0EaCBpVViLgyTJA8MQklc6WOKw8EFYuqzqdlFH12oqG6vl6IOYY3uGDCDPDVjSAQwXth8OlAmrSIVZfFCKQhQaC0hA0+IZ+iWbDVuLhV8ocPeI5ml4Nps+oaVd2QmmN76H5KGpjzmTB0lerwlscx1AWibRbsAL7x8bDBBlmH4vXR1c9v67YoxnvXJ6E/up5WT41Hdg+D1m43SC7t13tQTXh4SQnD1b7do7FmgAX6MiIXB00+jGweP2/tat7gH85pxxV8arIy/WohdKFpowqGtNZVlhAJcSZzfh3ISBzkCwG9m/y3r2JlKH5nT21rZzve8D60OqQZlWn8OYmQqVFx/dSYvesq8MdOiFCrYUywdb5AkXBa5C5kzEaW0CyfRVEOHfOj7LECKovrrJA+pDhsQU47JLXZrLiBfvd3CSCINMLixbCUMJwSxDTKIk64ZxvEmRJ6ho
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
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: 79f11270-e2ce-4927-e279-08d8fe4b413c
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2021 07:10:44.3066 (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: JlgqVj0b0YpdKC3Q+sf70uMjjn5LT/lyxGqI/jMIPbp8yg6w2+g7b4gQFmxYFtCLk0cqO9TxYnn7bVtduXKexFV8fyq383dULVgB9G1MFJw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB3155
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/t_0Gc043wX6jSPP9KzzOTbqGCwg>
Subject: Re: [stir] Double Quotes (ppt="shaken")
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: Tue, 13 Apr 2021 07:10:53 -0000

Hi Roman,

...

>> 4.1: Fourth, if a PASSporT extension is in use, then the optional JSON
>>      key "ppt" MUST be present and have a value equivalent to the
>>      quoted value of the "ppt" parameter of the Identity header field.
>> 
>> I believe this was already cited earlier in the thread(s), but it is the “quoted value” part there that has been read as a normative strength endorsement. It is saying directly that the value in the Identity header field is quoted.
>
> As far as I can see, this language does not say anything about the ppt value in the SIP Identity header. This entire section specifies how the PASSporT header JSON object is composed, not the SIP Identity header. All this language is specifying
> is that the ppt parameter in the header JSON object must be present and set to the quoted value of the SIP Identity header field.

I agree.

Because, if you read the bullets in Section 4.1, "quoted" is only used when the corresponding value is quoted in a SIP header field (kind of, as describe below)

For example, the text of the 3rd bullet says;

   "o  Third, the JSON key "x5u" MUST have a value equivalent to the
      quoted URI in the "info" parameter, per the simple string
      comparison rules of [RFC3986], Section 6.2.1."

The URI is quoted in "info" parameter of the SIP Identity header field.


The text of the 5th and 6th bullets say:

      "then the array MUST be populated with a JSON object containing a "tn" element with a
      value set to the value of the quoted originating identity"

      "then the array MUST be populated with a JSON object containing a "tn" element with a
      value set to the value of the quoted destination identity"

(Now, SIP To and From URIs actually don't have to be quoted (sometimes they have to be), but let's leave that for now.)


I think the confusion comes from the usage of "quoted" in the text. Is the purpose to point out that the corresponding value is quoted in SIP (which, IMHO, is irrelevant), or that the value is quoted is quoted in SIP and therefor also in the PASSporT?

It is also worth noting that in SIP the values are quoted using left- and right angle quotes, but you are not copying those quotes into the PASSporT.

Regards,

Christer