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

Marc Petit-Huguenin <marc@petit-huguenin.org> Mon, 19 April 2021 18:23 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 BE9D63A3DA3 for <stir@ietfa.amsl.com>; Mon, 19 Apr 2021 11:23:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level:
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[NICE_REPLY_A=-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 ZB9wg11g2MuJ for <stir@ietfa.amsl.com>; Mon, 19 Apr 2021 11:23:40 -0700 (PDT)
Received: from implementers.org (implementers.org [IPv6:2001:4b98:dc0:45:216:3eff:fe7f:7abd]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29F4F3A3DA1 for <stir@ietf.org>; Mon, 19 Apr 2021 11:23:39 -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 765F3AE255; Mon, 19 Apr 2021 20:23:35 +0200 (CEST)
To: Christer Holmberg <christer.holmberg@ericsson.com>, "stir@ietf.org Mail List" <stir@ietf.org>
References: <42e964d3-2a16-660b-f8b4-fd9daedad115@petit-huguenin.org> <AM0PR07MB38604255784FF9E621257B2D93499@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Marc Petit-Huguenin <marc@petit-huguenin.org>
Message-ID: <3d8e2fce-d124-99b9-e295-734a36ad564a@petit-huguenin.org>
Date: Mon, 19 Apr 2021 11:23:34 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0
MIME-Version: 1.0
In-Reply-To: <AM0PR07MB38604255784FF9E621257B2D93499@AM0PR07MB3860.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/EAf_uTAMAAYh-dHWqt5psWZc-Vs>
Subject: Re: [stir] Proposal for update of erratum #6519
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: Mon, 19 Apr 2021 18:23:45 -0000

Hi,

Responses inline.


On 4/19/21 9:48 AM, Christer Holmberg wrote:
> Hi,
> 
> A few comments:
> 
> Q1: Instead of talking about "being tolerant", we say that an implementation MUST accept values with or without quotes.

That would place "with" or "without" quote on equal status, which they do not have.

> 
> ---
> 
> Q2: Regarding the following statement:
> 
> "Note also that the new syntax does not allow for spaces immediately before or immediately after the token when quoted."
> 
> That is wrong. The syntax DOES allow it.

No, it does not.  Let's expand it:

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

The SWS are possible outside the quotes, but not inside.

> 
> And, why does it bother if there are spaces?

Because now you need to explain that the spaces needs to be removed, before comparing the values.

> 
> Regards,
> 
> Christer
> 
> 
> ________________________________
> From: stir <stir-bounces@ietf.org> on behalf of Marc Petit-Huguenin <marc@petit-huguenin.org>
> Sent: Sunday, April 18, 2021 6:55 PM
> To: stir@ietf.org Mail List <stir@ietf.org>
> Subject: [stir] Proposal for update of erratum #6519
> 
> As discussed during the interim meeting, here's my proposal for the new text of erratum #6519.  Note that "Original Text" and "Corrected Text" refer to the names of the erratum fields, not to the current content:
> 
> - Original Text:
> 
> Section 4 says:
> 
>     ident-type = "ppt" EQUAL token
> 
> 
> - Corrected Text:
> 
> It should say:
> 
>     ident-type = "ppt" EQUAL (token / LDQUOTE token RDQUOTE)
> 
> Furthermore in the second paragraph of section 4, the following sentence should be inserted after 'defines the optional "ppt" parameter (PASSporT Type).':
> 
>     Implementations SHOULD use quotes around the token when sending and be tolerant to the absence of quotes when receiving.
> 
> Similarly in the fourth bullet of the first list in section 4.1, the sentence '...a value equivalent to the quoted value of the "ppt" parameter...' is replaced by:
> 
>     ...a quoted value whose unquoted part is equivalent to the token in the "ppt" parameter...
> 
> Finally in the first paragraph of section 9, the sentence '...The "ppt" parameter value MUST consist of a token...' is replaced by:
> 
>     ...The "ppt" parameter value MUST consist of a token (between quotes)...
> 
> 
> - Notes:
> 
> Based on discussions in the STIR WG, implementations should use the quoted form when sending, but should accept both forms when receiving.  Regardless of the presence of the quotes, the content is treated as a token, i.e. is case-insensitive as explained in RFC 3261 section 7.3.1.  Note also that the new syntax does not allow for spaces immediately before or immediately after the token when quoted.
> 
> --
> Marc Petit-Huguenin
> Email: marc@petit-huguenin.org
> Blog: https://protect2.fireeye.com/v1/url?k=f3adc327-ac36fa25-f3ad83bc-869a14f4b08c-93577bad37148e54&q=1&e=6560ca76-961e-422e-be46-b21dbd7d45d2&u=https%3A%2F%2Fmarc.petit-huguenin.org%2F
> Profile: https://www.linkedin.com/in/petithug
> 
> _______________________________________________
> stir mailing list
> stir@ietf.org
> https://www.ietf.org/mailman/listinfo/stir
> 


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