Re: [Spasm] Last Call: <draft-ietf-lamps-eai-addresses-05.txt> (Internationalized Email Addresses in X.509 certificates) to Proposed Standard

Wei Chuang <weihaw@google.com> Thu, 09 March 2017 01:17 UTC

Return-Path: <weihaw@google.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55CE71295D3 for <ietf@ietfa.amsl.com>; Wed, 8 Mar 2017 17:17:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 d5lUeqVpGEzY for <ietf@ietfa.amsl.com>; Wed, 8 Mar 2017 17:17:17 -0800 (PST)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 496CE12953D for <ietf@ietf.org>; Wed, 8 Mar 2017 17:17:17 -0800 (PST)
Received: by mail-oi0-x235.google.com with SMTP id 2so29234349oif.0 for <ietf@ietf.org>; Wed, 08 Mar 2017 17:17:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JpFsSAbT5LMiZndgBX3WbEy1Mcyb6ianjp1yjDRnm1o=; b=c5nhLUN7y5iWXefxIVx9mVct/+7mAIjsGP0ta61BMEux6cKovYk6sqOXSLVjKEAB0T Zeoi5lpsg9ESpx2sQqG0jb3QNIhf9g7eXUu5Ma+rnVijxIlI8np3MvqVIKGd3k/glRxi ZMDuAxol40rdn9FG0ZdgCynWVqJmJgTUWFz4OnymnifvViD60wfQa5v1PX3nxO8PWYqw xrtT8t9rMfOuVUouDEqZqRmpaWEfIak6DmkTHmrfxFTAvl/0dC/ET1YlvWe6/8353GE0 tYoFr0Yiptbrnrb+GwsF4RVqXDtf91p1WbzYyHYjGlYNVmkvUGMd/HYGROVwtxy6/0pn sfsA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JpFsSAbT5LMiZndgBX3WbEy1Mcyb6ianjp1yjDRnm1o=; b=ZcbiGiYJgRXaFQCcznrRQ6cfwetbt6MErV1G6J4invBhE+fn3y6Z7VOfU6f9p+FpXB fUftNtLqLpKAXhRUy7YhcAucTW8hg7OX+UWySDE3LvanGYIEDMc2JomuyZ4Sz+w0TX/V uefwvTpbt9HKlzf9ezgNsrQTbEmM9XMDosbTWpVmX94LCV+8ZKnTnrYu1EzbmazO0g2r hHN9N9f6zCmz78kjsKUFt0B3yjkQ8s8uAPQG6TKg6+if6tyr2/lZpQyYtnPOXnOaOBJL SaCXu30uZ76zj7SMUVWwbzHlM6UGk/atQ/7BHtnJV11nOA1qmZ7ir6SW1EAJdRWFJ2p1 efCw==
X-Gm-Message-State: AMke39kOSgk/PVQjCvv/LD8tH6opjtbf5Nn/vY+BZ47QtRgPWizod4ObuCPGD/caCQf7F24xLZNRgGKf81cBTPws
X-Received: by 10.202.90.84 with SMTP id o81mr5034972oib.106.1489022236419; Wed, 08 Mar 2017 17:17:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.41.226 with HTTP; Wed, 8 Mar 2017 17:17:15 -0800 (PST)
In-Reply-To: <BCEFAA3C-B711-4269-81C8-4DA0E1AA7AD0@dukhovni.org>
References: <alpine.OSX.2.20.1702111606270.2386@ary.qy> <CAAFsWK0KoeeHeKxay=j=NR8AqbzaHXtjNoQNQqRHwUNT3-Pe_Q@mail.gmail.com> <D237E866-CEC3-4A3C-9D5E-0D1B48F1799B@dukhovni.org> <841bb724-7403-4682-3d50-f878f63b0346@cs.tcd.ie> <6d114340-c9a7-e311-e6f9-0614600cafd2@cs.tcd.ie> <CAAFsWK2RMGp0jqesx3cTbN=S7p0WuhH+0AbeJuuiZPF6WCbQOQ@mail.gmail.com> <BCEFAA3C-B711-4269-81C8-4DA0E1AA7AD0@dukhovni.org>
From: Wei Chuang <weihaw@google.com>
Date: Wed, 08 Mar 2017 17:17:15 -0800
Message-ID: <CAAFsWK3yJ9r+6abTXZQsNsey+VcRpdtVv=Hku_54_LZ9y1T2xQ@mail.gmail.com>
Subject: Re: [Spasm] Last Call: <draft-ietf-lamps-eai-addresses-05.txt> (Internationalized Email Addresses in X.509 certificates) to Proposed Standard
To: Viktor Dukhovni <ietf-dane@dukhovni.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="001a113d52727bee0f054a4201cf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/vI4lqkViTrCA-6rEJfjiE8AMqqs>
Cc: "spasm@ietf.org" <spasm@ietf.org>, IETF general list <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Mar 2017 01:17:19 -0000

Okay.  I think the direction then is to have SmtpUTF8Name respect
rfc822Name name constraints and vice versa.

-Wei

On Wed, Mar 8, 2017 at 3:27 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> > On Mar 8, 2017, at 6:07 PM, Wei Chuang <weihaw@google.com> wrote:
> >
> > https://tools.ietf.org/rfcdiff?url2=draft-ietf-lamps-
> eai-addresses-07.txt
>
> This diff covers a lot more than just name constraints.  One oddity that
> stands out is in section 5:
>
>         3.  Ensure local-part is UTF-8.
>
> I don't see how one would "ensure" such a thing, since no encoding
> information is available for the localpart, is I would expect that
> is always presumptively UTF-8 (if not us-ascii).
>
> More importantly I don't believe that the name constraint issues are
> adequately or correctly addressed in this revision.
>
> Instead of prohibiting issuance of EE certs that HAVE SmtpUTF8Name SAN
> elements via a cert chain that has a certificate with *just* rfc822Name
> constraints, it attempts to require an unnecessary (and I think not
> entirely robust) correspondence between the two types constraint, and
> needlessly bans EE certs whose chains include just rfc822Name constraints
> even in the absence of SmtpUTF8Name SAN elements.
>
> The changes in this revision seem to me to be too extensive, and not
> yet finished. :-(
>
> --
>         Viktor.
>
> _______________________________________________
> Spasm mailing list
> Spasm@ietf.org
> https://www.ietf.org/mailman/listinfo/spasm
>