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

Marc Petit-Huguenin <marc@petit-huguenin.org> Sat, 24 April 2021 12:44 UTC

Return-Path: <marc@petit-huguenin.org>
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 964CD3A00E2 for <stir@ietfa.amsl.com>; Sat, 24 Apr 2021 05:44:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 PpON1RpI1S2F for <stir@ietfa.amsl.com>; Sat, 24 Apr 2021 05:44:01 -0700 (PDT)
Received: from implementers.org (implementers.org [92.243.22.217]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A26D53A00E5 for <stir@ietf.org>; Sat, 24 Apr 2021 05:44:01 -0700 (PDT)
Received: from [IPv6:2601:648:8400:8e7d:d250:99ff:fedf:93cd] (unknown [IPv6:2601:648:8400:8e7d:d250:99ff:fedf:93cd]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) client-signature RSA-PSS (2048 bits)) (Client CN "Marc Petit-Huguenin", Issuer "implementers.org" (verified OK)) by implementers.org (Postfix) with ESMTPS id E7202AE21E; Sat, 24 Apr 2021 14:43:57 +0200 (CEST)
To: Christer Holmberg <christer.holmberg@ericsson.com>, Roman Shpount <roman@telurix.com>
Cc: Russ Housley <housley@vigilsec.com>, IETF STIR Mail List <stir@ietf.org>
References: <AM0PR07MB3860705EF8140EC7808E68BE93449@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Marc Petit-Huguenin <marc@petit-huguenin.org>
Message-ID: <46509e23-63eb-72dc-adda-2bcf2a07ba9d@petit-huguenin.org>
Date: Sat, 24 Apr 2021 05:43:56 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <AM0PR07MB3860705EF8140EC7808E68BE93449@AM0PR07MB3860.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/FiXTlTvirHLtXzSb7N22EAhfWGE>
Subject: Re: [stir] Proposal for update of erratum #6519 - ppt syntax and normalization
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: Sat, 24 Apr 2021 12:44:07 -0000

On 4/24/21 5:42 AM, Christer Holmberg wrote:
> Hi,
> 
> ...
> 
>> You would also need to explain that, contrary to the rule for a quoted-string, the string is case-insensitive.  And you still have to explain that the string needs to be normalized before copy in the JSON document.
> 
> Doesn't the normalization also apply to non-quoted values?

Yes.

> 
> Because, even if token values are case-insensitive, if you receive a ppt value - quoted or non-quoted - you need to normalize it before adding it to the JSON document.
> 
> Regards,
> 
> Christer
> 
>> -----Original Message-----
>> From: Marc Petit-Huguenin <marc@petit-huguenin.org>
>> Sent: torstai 22. huhtikuuta 2021 21.07
>> To: Christer Holmberg <christer.holmberg@ericsson.com>om>; Roman Shpount <roman@telurix.com>
>> Cc: Russ Housley <housley@vigilsec.com>om>; IETF STIR Mail List <stir@ietf.org>
>> Subject: Re: [stir] Proposal for update of erratum #6519 - ppt syntax
>>
>> On 4/22/21 11:02 AM, Christer Holmberg wrote:
>>> Hi,
>>>
>>> Another thing. Since we are now using DQUOTE, won't those become part of the ppt value? I guess we don't want that.
>>
>> The text I proposed is taking care of that:
>>
>> ...a quoted value whose unquoted part is equivalent to the token in the "ppt" parameter, normalized to contain only lowercase characters...
>>
>>
>>>
>>> Regards,
>>>
>>> Christer
>>>
>>> ________________________________
>>> From: Roman Shpount <roman@telurix.com>
>>> Sent: Thursday, April 22, 2021 9:00 PM
>>> To: Christer Holmberg <christer.holmberg@ericsson.com>
>>> Cc: Marc Petit-Huguenin <marc@petit-huguenin.org>rg>; Russ Housley <housley@vigilsec.com>om>; IETF STIR Mail List <stir@ietf.org>
>>> Subject: Re: [stir] Proposal for update of erratum #6519 - ppt syntax
>>>
>>> On Thu, Apr 22, 2021 at 1:54 PM Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>> wrote:
>>> Doesn't the SIP ABNF allow spaces (LWS) between the different "syntax parts", DQUOTE and token in this case?
>>>
>>> I do not think so. At least all other elements like LQUOT and DQUOT explicitly define where LWS is allowed.
>>> _____________
>>> Roman Shpount
>>>
>>
>>
> 
> 


-- 
Marc Petit-Huguenin
Email: marc@petit-huguenin.org
Blog: https://marc.petit-huguenin.org
Profile: https://www.linkedin.com/in/petithug