Re: [precis] RFC 8264 / 8265 Order of rules

Peter Saint-Andre <stpeter@mozilla.com> Fri, 04 May 2018 18:40 UTC

Return-Path: <stpeter@mozilla.com>
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 09B0312D945 for <precis@ietfa.amsl.com>; Fri, 4 May 2018 11:40:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mozilla.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 xRbguFsQwHZZ for <precis@ietfa.amsl.com>; Fri, 4 May 2018 11:40:49 -0700 (PDT)
Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (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 B2B9D12D88D for <precis@ietf.org>; Fri, 4 May 2018 11:40:49 -0700 (PDT)
Received: by mail-it0-x22d.google.com with SMTP id q4-v6so4563482ite.3 for <precis@ietf.org>; Fri, 04 May 2018 11:40:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla.com; s=google; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=Y0U95md/POGIc1l53BD1biLoJcXG0Y4xj3P6uk+yfig=; b=Z6GK1bOqMqbZ/JwfwwLtEeeHJPXec2eZBD+XorQq5HjYOdzuP4T42tSKDYoaDsHfef pe7ORRZT2dTiETaS2cKOrSM+kjFQlVBYZ4pJhIvf2agoNL8f4V7PBRBGr4R2t1B/VxV+ 0F5EN2BSQ2l8EzIrBhMtSwX4p6IiKbDAD+7FY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=Y0U95md/POGIc1l53BD1biLoJcXG0Y4xj3P6uk+yfig=; b=Rf52Yh3V8BpoFAth+Tagq07pCBPI5mNFatrRyB7aaZl0jaYTZ2IW9ivZp1593VxyP3 rRpFB4y5TbnDjo8WUyd7b3Qy4bd5NJVa3wvif+dH4J7A0z0DoJXJLxH+ZoR9pHF2H9NY O/840F8u35u0AokEzG0Ny+dEyH1V3NPL+viCmmgdsZKD99mQdYIkAnYSilIrqoeNpeha JfSxpTvakwuMyxBQwLCzuTl8DSa54JB/yQVuFBMbi+jg26CBc6MVuz67UQlYo/+juEIA hA1NGqZk+s93FzohijL4I2PUN+DEJx3f8GkBAvdapfQPr8mvvlYz69ELqLFBLESQwsjw zD1Q==
X-Gm-Message-State: ALQs6tCfCjP4RAl5nyp7baAtQKegoUVcl0NyEsaykT4BiGJ0Fr93vD65 Sck34JhZk8QlfZLTtx3gYH7udQ==
X-Google-Smtp-Source: AB8JxZojHkBTx4ciO8bMiKh4KKV5cU+3QH61yLn8SrKPikes1zFrVXx4RRdp4ACJxL/tbGip74j5NQ==
X-Received: by 2002:a24:14cb:: with SMTP id 194-v6mr24237366itg.79.1525459248976; Fri, 04 May 2018 11:40:48 -0700 (PDT)
Received: from dragon.local ([76.25.3.152]) by smtp.gmail.com with ESMTPSA id n201-v6sm1355527itn.7.2018.05.04.11.40.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 11:40:48 -0700 (PDT)
To: Paul Crovella <paul.crovella@gmail.com>, precis@ietf.org
References: <CAN2symj4jCLiM0y52Ey07rQSrh8ui4x9gZjmc53WbEYfWcoZtA@mail.gmail.com>
From: Peter Saint-Andre <stpeter@mozilla.com>
Openpgp: preference=signencrypt
Autocrypt: addr=stpeter@mozilla.com; prefer-encrypt=mutual; keydata= xsFNBFonEf4BEADvZ+RGsJoOyZaw2rKedB9pBb2nNXVGgymNS9+FAL/9SsfcrKaGYSiWEz7P Lvc97hWH3LACFAHvnzoktv+4IWHjItvhdi9kUQ3Gcbahe55OcdZuSXXH3w5cHF0rKz9aYRpN jENqXM5dA8x4zIymJraqYvHlFsuuPB8rcRIV9SKsvcy14w9iRqu770NjXfE/aIsyRwwmTPiU FQ0fOSDPA/x2DLjed/GYHem90C5vF4Er9InMqH5KAMLnjIYZ9DbPx5c5EME4zW/d648HOvPB bm+roZs4JTHBhjlrTtzDDpMcxHq1e8YPvSdDLPvgFXDcTD4+ztkdO5rvDkbc61QFcLlidU8H 3KBiOVMA/5Rgl4lcWZzGfJBnwvSrKVPsxzpuCYDg01Y/7TH4AuVkv5Na6jKymJegjxEuJUNw CBzAhxOb0H9dXROkvxnRdYS9f0slcNDBrq/9h9dIBOqLhoIvhu+Bhz6L/NP5VunQWsEleGaO 3gxGh9PP/LMyjweDjPz74+7pbyOW0b5VnIDFcvCTJKP0sBJjRU/uqmQ25ckozuYrml0kqVGp EfxhSKVqCFoAS4Q7ux99yT4re2X1kmlHh3xntzmOaRpcZsS8mJEnVyhJZBMOhqE280m80ZbS CYghd2K0EIuRbexd+lfdjZ+t8ROMMdW5L51CJVigF0anyYTcAwARAQABzSdQZXRlciBTYWlu dC1BbmRyZSA8c3RwZXRlckBtb3ppbGxhLmNvbT7CwZQEEwEIAD4WIQQ1VSPTuPTvyWCdvvRl YYwYf2gUqQUCWicR/gIbIwUJCWYBgAULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRBlYYwY f2gUqdaREAChG8qU1853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
Message-ID: <10b17ef3-a34a-5fe2-3484-e86c4005a5a0@mozilla.com>
Date: Fri, 4 May 2018 12:40:46 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAN2symj4jCLiM0y52Ey07rQSrh8ui4x9gZjmc53WbEYfWcoZtA@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="E6lnUXmBAwnoNBPDTvYHGgYzLCuw7mSNx"
Archived-At: <https://mailarchive.ietf.org/arch/msg/precis/B1ox6bEFRs4JmSt3F1G3f3jZcZU>
Subject: Re: [precis] RFC 8264 / 8265 Order of rules
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 04 May 2018 18:40:52 -0000

On 3/14/18 10:04 AM, Paul Crovella wrote:
> Followup question on
> https://www.ietf.org/mail-archive/web/precis/current/msg01445.html
> 
>> implementations should follow the order of rules in Section 7 of RFC 8264.
> 
> Should string class validation then be moved from the preparation step
> of all profiles to the end of enforcement? I don't know whether
> there'd be a practical effect on profiles using the FreeformClass
> string class (OpaqueString and RFC 8266's Nickname), or if there's the
> potential to be, but it'd be nice to know where to do things.

The intent in my head when working on RFC 8265 & RFC 8266 was to define
the set of rules for a profile and then in each subsection (preparation,
enforcement, comparison) specify each rule to be applied for that
operation, without having them be additive (i.e., don't say in the
enforcement operation than you first do everything in preparation, then
some things in addition). Clearly, this did *not* get translated into
the final text because I failed in my responsibility as a spec author.

I will send proposed text for errata to this list sometime soon.

Peter