Re: [dane] email canonicalization for SMIMEA owner names

Paul Wouters <paul@cypherpunks.ca> Fri, 12 December 2014 02:14 UTC

Return-Path: <paul@cypherpunks.ca>
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 CF7391A914D for <dane@ietfa.amsl.com>; Thu, 11 Dec 2014 18:14:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 zuuMJIWbyDsU for <dane@ietfa.amsl.com>; Thu, 11 Dec 2014 18:14:09 -0800 (PST)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D2681A9143 for <dane@ietf.org>; Thu, 11 Dec 2014 18:14:09 -0800 (PST)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 8C56A80046 for <dane@ietf.org>; Thu, 11 Dec 2014 21:14:08 -0500 (EST)
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id sBC2E8Yh023790 for <dane@ietf.org>; Thu, 11 Dec 2014 21:14:08 -0500
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Thu, 11 Dec 2014 21:14:08 -0500 (EST)
From: Paul Wouters <paul@cypherpunks.ca>
X-X-Sender: paul@bofh.nohats.ca
To: dane WG list <dane@ietf.org>
In-Reply-To: <20141211205053.GN25666@mournblade.imrryr.org>
Message-ID: <alpine.LFD.2.10.1412112113330.23084@bofh.nohats.ca>
References: <95826148-4F06-4942-87A4-2F6601BA0F90@nist.gov> <20141211205053.GN25666@mournblade.imrryr.org>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/Y3o64OVx_newlcL6loBPu6M7bmE
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: Fri, 12 Dec 2014 02:14:11 -0000

On Thu, 11 Dec 2014, Viktor Dukhovni wrote:

>    * Domains that publish user SMIMEA records, which intend for
>      for the names to be treated case insensitively, compute two
>      hashes for each name:
>
> 	    SHA2-224("Frank.Jr.")            -> <base32-hash1>
> 	    SHA2-224(@lower:"frank.jr.") -> <base32-hash2>
>
>      The DNS records are then:
>
> 	<base32-hash1>.example.com. IN SMIMEA ...
> 	<base32-hash2>.example.com. IN CNAME <base32-hash1>

Are you confusing wire format with presentation format? Why the extra
base32 ?

Paul