Re: [certid] Domain Components

Paul Hoffman <phoffman@imc.org> Sat, 19 June 2010 14:01 UTC

Return-Path: <phoffman@imc.org>
X-Original-To: certid@core3.amsl.com
Delivered-To: certid@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5ADB33A63CA for <certid@core3.amsl.com>; Sat, 19 Jun 2010 07:01:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.554
X-Spam-Level:
X-Spam-Status: No, score=0.554 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mrmbfGdtggaS for <certid@core3.amsl.com>; Sat, 19 Jun 2010 07:01:25 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 564C43A69EB for <certid@ietf.org>; Sat, 19 Jun 2010 07:01:25 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o5JE1SV2072439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Jun 2010 07:01:30 -0700 (MST) (envelope-from phoffman@imc.org)
Mime-Version: 1.0
Message-Id: <p0624082ac8427d3d733f@[10.20.30.158]>
In-Reply-To: <4C1CA2B8.9080103@isode.com>
References: <4C12A27D.3070308@stpeter.im> <p0624086ac8386db66483@[10.20.30.158]> <4C1CA2B8.9080103@isode.com>
Date: Sat, 19 Jun 2010 07:01:26 -0700
To: Alexey Melnikov <alexey.melnikov@isode.com>
From: Paul Hoffman <phoffman@imc.org>
Content-Type: text/plain; charset="us-ascii"
Cc: IETF cert-based identity <certid@ietf.org>
Subject: Re: [certid] Domain Components
X-BeenThere: certid@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Representation and verification of identity in certificates <certid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/certid>, <mailto:certid-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/certid>
List-Post: <mailto:certid@ietf.org>
List-Help: <mailto:certid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/certid>, <mailto:certid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jun 2010 14:01:26 -0000

At 11:58 AM +0100 6/19/10, Alexey Melnikov wrote:
>Hi Paul,
>
>Paul Hoffman wrote:
>
>>At 2:54 PM -0600 6/11/10, Peter Saint-Andre wrote:
>> 
>>
>>>Version -05 of draft-saintandre-tls-server-id-check has some warning
>>>text about Domain Components (DCs). However, the more I delve the matter
>>>the less I think that we need to warn people away from using DCs from a
>>>security perspective. The problem with them would arise from confusion
>>>about the order of DCs based on the string representation, however that
>>>kind of confusion is possible for any RDNs and is not limited to DCs (so
>>>follow the DER order, not the string order). There might be other
>>>reasons to discourage DCs, but so far I have not heard them, so I'm
>>>inclined to remove the warnings from -06.
>>>
>>>Do speak up if you're concerned about this proposal.
>>>  
>>>
>>Finally decloaking after being off this topic for a while.
>>
>>I am *quite* concerned about this. The DC ordering problem is not "based on the string representation": it is because the set of DCs can be read *by the program* in two directions.
>>
>>For example, think about  a cert with "dc=com dc=net". Both net.com and com.net exist today. For different applications, that one cert could apply to two completely different domains.
>> 
>>
>I personally I don't care if DCs are allowed or not by this document. But if DCs are to be prohibited in this document, I want to make sure that the document gives the right reason for that.
>
>The order of RDNs in a DN is fixed. So you are saying that there are buggy implementations (and maybe most of them are buggy) which don't read RDNs in the correct order, that is why we need to prohibit use of DCs in subjectName?

No, I'm saying that the order in which you are supposed to take the DCs has historically been unclear. "Most significant" means different things to different people.