Re: [Spasm] comments on draft-ietf-pkix-eai-addresses-01

Sean Leonard <dev+ietf@seantek.com> Sun, 22 May 2016 16:11 UTC

Return-Path: <dev+ietf@seantek.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DDC7712D110 for <spasm@ietfa.amsl.com>; Sun, 22 May 2016 09:11:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_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 U-ihBFTRKxfz for <spasm@ietfa.amsl.com>; Sun, 22 May 2016 09:11:58 -0700 (PDT)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6FC6612D10E for <spasm@ietf.org>; Sun, 22 May 2016 09:11:58 -0700 (PDT)
Received: from [10.9.77.94] (unknown [198.11.221.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4FD4922E1FA; Sun, 22 May 2016 12:11:51 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Sean Leonard <dev+ietf@seantek.com>
In-Reply-To: <5740CA5D.9000900@isode.com>
Date: Sun, 22 May 2016 09:11:50 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <02FC8CC1-C470-436D-8065-117808CA131A@seantek.com>
References: <064201d1ada1$0b94dc20$22be9460$@augustcellars.com> <5740CA5D.9000900@isode.com>
To: spasm@ietf.org
X-Mailer: Apple Mail (2.3124)
Archived-At: <http://mailarchive.ietf.org/arch/msg/spasm/tHJPh6WxAo-QTFHju7Y-DcIcF6E>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: [Spasm] comments on draft-ietf-pkix-eai-addresses-01
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 22 May 2016 16:12:00 -0000

> On May 21, 2016, at 1:51 PM, Alexey Melnikov <alexey.melnikov@isode.com> wrote:
> 
> Hi Jim,
> 
> On 14/05/2016 06:25, Jim Schaad wrote:
>> 1.  This document has been expired for some time and thus should be
>> republished if we are planning to use it as a starting point.  (If this is
>> done the name would also need to be adjusted.)
> 
> Yes, I will post draft-melnikov-spasm-...-00.
> 
> 
>> 2.  The text about the format of an eaiMailbox name seems to be strange.
>> Specifically, the text about what it does not have deals with display
>> formats of an eaiMailbox and not it's format.
> 
> This is trying to make the point that the syntax is as used in SMTP
> protocol and not as used in similar slots in From/To/Cc/Bcc header
> fields. Suggestions how to make this clear are welcome.
> 
> If you think just deleting extra text is Ok, I can do that.

Actually (as the author of the new draft-seantek-mail-regexen-00) I disagree (fairly strongly) with this change.

rfc822Name is defined in terms of RCC 822 etc., not RFC 821 etc.

RFC 5321 imposes several restrictions on e-mail addresses, such as no C0 control characters (among other things), that are not present in RFC 5322 etc. The difference is that there are “e-mail addresses” and there are “deliverable e-mail addresses”. “Deliverable” in my definition means those that strictly conform to RFC 5321 etc., i.e., the “modern SMTP infrastructure”. But e-mail addresses as a class of identifiers, can include any character, including U+0000 NULL.

Actually however, a mail server *can* accept e-mail addresses outside the range of DEAs, as can systems that consume e-mail address identifiers for non-SMTP-mailing purposes (username identifiers, X.400 systems, etc.). In some cases it may be desirable to certify/use non-deliverable e-mail addresses for other purposes (compare, for example, with a PGP key with an e-mail address that an organization or individual uses “internally”, without any intent to receive e-mail at that address).

It is reasonable for a certificate to include the full range of e-mail addresses, not just “DEAs”. This is exactly analogous to the IP address fields in GeneralName: you can specify 0.0.0.0 or 255.255.255.255, even though those addresses are not “deliverable” (i.e., deliverable to a specific endpoint on the network). E-mail addresses that do not conform to RFC 5321, but do conform to RFC 5322, really should therefore be allowed.

I do agree with a restriction that says that e-mail addresses should be in simplified form, namely, have no extraneous whitespace and no comments. (RFC 5322 allows these but RFC 5321 does not; they do not add to the semantics of the identifier.)

Sean