Re: [dane] Start of WGLC for draft-ietf-dane-openpgpkey - *please* review.

Brian Dickson <brian.peter.dickson@gmail.com> Mon, 23 February 2015 22:49 UTC

Return-Path: <brian.peter.dickson@gmail.com>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FF641A0173 for <dane@ietfa.amsl.com>; Mon, 23 Feb 2015 14:49:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] autolearn=ham
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 wtBleW75o_3z for <dane@ietfa.amsl.com>; Mon, 23 Feb 2015 14:49:20 -0800 (PST)
Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (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 4E5161A0107 for <dane@ietf.org>; Mon, 23 Feb 2015 14:49:20 -0800 (PST)
Received: by iecvy18 with SMTP id vy18so27388707iec.13 for <dane@ietf.org>; Mon, 23 Feb 2015 14:49:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/GyYSobDD7HuMIzU5ZtGzd1gIzrFpl7U7+pfsVrZBcA=; b=yCRykEveySwV8y9Hng2d93S6Gdq6yjyGqnWgqVX2D/QWGr7TEq1feW4jfRd9PzioYd /j2P/R7Efa78fsB3zuZJDKHCBexgcPiv4qUaMmoPrA/yJq7qsPH1dUMYLXMuaQa6G78T wvS2l1E606G2HkxUIXdRti520RRr4A2KmS+761bKwb47ZgLU6HcTQy/GRp7LoZkFGuzc bMHmGlrG4zqV+t1COhQG74Uvrwpsc+1RvYnJgkQwNL3i+RCA7e/gr2c2F5lfTRU2K9xl x0WfONC4krWV9NyPoAL1D8wrRF++9IsTO4a7CMNsQD7Qe5tZmP4mz5GMv+Gp5M2ci0ob afSg==
MIME-Version: 1.0
X-Received: by 10.107.134.160 with SMTP id q32mr17348193ioi.70.1424731759567; Mon, 23 Feb 2015 14:49:19 -0800 (PST)
Received: by 10.64.80.193 with HTTP; Mon, 23 Feb 2015 14:49:19 -0800 (PST)
In-Reply-To: <20150223181815.GL1260@mournblade.imrryr.org>
References: <CAHw9_iJPuG23Aok7V_wcAMirua_DPDLHy01tnd+DaUqEeK3NZA@mail.gmail.com> <001a01d04f19$b0292e90$107b8bb0$@augustcellars.com> <20150223035230.GD1260@mournblade.imrryr.org> <001b01d04f1c$f626c940$e2745bc0$@augustcellars.com> <20150223040833.GF1260@mournblade.imrryr.org> <CAHw9_iJ167aCbpW=Fni0h_vsWLcWQVLC1P7vkr6X0cmAV9zG=g@mail.gmail.com> <20150223181815.GL1260@mournblade.imrryr.org>
Date: Mon, 23 Feb 2015 14:49:19 -0800
Message-ID: <CAH1iCip_n=Yec7OKS51W+Qv+sW5TTp_Q5-uwwXN5BGgA=Fe1aQ@mail.gmail.com>
From: Brian Dickson <brian.peter.dickson@gmail.com>
To: "dane@ietf.org" <dane@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f92a66dee06050fc936c3"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dane/va-D0r2y98SaSxEXzlc6T5cPzvA>
Subject: Re: [dane] Start of WGLC for draft-ietf-dane-openpgpkey - *please* review.
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dane/>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Feb 2015 22:49:23 -0000

On Mon, Feb 23, 2015 at 10:18 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> On Mon, Feb 23, 2015 at 12:31:09PM -0500, Warren Kumari wrote:
>
> > I *think* that the proposal is in this email:
> > http://www.ietf.org/mail-archive/web/dane/current/msg07163.html
> > (Viktor, 11 Dec 2014)
> >
> > This seemed to be mostly met with acceptance (or, at least closer than
> > many of the other options!), but didn't address the user+tag@ or
> > johnsmith=john.smith=jo.hn.sm.th special hanging the gMail does.
> > A potential, but icky solution to those could be synthesized records.
>
> If the goal is to go beyond case-folding, then we'd have to seriously
> consider publishing the data via a DANE-authenticated HTTPS service
> rather than directly in DNS.  The service would then be able to
> apply whatever lookup transformations are locally applicable.
>
> I'm not sensing much appetite for moving away from per-user records
> in DNS, so case-folding can be handled, but fancier variants are
> I think beyond what can be done with the logic mostly on the client
> side.
>
>
I think maybe this needs to be broken out as a separate mini-document.
However, I think the right time to do this is NOW.

Here's the reasoning to support "NOW" for when to address this issue:
- right now, there aren't any clients doing the DANE s/mime or pgp thing
yet (I believe)
- if everyone implementing the DANE stuff for clients has the same rules to
work from, much happiness ensues
- if, on the other hand, all the DANE stuff gets built without the extra
"case-folding++" logic, it becomes a missed opportunity that can never be
addressed successfully (shutting the barn door after the horse has left)

The thing to do, IMHO, is identify ALL of the specific things that anyone
does in MUA/MTA name-handling, beyond case folding. I think even
standardizing a signaling for case-folding of names is beneficial.

The difference between PGP keyrings and DANE, is that users are responsible
for adding any "case folding" aliases into their PGP keyrings, e.g. as
child alias for their main fingerprint (or whatever the correct terminology
is for that). On the other hand, domain-based user aliasing is, by
definition, known by and generally able to be handled by, the admin for the
domain.

My suggestion would be to have some kind of _THING defined, which is
well-known, and which is queried, that lists the specific username-folding
ruleset(s). E.g. _casefold TXT "lc" for lowercase as the canonical form, or
_casefold TXT "lc nodots" for removing any dots, and converting to
lowercase, or _casefold  TXT "lc trimplus".

Having a canonical list of these NOW, means coding for DANE S/MIME and DANE
PGP can include this, and then it is up to the zone publisher to do the
right thing.

My $0.02.

Brian