Re: [kitten] Service discovery URI field case-sensitivity

Petr Spacek <pspacek@redhat.com> Wed, 19 October 2016 07:36 UTC

Return-Path: <pspacek@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A40CA129545 for <kitten@ietfa.amsl.com>; Wed, 19 Oct 2016 00:36:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.353
X-Spam-Level:
X-Spam-Status: No, score=-7.353 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-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 IDmnAmKPdNlj for <kitten@ietfa.amsl.com>; Wed, 19 Oct 2016 00:36:04 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AF2012950A for <kitten@ietf.org>; Wed, 19 Oct 2016 00:36:04 -0700 (PDT)
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 205AF8124F; Wed, 19 Oct 2016 07:36:04 +0000 (UTC)
Received: from pspacek.brq.redhat.com (ovpn-204-89.brq.redhat.com [10.40.204.89]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9J7a1Cx017665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Oct 2016 03:36:03 -0400
To: Greg Hudson <ghudson@mit.edu>, Matt Rogers <mrogers@redhat.com>, kitten@ietf.org
References: <1476305214.14318.20.camel@redhat.com> <5f14f0d2-815f-5f46-0bbe-037aa906d2ae@mit.edu>
From: Petr Spacek <pspacek@redhat.com>
Organization: Red Hat
Message-ID: <30a602ca-d4be-0687-b946-5353ab1ce166@redhat.com>
Date: Wed, 19 Oct 2016 09:36:01 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <5f14f0d2-815f-5f46-0bbe-037aa906d2ae@mit.edu>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 19 Oct 2016 07:36:04 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/p8bCnOfEgn-cWROszUdD5frrkpE>
Subject: Re: [kitten] Service discovery URI field case-sensitivity
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Oct 2016 07:36:05 -0000

On 13.10.2016 17:28, Greg Hudson wrote:
> On 10/12/2016 04:46 PM, Matt Rogers wrote:
>> The service discovery draft needs some clarification of the encoding
>> and case sensitivity for the URI field values, and I have heard some
>> different views on how they should be defined.
> 
> This is in reference to draft-mccallum-kitten-krb-service-discovery-03.
> 
>> First I believe the scheme should be case-insensitive per BCP 35 advice
>> on URI scheme values. 
> 
> Our scheme, "krb5srv"?  Formally, I'm not sure if we have to specify
> that when defining a new scheme, but informally we should recommend that
> URI record processing code match the scheme case-insensitively.
> 
> The scheme in the transport-info for kkdcp should also be matched
> case-insensitively, of course.
> 
>> Overall my preference would be to define in their respective sections,
>> the scheme, flags, and transport-type fields as case-insensitive and
>> say the transport-info field's case rules are to determined by the
>> transport specification.  Although this limits the flags, If we really
>> ran out of flags in the future then the document could be updated.
> 
> Agreed.  It's unlikely that we will ever add a second flag; it's
> vanishingly unlikely that we will need more than 26 (or 36 with digits,
> or whatever).

I'm okay with this proposal. Take my previous notes on case sensitivity just
as wondering out loud.

-- 
Petr^2 Spacek