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

Roman Shpount <roman@telurix.com> Wed, 14 April 2021 03:59 UTC

Return-Path: <roman@telurix.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 DE4DE3A19F2 for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 20:59:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.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 0TobMGoiMZRL for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 20:59:36 -0700 (PDT)
Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B42C3A19EC for <stir@ietf.org>; Tue, 13 Apr 2021 20:59:36 -0700 (PDT)
Received: by mail-oi1-x234.google.com with SMTP id x2so19273745oiv.2 for <stir@ietf.org>; Tue, 13 Apr 2021 20:59:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QiGxDk0s/aM7ipqBQDDhRxBX524hHgKLYPQo//zjtBs=; b=HfyvGA2WhsstX4W860YYEQcT+jQ36ahE3k20IvjpKzYLGGSLTo/luz9wT0XSPa04M/ poNK7bDVMhvaDLtVbKBeFO/vdw7c9VJjJdcFqmI4FmbctOe1zW5VXlcDj7YVZ5VR6b0k cjyh/ToAcQyW0PsS90g4ivTVJ/8yyrvtZ9iZU4N61ZlAs24PadDxdEsfL7fuYf5Ggq9R DRrWR3BTGL7f/xS55hrYdakuXWchrEBTjhWuiltTI8Psn326BqryprSu5k0VJNnPlCnf dLcBtMw0V3fX0Xt2Gzuntyq0BwB835FQduF/7Tpvwd0923slcBriKxJHjhVDTAek9iow 1z3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QiGxDk0s/aM7ipqBQDDhRxBX524hHgKLYPQo//zjtBs=; b=l9gDJRBoqNX3IitCFHezOjMRcystxIlMGzl3uqJ07qTdJl2EkHuDXNqurcpuSJEKzh DTWdjjtzvDwfXP13UYOmdaJCMmFNewX3/lAah4K6ENvCKaZDjJq0v7mp9lgWXLMfWTVh nvFN+SSIA0L+Irj2Ic9gyIRLnc6UR+1WcOIbyVANNLeTIICvMv0d6AkRIwzs1ctEkSnP xT0IFe2Sc2fiqBmyR5biO+RA94Y9/iEyEquHKn/KHQJoAUpRDop6+dVgIV7g5025+I4c hVaCP9hEI+pF84/fynwzKr5ngCyWIoJK3lTenDnez1PNpNOQvYbvNDnqIh7PbdRdn57G PKmg==
X-Gm-Message-State: AOAM530awvIdv0syH7PBL7UW+lgzEeZWLCJtf6MbrUIsY3mFr02rMBXA ID+p1bmcAuepebqfqjYV3SIbaf0VffSemw==
X-Google-Smtp-Source: ABdhPJyEfxRZTEmo5Cd6H17ucvO4T0Z5jUyQNPnrKCd10jtSdSxqr+rAzjGdHr9d02iPqFxN2cbw0w==
X-Received: by 2002:aca:3007:: with SMTP id w7mr851368oiw.115.1618372774345; Tue, 13 Apr 2021 20:59:34 -0700 (PDT)
Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com. [209.85.167.178]) by smtp.gmail.com with ESMTPSA id 3sm3877618otw.58.2021.04.13.20.59.33 for <stir@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Apr 2021 20:59:33 -0700 (PDT)
Received: by mail-oi1-f178.google.com with SMTP id b3so4491364oie.5 for <stir@ietf.org>; Tue, 13 Apr 2021 20:59:33 -0700 (PDT)
X-Received: by 2002:a54:4f8f:: with SMTP id g15mr843612oiy.12.1618372773311; Tue, 13 Apr 2021 20:59:33 -0700 (PDT)
MIME-Version: 1.0
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> <AM0PR07MB3860DCE853A9681DD814B01F934F9@AM0PR07MB3860.eurprd07.prod.outlook.com> <AM0PR07MB3860D2A19669B33102A06000934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
In-Reply-To: <AM0PR07MB3860D2A19669B33102A06000934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 13 Apr 2021 23:59:23 -0400
X-Gmail-Original-Message-ID: <CAD5OKxtoPnuMpTehH+Bbz3w1y8L0-JTk91GNf_1+Md=+hpiE7Q@mail.gmail.com>
Message-ID: <CAD5OKxtoPnuMpTehH+Bbz3w1y8L0-JTk91GNf_1+Md=+hpiE7Q@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, "Peterson, Jon" <jon.peterson@team.neustar>, "Maier, Rudy" <RMaier@tnsi.com>, Marc Petit-Huguenin <marc@petit-huguenin.org>, Russ Housley <housley@vigilsec.com>, IETF STIR Mail List <stir@ietf.org>, "Toy, Arthur" <atoy@tnsi.com>, "Zerr, Brad" <BZerr@tnsi.com>, Robert Sparks <rjsparks@nostrum.com>
Content-Type: multipart/alternative; boundary="000000000000447c9b05bfe6c60a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/r1O1Mbgbir9jsxYY7Hkc9XXamfg>
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: Wed, 14 Apr 2021 03:59:41 -0000

On Tue, Apr 13, 2021 at 3:16 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> (I pressed SEND too early.)
>
> Now, in addition to what I said below, the bullet for "ppt" says:
>
>    "o  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."
>
> And, THIS is what I think is the main source of confusion.
>
> Because, as described earlier, "quoted" seems to be used when the
> corresponding value is quoted in SIP. Now, that would mean that the "ppt"
> value *is* also quoted in SIP.
>

This seems like a very round-about explanation. Considering that this
section is talking about how the JWT PASSporT header is generated, it is
strange that it should be considered normative for the SIP header formation.

Even if the document specifies two opposite things, we should probably pick
the one that makes sense. Quoting a value that is always a token makes
little sense. Unless this document wants to imply that the ppt value is a
quoted string and should always be case sensitive, I see no reason why
quotes are required. In either case, some errata needs to apply either to
this section or to the grammar to avoid future confusion.
_____________
Roman Shpount