Re: [precis] some open issues

Peter Saint-Andre <stpeter@stpeter.im> Wed, 07 March 2012 20:55 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C612C11E80AE for <precis@ietfa.amsl.com>; Wed, 7 Mar 2012 12:55:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.679
X-Spam-Level:
X-Spam-Status: No, score=-102.679 tagged_above=-999 required=5 tests=[AWL=-0.080, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TIfVKAjcfvgF for <precis@ietfa.amsl.com>; Wed, 7 Mar 2012 12:55:34 -0800 (PST)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id EB5EC21F8542 for <precis@ietf.org>; Wed, 7 Mar 2012 12:55:06 -0800 (PST)
Received: from squire.local (unknown [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id E7F6440058; Wed, 7 Mar 2012 14:07:06 -0700 (MST)
Message-ID: <4F57CB29.7070208@stpeter.im>
Date: Wed, 07 Mar 2012 13:55:05 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Andrew Sullivan <ajs@anvilwalrusden.com>
References: <4F54EB17.3010208@stpeter.im> <20120305171157.GO76465@mail.yitter.info>
In-Reply-To: <20120305171157.GO76465@mail.yitter.info>
X-Enigmail-Version: 1.3.5
OpenPGP: url=https://stpeter.im/stpeter.asc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: precis@ietf.org
Subject: Re: [precis] some open issues
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/precis>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Mar 2012 20:55:34 -0000

On 3/5/12 10:11 AM, Andrew Sullivan wrote:
> Hi Peter,
> 
> On Mon, Mar 05, 2012 at 09:34:31AM -0700, Peter Saint-Andre wrote:
>> 2. case preservation
>>
>> The problem statement document mentions the need to specify whether an
>> application protocol preserves case. However, the framework document
>> does not require profile documents to specify whether they preserve
>> case, nor does it provide guidelines or mechanisms for doing so.
> 
> This came up more than once in discussion, however, so I presume
> people still think it's important.

Right. The question is whether we need a way to signal that somehow
(ick) or whether, as Joe says, we can leave it up to entities which
function as "registrars" in a given application protocol.

>> 3. mapped to nothing
>>
>> The problem statement document mentions the possibility of mapping
>> characters to nothing, as was done in some stringprep profiles. However,
>> the framework document does not provide guidelines or mechanisms for
>> doing so.
> 
> Some of the reviews indicated that there are existing stringprep
> profiles in use that map to nothing.  If we're going to say that this
> is deprecated, we need to state it outright.

I looked at this when working on the SASLprepbis spec with Alexey. The
text there currently says:

   2.  (MAPPING 2) Characters from the "M" category defined under
       Section 6.13 MUST be mapped to nothing (this category includes
       all of the "characters commonly mapped to nothing" from Appendix
       B.1 of [STRINGPREP]), except U+1806 MONGOLIAN TODO SOFT HYPHEN).

Instead of handling this via mapping, we could say that the "M" category
is DISALLOWED for that profile. That seems more in line with the Tao of
PRECIS. (Can we be said to have a Tao yet?)

>> 4. string classes
>>
>> The problem statement document mentions five possible string classes,
>> corresponding roughly to (a) domain names, (b) usernames, (c) secrets,
>> (d) protocol strings, and (e) string blobs. Clearly, (a) is covered by
>> IDNA2008. However, the framework document now covers only (b) via the
>> NameClass and (d) via the FreeClass, because it removed the SecretClass
>> and never included a blob-class of some sort. Do we need to bring these
>> into alignment?
> 
> The working copy text that Marc and I are working on has DomainClass,
> NameClass, and FreeClass in it.  NameClass is defined to be like
> IDNA2008, which means that framework shouldn't have it. 

I assume you mean "DomainClass" in the second sentence.

> The other two
> are in framework-01 (I just checked).

Yes.

>> 5. blobs
>>
>> Following up on (4), do we need to define a BlobClass, or would such a
>> class be an absolute identifier requiring only byte-for-byte comparison
>> (and thus not need PRECIS-based comparison rules)?
> 
> We concluded previously that we did not need it.

And I agree with that conclusion.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/