Re: [stir] RFC 8224

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 07 April 2021 08:14 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 58D213A1043 for <stir@ietfa.amsl.com>; Wed, 7 Apr 2021 01:14:07 -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, RCVD_IN_DNSWL_BLOCKED=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 sXxx09bB8ziR for <stir@ietfa.amsl.com>; Wed, 7 Apr 2021 01:14:02 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80055.outbound.protection.outlook.com [40.107.8.55]) (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 F10FC3A103D for <stir@ietf.org>; Wed, 7 Apr 2021 01:14:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JW6/5bHu66ONLx0RG4sX28agupu65WCgqF7PTIGsIstIsr4L3JsSBIJ1xCG5ugVqQpMLNkkhCNJwloHMtW9ptQh2VHG8Fp4rpf8uPHH/s6hUOVoIqJSCQBOnsFe0kRFrq45+slVMYsAT74vy0vmyZb2r+8h41709LWKefVDFm2BLbvbXc4zJOQ8OTcl/Xg4B2KFY/JIVsoWSMM8twY2FpMtsjakOYInZ2vMvjmLcjtVRIsZHtX1UKKLR7N5t/3LbTt27P2NpEERd7j8m6VSvlEzhEchHYaxjfbY2qxPfZKzKWtBHNk7cwceqTmS6M+Q9wmZqE3JxFSM1wHKu0kPeCA==
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=sBKHnctjdKpR4VoOGMaRuBQjBEiYw/VAJThAVh++QSQ=; b=aUxc05j0bWegjR6FUs9O4+Kojst1DpgKoXKtQ7jDsv8gf9ftT35eujrc9EO2WWK3ktWlY0Pztze4udd+takFbkxP0WDcWoX7GeXTda42MB/6u1srXRSGfVeG1JUnYTeKNPJGshcR0Wj1y2OvVACSJQgTZgdjrdhCJMULC6xKpRNFwyTYWfbC8mL2sSI6UzBInbXVo9TUcZqWpNhPXI5tb2XUmSnOE0tySbdUNCQH44LDiYHI69DV1saXhaqqI1eB2mTUZ4AzRtw8E0ZwZUHE1Wa4PDQggIa+/nHtugcbVUdCRXq2vxFhud9qToz9UDgQTFEnApUWuxTqODh/gO1f1Q==
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=sBKHnctjdKpR4VoOGMaRuBQjBEiYw/VAJThAVh++QSQ=; b=DZdKKQ2RsGqhcqj7DxsdXC7eprDOMSI1lQBEjqV5stcHobZaqePJgcsOKXBT2QAf7WJix9nzV5ao7JcYTXUjY4yH1r6x7pRQOU2xUfT1eHM/vJnDh6rdZSQyZa3Qj1CZBUiH4dQgQfk82kWxJFJCruhbbCJTqLOi9YdS22Z3jxE=
Received: from AM0PR07MB3860.eurprd07.prod.outlook.com (2603:10a6:208:4c::18) by AM8PR07MB7665.eurprd07.prod.outlook.com (2603:10a6:20b:247::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.8; Wed, 7 Apr 2021 08:13:56 +0000
Received: from AM0PR07MB3860.eurprd07.prod.outlook.com ([fe80::35d8:a4ac:4e0d:f0dd]) by AM0PR07MB3860.eurprd07.prod.outlook.com ([fe80::35d8:a4ac:4e0d:f0dd%4]) with mapi id 15.20.4020.017; Wed, 7 Apr 2021 08:13:56 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Marc Petit-Huguenin <marc@petit-huguenin.org>, Cullen Jennings <fluffy@iii.ca>, "Zerr, Brad" <BZerr@tnsi.com>, IETF STIR Mail List <stir@ietf.org>
CC: "chris-ietf@chriswendt.net" <chris-ietf@chriswendt.net>, Eric Rescorla <ekr@rtfm.com>, Jon Peterson <jon.peterson@neustar.biz>, "Toy, Arthur" <atoy@tnsi.com>
Thread-Topic: [stir] RFC 8224
Thread-Index: AQHXKuCsV0y/psReW0yN3U7d8tpnjaqnbKNAgACQcQCAALgmsA==
Date: Wed, 07 Apr 2021 08:13:56 +0000
Message-ID: <AM0PR07MB3860D8B8F633F8AD911CA47893759@AM0PR07MB3860.eurprd07.prod.outlook.com>
References: <DM6PR15MB4108EDAC1D320CA0132CFFE3C8779@DM6PR15MB4108.namprd15.prod.outlook.com> <85B1C6DA-6128-4D4D-A0A4-499C03CA390D@iii.ca> <AM0PR07MB3860550B5D4DB10FAA5EF0D293769@AM0PR07MB3860.eurprd07.prod.outlook.com> <ca269d6c-5b64-1c2d-3c30-06ecbe1945ee@petit-huguenin.org>
In-Reply-To: <ca269d6c-5b64-1c2d-3c30-06ecbe1945ee@petit-huguenin.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: petit-huguenin.org; dkim=none (message not signed) header.d=none;petit-huguenin.org; 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: e53d24e4-ac9f-44d3-379b-08d8f99d1735
x-ms-traffictypediagnostic: AM8PR07MB7665:
x-microsoft-antispam-prvs: <AM8PR07MB7665401203EA59FCC14A866093759@AM8PR07MB7665.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: b953OPF6LkSlshtNT8C4jaGF7s7dP/sxXGwcLAy/fak1U2uu6aZ3nf4wrbw+K0aK5ACuB6b/zByqa3kMFw52HRF2APY7Etb1J+2/NGqWKO6r7vvW30M8NRJjeABaVCy3NL5GyXQ8qXrBVJXLgYx18Nyk02P3P7Hio74kKW/WRJb2aOiyZxJsFzEMylFw1VQQ+YiCyEm7jYx+aY0RdIAQ+MDl9hZf+twBi+b//ahV7lPOugZrwEfqnqOUpH1Cb/k4T1Ff7uqKp38MAv9kTPXq16xDDjUsrFu0EKKPNZxUgztLx3kEhFGhBcAh6HmH3Ve3SvkRxP/6BMepGfJbIKCpkI5abz+wrGw9go/WiOTZkQAbgbfnhdrPbjGrrYVDC2vxFUHLUStDDA+ewYCW3jjBDTTqTWN8AzU3TKH2WBTDDJYJugbI/wqazp1hy5QFZFJ3N+DlK1Wybil5AW4sRVriCCFk5JduA+ozz1EuFPC9uPJLGYj4bzK1b6KQHXs/4FVJGfAfI085vb0+z3uYkv6dXTWN2u6P8QtN32GQcuVu4BW63FXffPbIJ7gq5Lv9O6wYrTiShcfRR6Z8wD2nfUSy6fVSGBoAny5n5NZUsv807Di1/VAO7qY5DlwlawsL1KNiPhgK3saFafwyztXp+B4mxKAqISkAyC3B75HRSefEnTgXlp0DOlVevbV15pLbEj9lJ+nqXG87bMp26tpev5SZv9/10HOdmZbmWj6CY0wrPh4=
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)(366004)(376002)(39860400002)(136003)(6506007)(110136005)(71200400001)(316002)(8936002)(478600001)(53546011)(7696005)(9686003)(966005)(26005)(55016002)(54906003)(86362001)(38100700001)(8676002)(186003)(83380400001)(45080400002)(52536014)(33656002)(66946007)(76116006)(66476007)(66446008)(64756008)(66556008)(2906002)(44832011)(5660300002)(4326008); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: //dvMVB046Dzoa7CBp1WWBZQvLaEAogLMwuwzHZ9gqkd27p1lfYIU0xtIFsF9E+1AATVSDsObraP6tk09KxeUbignw65DpTYbMI2vvd55r7dKKeMNUJn6V97sYRAuV5R/jMAWB7+wJ5tmzJAPyQgWcRH6FTulXNWbyh7c307rEE5yh07FtOZgQYKEzzkSHfA8BM8Icgz3VNUZdoj6rFKyhtYQXA8ODaqC4xlYvI6IRY6Fb3HqJv+6JfdM5U8NxPUmUwDJrteulyKbFSNC92LdlOkO+srWLTp4BlSKe9Lypf253fqZ5egn1kxmzpw35XeG9fT3Ag4X5FfiJhExG1kcrXdzYpGd18Q3zz25lRweqtyf3f+GJ3UQau2jAXWn7TvMnAuHSeylvVLMojjByiapGSIEqG9Zv+3LFU9WUY5835GHTR9CbgjuwaBL/YS5rAPpqulluoebC11U4XpTjGvQ9YCpV5GjLZftxclF/7Zlb99HaOXOQGqO1ie/DsZRGWsAElMJVcA4y1QSVEvLihUVhwxRRPyCgtB/ipXCQXkHlmaoj2s00dn0gXWBS7PnKyZWWPe7oU4ZOZIAu8XjviBtzfHOc3ui56s4ecp9dakIpLZNAv0vQxaxFLxfqrg8+yEOycmEagMIKVd83Nl7lRySlZAFVztYpfY+tupyYZvTYx2H5G/oGLWuZStA5I5J/JUUuqiNksE1lzKhVslEOKnR64DFKOn/+/emkwdkcz0oBSlpLDAFfjw/rD0fUfwQ+HcmLn4h/y0GwP1gZZIMPnKUlW0ml/COJZs+u6UpRiXB8/QsQXG6twjZxdhzepuWHoTmu7XgA/K43MFa/xwvcdPYuPSyyjg5EJQCnA563ovC7WASQS1NufWHLZX3NH/Ffp9uog8TxF+3RthBO58QJ1zxf+gcOhLgckcJaI+tkgLsHRRqGwEX3+tI1ow28TzVVFKnKLGEwzLqc+vawTZYIS3kXt4X7Zv6BOhPld48BrNHQ3zmq+kkK33ZjsYF8zELn6+7jrC/kbkot6K9Ba4zRyCdzfePuYfwAeSdANd10m6n+p+xOLekcr5+cjsPcSWtKzKYKJ2d54+oTfHQGarWtdGSTXuJyF2X3Wv2odWIt/eDzc+OYYxKkQcaEYkXj1AC0ATT8nn/zHV6ZJ/EDerRtelbAnTuacJ6nAlJJgSLnKAT0dIM1ZKFhc51l+o7iMn9+S1778uCPh/m00QtypEsMihZvdzxgv3gj5dAEbt3qcwC5s4U71h4dcFYMjPVaIrw/vKmgQhrC60og2WsJQfxgTw0ky0N0VZxu58YZf8aENuNBXy9cCDpB4oYgUja2/Mn7rU
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: e53d24e4-ac9f-44d3-379b-08d8f99d1735
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 08:13:56.6001 (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: /LFKEAvElHX8YytwgYkAAWhdNqLUkbY1n8/D+UMQ02RgMWCElmwz9cXigbqxRLPhkyeoassyO/UCDBphWUCl9Rh6meXs7oVNL/57sHU/Tsg=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB7665
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/HKmdXTSxJUsd4PzKp8bt68HOsqA>
Subject: Re: [stir] RFC 8224
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, 07 Apr 2021 08:14:07 -0000

Hi,

>I think the question was about the format to use before canonicalization.
>
>My understanding of RFC 3986 is that `#` should be escaped because it is the delimiter for an URI fragment.  Fragments are not defined in SIP URIs, but a generic URI parser may still remove everything after and including '#'.

"#" will have to be escaped in a SIP-URI, e.g., in a To header field.

But, Section 8.3 of RFC 8224 has nothing to do with a SIP-URI or the To header field.

Regards,

Christer







OTOH there is no need to escape '*' as it is part of the `sub-delims` rule.

so

....
To: sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone
....

is fine, but dialing directly an extension would be:

....
To: sip:+14085550460%2377@example.org;user=phone
....

On 4/6/21 5:43 AM, Christer Holmberg wrote:
> Hi,
> 
> %2A is not the ASCII format of *, it is the escaped (see RFC 3261).
> 
> And, the syntax allows both * and #, so no need to escape (in fact, it is not even possible to escape in this case):
> 
>               tn-spec =  1*tn-char
>               tn-char = "#" / "*" / DIGIT
> 
> Also, note that RFC 8224 does not define the syntax of the To header field - that is done in RFC 3261. The telephone number described in Section 8.3 of RFC 8224 will be included in the PASSPort (RFC 8225).
> 
> Regards,
> 
> Christer
> 
> From: stir <stir-bounces@ietf.org> On Behalf Of Cullen Jennings
> Sent: tiistai 6. huhtikuuta 2021 15.30
> To: Zerr, Brad <BZerr@tnsi.com>; IETF STIR Mail List <stir@ietf.org>
> Cc: chris-ietf@chriswendt.net; Eric Rescorla <ekr@rtfm.com>; Jon Peterson <jon.peterson@neustar.biz>; Toy, Arthur <atoy@tnsi.com>
> Subject: Re: [stir] RFC 8224
> 
> 
> Adding to STIR mailing list …
> 
> 
> On Apr 5, 2021, at 9:19 AM, Zerr, Brad <BZerr@tnsi.com<mailto:BZerr@tnsi.com>> wrote:
> 
> Good Morning.
> 
> This may not be the correct process, so let me know if I should ask this in a different forum.
> 
> I had a question regarding section 8.3 when it comes to * and # handling.  Is this stating that when a * or # proceeds a digit string (i.e. *55), it should be in ASCI Format for the * (i.e. %2A)
> 
> <image001.png>
> 
> So Instead of this:
> 
> To: sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone
> 
> It should be this
> 
> To: sip:%2A55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone
> 
> 
> 


-- 
Marc Petit-Huguenin
Email: marc@petit-huguenin.org
Blog: https://protect2.fireeye.com/v1/url?k=980fc57b-c794fc4a-980f85e0-86e2237f51fb-d778e82319b4f5fa&q=1&e=032f1e9f-0aed-459c-b48f-5a5bb8a74467&u=https%3A%2F%2Fmarc.petit-huguenin.org%2F
Profile: https://www.linkedin.com/in/petithug