Re: [dane] email canonicalization for SMIMEA owner names

Christian Rößner <c@roessner-network-solutions.com> Thu, 11 December 2014 22:35 UTC

Return-Path: <c@roessner-network-solutions.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 3D6D81A8AA9 for <dane@ietfa.amsl.com>; Thu, 11 Dec 2014 14:35:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.351
X-Spam-Level:
X-Spam-Status: No, score=-3.351 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_I_LETTER=-2, HELO_EQ_DE=0.35, MIME_8BIT_HEADER=0.3, 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 uSnR_HyDTQhw for <dane@ietfa.amsl.com>; Thu, 11 Dec 2014 14:35:30 -0800 (PST)
Received: from mx.roessner-net.de (mail.roessner-net.de [193.239.107.42]) (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 2C93E1A8A9D for <dane@ietf.org>; Thu, 11 Dec 2014 14:35:30 -0800 (PST)
Received: from mail.roessner-net.de (mail.roessner-net.de [193.239.107.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.roessner-net.de", Issuer "Thawte DV SSL CA" (verified OK)) by mx.roessner-net.de (Postfix) with ESMTPS id 3jz91r2z51zGp6N; Thu, 11 Dec 2014 23:35:28 +0100 (CET)
Received: from [172.16.2.200] (static-201-106.deltasurf.de [193.239.106.201]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Christian Roessner", Issuer "RootCA (c) 2014" (verified OK)) (Authenticated sender: c@roessner.co) by mail.roessner-net.de (Postfix) with ESMTPSA id 3jz91q6JDPzMlPk; Thu, 11 Dec 2014 23:35:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=roessner-network-solutions.com; s=swioBi3opho; t=1418337328; i=@roessner-network-solutions.com; bh=b0t7FOAkq19vvK7nIJZo7C528/H7Nv9kDLNBFzynOv8=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=l+8UzbwCYC14rhmMedT+UOwqCTKDOakrMQreeb3GCfAwPknspcuYmpsTXonZeZuch Ooulw5QqwLY+OiAzDoynqtwYYevBO5PzRkCbArg803INKj62dcMnCFupgfxhVgodX4 gAEUflOmjkVTkGLoVUEgJxfrjPYQWTrIZz0YyNW0t0jeJkjJWpaFNSUYel45mIRyNB OVm1cEPy4+h976kIR78rrzFuO+JWaNS0tGiRzlq6AR1QXmT0PvHA7Al74MqFW1675F VZ5fZpWKNfYVyC+EO3dZADcWOSqbn37DA+2A6tIT4N9FJQZd6Yzm4i7jKgr4ERefY5 nIUq4tvcBG1ow==
Content-Type: multipart/signed; boundary="Apple-Mail=_C1A51581-AAE5-4B4F-9CE6-A440A679007E"; protocol="application/pkcs7-signature"; micalg="sha1"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2063\))
From: Christian Rößner <c@roessner-network-solutions.com>
In-Reply-To: <95826148-4F06-4942-87A4-2F6601BA0F90@nist.gov>
Date: Thu, 11 Dec 2014 23:35:24 +0100
Message-Id: <D2F3EAD4-7E3C-4D1D-8A7A-FBB986016E0A@roessner-network-solutions.com>
References: <95826148-4F06-4942-87A4-2F6601BA0F90@nist.gov>
To: "Rose, Scott W." <scott.rose@nist.gov>
X-Mailer: Apple Mail (2.2063)
X-Outgoing: 0.2.0_alpha1
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/LTY_7vKvvSquc9WMxc-_vbJaT8Y
Cc: dane WG list <dane@ietf.org>
Subject: Re: [dane] email canonicalization for SMIMEA owner names
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: Thu, 11 Dec 2014 22:35:33 -0000

Hi,

> Am 11.12.2014 um 20:51 schrieb Rose, Scott W. <scott.rose@nist.gov>:
> 
> Realized the other action item I was assigned to from the interim meeting was email canonicalization for SMIMEA.  I believe it stems from Viktor Dukhovni's email to the endymail list:
> http://www.ietf.org/mail-archive/web/endymail/current/msg00134.html
> 
> I was wondering if we can borrow a page from RFC 4034 Section 6.2 and include text in the draft Section 3, item 1 in the numbered list:
> 
>     1.   The user name (the "left-hand side" of the email address, called
>       the "local-part" in the mail message format definition [RFC2822]
>       and the "local part" in the specification for internationalized
>       email [RFC6530]), is hashed using the SHA2-224 [RFC5754]
>       algorithm (with the hash being represented in its hexadecimal
>       representation, to become the left-most label in the prepared
>       domain name.  This does not include the "@" character that
>       separates the left and right sides of the email address.  The
>       string that is used for the local part is a Unicode string
>       encoded in UTF-8 **with all upper case letters converted to their
>       corresponding lower case letters where appropriate.**
> 
> 
> The text between the '**' is new.  The goal is to prevent a situation when the email address is "JRandom@example.com" and the SMIMEA is created using "jrandom" as the user name.   Would this be enough, or are there scripts where this would result in different or potentially conflicting owner names?  

sorry, if my answer might be a little bit off-topic. When the draft for SMIMEA was posted the first time, I wrote to someone here on the list off-list. I asked, why to use SHA2-224 for the local part of an email address. I thought about useability for many of records in DNS for a large company. That seeing only hashes and nothing readable would make it nearly impossible to find a record again manually without technical help.

So I thought about punycode RFC3492. I know the RFC might only be for domains, but I asked myself, why this would not be applied to a local part as well.

Many countries would benefit from such a representation, because the have parts of the latin alphabet and therefor just a hand full of characters would need conversion.

I am a layperson, so these are just my ideas and there might exists good reasons, why this is not applicable. But at least I did not want to miss the chance to bring up this discussion.

And sorry, if this is not 100% answer to this thread. At least it focuses on parts of the SHA2-224 and I wanted to give an optional view.

Kind regards

Christian
--
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com