Re: [stir] Review of: draft-ietf-stir-rfc4474bis-10

Mary Barnes <mary.ietf.barnes@gmail.com> Thu, 18 August 2016 21:15 UTC

Return-Path: <mary.ietf.barnes@gmail.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 576A912D6AF for <stir@ietfa.amsl.com>; Thu, 18 Aug 2016 14:15:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.699
X-Spam-Level:
X-Spam-Status: No, score=-102.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 BzGROj8jgmg6 for <stir@ietfa.amsl.com>; Thu, 18 Aug 2016 14:15:18 -0700 (PDT)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 7B4D712D612 for <stir@ietf.org>; Thu, 18 Aug 2016 14:15:18 -0700 (PDT)
Received: by mail-oi0-x22f.google.com with SMTP id f189so39216269oig.3 for <stir@ietf.org>; Thu, 18 Aug 2016 14:15:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0N3///HNmkbv/oJ051G30z+dVas2aAh7ArarqDBi3Go=; b=h2J1l0eDxJukShHczGxUtFY0SPdZEeebd6p21USmq+c9D/k+ikUg51wmLFxIvWEP7T N5/biO99df0wUQkWqHE8Ogfb3PvZMWe9f13ZBqaBP/tl4RGe8f55TP3JFISNjbE3tuYr TECJtdMJWYGqUV7W/23FDNT9KD8vf7V0wCq9OrrxLKiGtdosE1foBrfkVX+xV/EPg82F NQADQKe+eLV1u4spGJ+Ffy6LD9eIFh4GqcszbzxAwd99Vkqj8PACuC1k3843CtLQo22A dd78HsGDEWJsIBQr/EmRX86U1/62sQFjBnTBWfj38zNNCEnG3FwSlh3n63YEIZPImCo+ HrrA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0N3///HNmkbv/oJ051G30z+dVas2aAh7ArarqDBi3Go=; b=U++dG8RLgvkicJnygkVv6sytVUJ99zZxYsHMzQFWVjffSCYltLAfhdogC9hH+SO28n XWdZK0ZcCGzasx1O14Lu2b0cry6Nf01NI3D1BkOxM5I4THVPR4H92iJB0CnoHkFPPoOS OjT+ssvbHBsXXuiRjNHXT89Bvis3FxOyi6mCt8qexJQXC5LLNATj5tsuj5tQINHBQmZl cumK4BbV17E1ub2S9th9h+aH8PfwdFirywW1luhJUmCoWwswGUA3QvWAK/YAfldeNnd1 gasz8/ZPNn/9HLYWBgzC1JwtSH6jEfqrr/8mlBIIuVUcAkYYncbZIgxtKdorDew25JkE wY6Q==
X-Gm-Message-State: AEkoousRNikJiuZAPO9Q7fiz8darSnpM21H6RU+m3sxvLPbSRVxqPcQOdzhMG481h3rBcIKiTd/7Lx8PVR7fgg==
X-Received: by 10.202.102.98 with SMTP id a95mr2514547oic.77.1471554917866; Thu, 18 Aug 2016 14:15:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.47.70 with HTTP; Thu, 18 Aug 2016 14:15:16 -0700 (PDT)
In-Reply-To: <D3DB2F21.1A7B5F%jon.peterson@neustar.biz>
References: <c3a85ffc-8340-ac54-4d8e-21a16fefd032@dcrocker.net> <D3D41210.1A72E4%jon.peterson@neustar.biz> <CAHBDyN7W8zkgGjeUqzGaxLfRD-nFDgD9R3kxioQ47Kbp4_B8EA@mail.gmail.com> <D3DB2F21.1A7B5F%jon.peterson@neustar.biz>
From: Mary Barnes <mary.ietf.barnes@gmail.com>
Date: Thu, 18 Aug 2016 16:15:16 -0500
Message-ID: <CAHBDyN54FnwdLYrPJzXQrg320zbRuw1ETxcDdCeGxWQ9wL+hMw@mail.gmail.com>
To: "Peterson, Jon" <jon.peterson@neustar.biz>
Content-Type: multipart/alternative; boundary="001a114100e825a211053a5f1460"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/xH9B-NLtx6h3Vltf-U9HlbGqyQA>
Cc: "stir@ietf.org" <stir@ietf.org>
Subject: Re: [stir] Review of: draft-ietf-stir-rfc4474bis-10
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 18 Aug 2016 21:15:21 -0000

Hi Jon,

More responses inline below [MB].

Mary.

On Thu, Aug 18, 2016 at 11:43 AM, Peterson, Jon <jon.peterson@neustar.biz>
wrote:

> Hi Mary,
>
> I think the use of terminology in the specification has proper background
>> and citations. Certainly Dave is correct that the text is pretty lax with
>> "header" vs. "header field" vs. "header field value," no denying that. If
>> people think this is a big deal, I will fix it. But the suggestion that
>> because this is true, terminology is loosely used to a point where it
>> would hamper implementation, that I think his comments don't really
>> substantiate.
>>
>
> [MB] As pendantic as it might seem, in my experience, the expectation is
> that we are precise with terminology in the specs, so that qualifying
> 'header' as 'header field' and 'parameter' as 'header field parameter' is a
> reasonable expectation. I've had to do that with the RFCs that I've
> authored and in re-reading this document recently, I think it adds to the
> readability/understanding in particular since the ABNF comes later. [/MB]
>
>
> If people really feel like it needs to be fixed, I can fix it - but I do
> feel justified in pointing out that our track record with this in SIP
> documents isn't real strong. The original RFC4474 used "header" informally
> quite a bit. So does RFC4244, actually, if you scroll through that. So does
> the Replaces header spec. So I'm not sure we really do have much of an
> expectation about being precise with this. The reason why, I imagine, is
> because the common and casual way we use it isn't actually ambiguous - no
> one who sees the phrase "Date header" is confused about whether we mean a
> header or a header field.
>
[MB] I don't disagree in general and specifically about RFC 4244, but we
went to a fair amount of effort for 4244bis (i.e., RFC 7044) to be more
precise and I do believe it improves readability and makes it more
understandable on a first read, in particular for folks that haven't been
involved in SIP standardization for 20 years.   Also, given the ordering of
the sections (i.e., ABNF towards the end), I find it really helps for
"canon" and "ppt" to be qualified as "header field parameters".   [/MB]

>
> But like I said, it isn't a huge deal to fix it - it's just that any
> pervasive edits like this can give rise to errors, and it's not clear that
> fixing this solves any real problem.
>
[MB] I don't disagree that there is a risk of introducing errors, but I
think, while tedious, this change is fairly straightforward in doing a find
and replaces (I personally usually don't do global changes as I'd rather
eyeball things to avoid the possibility of introducing the sorts of errors
you note).

Also, per Christer's later comment, I do think making the spec more
readable will be helpful for the gen-art reviewer.  My personal preference
is to fix things in the WG as it avoids others raising similar issues down
the road.  Of course, as you note, if I'm the only one that has this
concern, then fine. [/MB]

>
> <snip>
>
> I think enough of the concepts and protocol mechanisms of the original are
>> retained to warrant keeping this as a bis.
>>
>
> [MB] I'm not sure on this one, in particular given that it deprecates the
> header fields defined in RFC 4474 (per section 8).  And, unlike other -bis
> specs there is no summary section in this document of the differences
> between the two.  Also, currently this draft doesn't indicate what impact
> it has on 4474 in the header page. There is the sentence at the end of
> section 1 stating that this document "revises RFC 4474" but that's not
> particularly meaningful. Given that when we produced RFC 7044, we obsoleted
> RFC 4244 despite RFC 7044 being backwards compatible with RFC 4244, I
> really think that this draft should be documented as obsoleting RFC 4474.
> [/MB]
>
>
> There is a summary of changes in the document; it's Section 15 "Changes
> from RFC4474". And well, the bis doesn't deprecate both the headers as
> such, it deprecates one header field and changes the syntax of the other.
> But more importantly, it keeps all the guts: the concept of an
> authentication and verification service, all the response codes, all the
> associated SIP behavior. The only real semantic change is the scope of
> protection of the signature itself, which has been reduced overall, and
> then with respects to the identities in particular has been honed to deal
> with telephone numbers better. Obsoleting the Identity-Info header and
> moving it into an "info" parameter of the Identity header is a just a
> syntactic change. Although we created some architectural modularity around
> credentials, the stir-certs mechanism still has the same properties as
> certs did in the original architecture. Allowing the Identity header to
> appear multiple times just removes a limitation in the original spec that
> doesn't seem useful in retrospect (and the way Identity-Info was originally
> done didn't allow it) rather than a change to how the header is to be
> understood.
>
> All that said, I do agree it probably should obsolete RFC4474, not merely
> update it. Or at least that's how I remember the process is supposed to
> work. I'll defer to chairs/Ads on this one.
>
> Overall, there are a handful of changes (beyond the typos, which again are
>> appreciated) I'd make based on the substance of Dave's review. Some of the
>> suggestions to rename sections seem harmless to me. Like some other people
>> who come to mind, he would like to see some more precise specification and
>> examples of how you break off the signature from JWT. He pointed out that
>> we really don't have any motivation for including multiple Identity
>> headers in there, and we probably do need an indication of what future
>> work might use that feature.
>>
> [MB] I would 3rd the need for examples.  That has been a usual practice
> for other RFCs defining new SIP header fields (and header field
> parameters). [/MB]
>
>
> There will be more examples!
>
> Jon Peterson
> Neustar, Inc.
>