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

Roman Shpount <roman@telurix.com> Tue, 20 April 2021 14:20 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 651013A25D2 for <stir@ietfa.amsl.com>; Tue, 20 Apr 2021 07:20:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 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_BLOCKED=0.001, 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 P3jh8YwdmX_p for <stir@ietfa.amsl.com>; Tue, 20 Apr 2021 07:20:50 -0700 (PDT)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 E27B63A25B5 for <stir@ietf.org>; Tue, 20 Apr 2021 07:20:49 -0700 (PDT)
Received: by mail-qk1-x735.google.com with SMTP id v7so11379482qkj.13 for <stir@ietf.org>; Tue, 20 Apr 2021 07:20:49 -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=CQU3mfrf+dDJmxVwIJyWPNC7wxaMgUicquOjkPYMTj8=; b=fq4N9di7IqtYsQ6tm0M7FYEaQabg1B9TBPoDP6T1Qv+YAGoZ2GovynD+auKlAfhTr3 6Fzn/HLeDJ86nKCzWkp1M2A/vk5+IR3IuOKpMKXzfuodQRx1et2x9sn4SNf9VrSoj8gV F/e6ITiHYz1WXg1UIf1NO4buJxHOscWw5M3axqq69RmsAz36aMQSdWiT65W/aTBgBcTd wH/G+DRXfhmZnENb+mJcxCSAkPH++o71MlISzwwB4n0bLqaEfI1jsJ+oc0eUHru75IHM 8yVQcyKV1hIaaqSEDJaNmFTHpqSFxGtxrM1mx3MtsxzZUMJ12F4SKeLF374XCMCkiSDV LbaA==
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=CQU3mfrf+dDJmxVwIJyWPNC7wxaMgUicquOjkPYMTj8=; b=CVxcB0qygMYK/3oLgJJ7u5w1OAEDmFjLyqIk8+EKpAVva0yIB4UFBq/CYO9vka/GqY 6sgfQg77NozsWlJHc2AKuOiSBkrrrtq6/3tVrTbGfiwi8pTd9R9rBoOOu6mukune0t4l 4E/XgljD+nqFP8M1WvoZahVjdFjrKYhCo0XbYw978VX95we5aRgvQcYFSH3l2CAiBwMm Vkm2rawOpVgYNUee58qJQjweHYyQPwNX2xbTxsJqUxT/3l5Xv2jec/vdR3kt6KQcrJm3 EoXOpehiDoO08zNvtWob3OaZnQ/qiILLRbt28tHlKp4hi52ykknj4BeOZwD2j5asTm3/ lTcg==
X-Gm-Message-State: AOAM533HasjEY/G+tcozr4E+61WGBgAH9GiaWcqluHQ9ECdkqvKthZhZ E/FR2V/WWPSiqO+0lQaYGWGYbJnJwShPhg==
X-Google-Smtp-Source: ABdhPJzUuTZy9awY2ZlK8ZtS4IjmFP3mSIGoaYq3CxAwMSsl2oUTNICS0jiapBAnF7i/7oJLa4O+HA==
X-Received: by 2002:a37:9a84:: with SMTP id c126mr18123162qke.352.1618928447067; Tue, 20 Apr 2021 07:20:47 -0700 (PDT)
Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com. [209.85.219.182]) by smtp.gmail.com with ESMTPSA id 26sm11533324qtd.73.2021.04.20.07.20.45 for <stir@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Apr 2021 07:20:46 -0700 (PDT)
Received: by mail-yb1-f182.google.com with SMTP id v3so40825866ybi.1 for <stir@ietf.org>; Tue, 20 Apr 2021 07:20:45 -0700 (PDT)
X-Received: by 2002:a25:d413:: with SMTP id m19mr25215159ybf.159.1618928445605; Tue, 20 Apr 2021 07:20:45 -0700 (PDT)
MIME-Version: 1.0
References: <42e964d3-2a16-660b-f8b4-fd9daedad115@petit-huguenin.org> <AM0PR07MB38604255784FF9E621257B2D93499@AM0PR07MB3860.eurprd07.prod.outlook.com> <3d8e2fce-d124-99b9-e295-734a36ad564a@petit-huguenin.org> <7558AA11-A7F9-4091-BFD3-F42C742AABAE@vigilsec.com> <167dde10-f242-2b6f-a7ce-96991158589a@petit-huguenin.org> <CAD5OKxvkN+BSY0XuBmfApDDWOLhqCLLFuQgVQryE+yHUftWs4w@mail.gmail.com> <15fc4a20-b5c8-cd27-b30e-76e1f479b4ff@petit-huguenin.org> <CAD5OKxvmvmotpxB8BGJfqRrVTjEGKQkQRow37gmwRMFaBGjEoA@mail.gmail.com> <C0445D51-3AA5-40B3-8F75-0A1A446A5BF8@vigilsec.com>
In-Reply-To: <C0445D51-3AA5-40B3-8F75-0A1A446A5BF8@vigilsec.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 20 Apr 2021 10:20:33 -0400
X-Gmail-Original-Message-ID: <CAD5OKxtiAtzC9Ma=cjSzksftkaXA31vahNv8gCTRy0ffxyu2AA@mail.gmail.com>
Message-ID: <CAD5OKxtiAtzC9Ma=cjSzksftkaXA31vahNv8gCTRy0ffxyu2AA@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: Marc Petit-Huguenin <marc@petit-huguenin.org>, Christer Holmberg <christer.holmberg@ericsson.com>, IETF STIR Mail List <stir@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000eacd3105c06826b2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/db9-XmYMPVZVyP5uCOf7yNzxrMk>
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: Tue, 20 Apr 2021 14:21:00 -0000

Hi Russ,

The complete grammar would be:

      Identity = "Identity" HCOLON signed-identity-digest SEMI
          ident-info *( SEMI ident-info-params )
      signed-identity-digest = 1*(base64url-char / ".")
      ident-info = "info" EQUAL ident-info-uri
      ident-info-uri = LAQUOT absoluteURI RAQUOT
      ident-info-params = ident-info-alg / ident-type /
          ident-info-extension
      ident-info-alg = "alg" EQUAL token
      ident-type =  "ppt" EQUAL ( token / ( LDQUOT token RDQUOT ) )
      ident-info-extension = generic-param

base64url-char = ALPHA / DIGIT / "-" / "_"

In this grammar, SEMI is defined as SEMI = SWS ";" SWS. This should take
care of the SWS after the token.
_____________
Roman Shpount


On Tue, Apr 20, 2021 at 9:22 AM Russ Housley <housley@vigilsec.com> wrote:

>
>
> On Apr 19, 2021, at 9:57 PM, Roman Shpount <roman@telurix.com> wrote:
>
> ident-type = "ppt" EQUAL ( token / ( LDQUOT token RDQUOT ) )
>
>
> Since RDQUOT allows whitespace after the double quote, do we need to allow
> whitespace after token when there are no quotes?
>
>     ident-type = "ppt" EQUAL ( ( token SWS ) / ( LDQUOT token RDQUOT ) )
>
> Russ
>