Re: [certid] Need to define "most specific RDN"
Kaspar Brand <ietf-certid@velox.ch> Wed, 30 June 2010 06:12 UTC
Return-Path: <ietf-certid@velox.ch>
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 695753A6C23 for <certid@core3.amsl.com>;
Tue, 29 Jun 2010 23:12:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.555
X-Spam-Level:
X-Spam-Status: No, score=-0.555 tagged_above=-999 required=5 tests=[AWL=0.555,
BAYES_05=-1.11]
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 7bDCfVLgx2YB for
<certid@core3.amsl.com>; Tue, 29 Jun 2010 23:12:35 -0700 (PDT)
Received: from appendix.velox.ch (appendix.velox.ch [62.75.148.60]) by
core3.amsl.com (Postfix) with ESMTP id A019D3A689C for <certid@ietf.org>;
Tue, 29 Jun 2010 23:12:35 -0700 (PDT)
Received: from cortex.velox.ch (84-75-163-235.dclient.hispeed.ch
[84.75.163.235]) (authenticated bits=0) by appendix.velox.ch
(8.14.4/8.14.4/2.0) with ESMTP id o5U6Ci6S004091 (version=TLSv1/SSLv3
cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <certid@ietf.org>;
Wed, 30 Jun 2010 08:12:45 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=velox.ch; s=appendix-177f;
t=1277878365; bh=o8yWVQAcxzVRhfcKFa0ePJvYAzIGPtcPzYPcOsCpwSw=;
h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding;
b=o8miLq/RdwFJMvq4bZf8uT8v1PlwYzb5mTGcnuyim2qWuWQDw+2U4S53jQ7I8yOBQ
YbcJhvW/b/5mjsZ9/qx+9jQFhlfXKT6xa0Kn9XXhIkpzzhJ0qakYZS0o3akv6t7D6N
i6gZACoalfK578lTcQf3stAAsag4jcB30gkNRyDr6mz/WjONAIyMWjOxfguUz9ANqB
pUmqTgFNEwfPX6yzZuSenqH8v16vPgqPQqAQkIuzo3FWmJl0gAoRQuTEYsZOj3VvnU
N21NPiAGNb+4DHFQOvDb8+mLrFbvL+ZB9bEyrxeNaYP9QWCUhdMWTi//ofyzFfMZPS
rCo+2K1t5l1aw==
Message-ID: <4C2AE05A.4010205@velox.ch>
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=velox.ch; s=cortex-8a58;
t=1277878364; bh=o8yWVQAcxzVRhfcKFa0ePJvYAzIGPtcPzYPcOsCpwSw=;
h=Date:From:MIME-Version:To:Subject:References:In-Reply-To: Content-Type:Content-Transfer-Encoding;
b=U/D+5q0d+R0gSTDORmOd6zszXmTJOHNxO7S/bEYR0HM72q9GopQXzK6oaKMbt82y7
oPhHnxx2sT6vPqSclj8PTuZBSuaYTuF//K6kzUZgGNAqxc/y7/kUKK5o1S3YY2r06z
Hl+liYbA09oRHSyIuIVdbqdBqrk6fqcBI2TV8ZQ/Uc52BlBmcgBRqrhhWj+pnlrJHb
3FZgZLg0XR3zay6rxC03ZD6dEAertEwG8L6TQFLkm7umaszy3rz/dJw1gwHXQiRK2m
41X8aLRMDFac8pPn7IHfOYupwp9lX0jwdN5VUBmmvo/ESJ3DQll9sgboC1L+fJKexL
pQvFUu+OXiYrg==
Date: Wed, 30 Jun 2010 08:12:42 +0200
From: Kaspar Brand <ietf-certid@velox.ch>
User-Agent: Thunderbird/3.0
MIME-Version: 1.0
To: certid@ietf.org
References: <p062408bcc83880a30dd0@[10.20.30.158]>
<4C2A6E8B.7060005@stpeter.im>
In-Reply-To: <4C2A6E8B.7060005@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [certid] Need to define "most specific RDN"
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: Wed, 30 Jun 2010 06:12:37 -0000
On 30.06.2010 00:07, Peter Saint-Andre wrote:
> Two questions:
>
> 1. Some people use "most significant" and "most specific"
> interchangeably. Which is correct?
"most specific", I would say. And "correct" in the sense that it's the
wording used in RFC 2818 (you won't find this term in X.501 in the
section about names, e.g.).
> 2. More substantially, we currently have this text:
>
> The subject field of a PKIX certificate is defined as an X.501 type
> Name and known as a Distinguished Name (DN) -- see [X.501] and
> [PKIX]. A DN is an ordered sequence of Relative Distinguished Names
> (RDNs), where each RDN is a set (i.e., an unordered group) of type-
> and-value pairs or "attribute value assertions" (AVAs) [LDAP-DN],
> each of which asserts some attribute about the subject of the
> certificate. In the DER encoding of a DN, the RDNs are always in
> order from most significant to least significant (i.e., the first RDN
> is most significant and the last RDN is least significant); however,
> in the string representation of a DN as used in various protocols and
> data formats, the RDNs might be ordered from most significant to
> least significant (e.g., this is true of LDAP) or from least
> significant to most significant.
>
> Is the first RDN most specific, or is the last RDN most specific?
The last (as stated by others already). If we want to be really picky
with definitions, then
> where each RDN is a set (i.e., an unordered group) of type-and-value
> pairs or "attribute value assertions" (AVAs)
isn't entirely correct. RFC 5280 actually defines
RelativeDistinguishedName as a SET OF AttributeTypeAndValue (not a SET
OF AttributeValueAssertion, these have a different syntax, cf. X.501).
I.e., drop "or 'attribute value assertions' (AVAs)" from the above
definition, and change the definition of CN-ID to
* CN-ID = a Relative Distinguished Name (RDN) in the certificate
subject that contains one and only one type-and-value pair
of type Common Name (CN)
(On a somewhat related matter: when referring to subjectAltName entries
- e.g. in Paul's message on "Empty subjects" - using the term AVA should
be avoided, too. Simply use "a subjectAltName entry of type X".)
Kaspar
- [certid] Need to define "most specific RDN" Paul Hoffman
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Need to define "most specific RDN" Bruno Harbulot
- Re: [certid] Need to define "most specific RDN" Paul Hoffman
- Re: [certid] Need to define "most specific RDN" Peter Sylvester
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Kurt Zeilenga
- Re: [certid] Need to define "most specific RDN" Peter Sylvester
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Need to define "most specific RDN" Martin Rex
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Need to define "most specific RDN" Love Hörnquist Åstrand
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Need to define "most specific RDN" =JeffH
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Ludwig Nussel
- Re: [certid] Need to define "most specific RDN" Peter Sylvester
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Paul Hoffman
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Nelson B Bolyard
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Martin Rex
- Re: [certid] Need to define "most specific RDN" Nelson B Bolyard
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Ludwig Nussel
- Re: [certid] Need to define "most specific RDN" Nelson B Bolyard
- Re: [certid] Need to define "most specific RDN" Paul Tiemann
- Re: [certid] Need to define "most specific RDN" Martin Rex
- Re: [certid] Need to define "most specific RDN" Nelson B Bolyard
- Re: [certid] Need to define "most specific RDN" Kaspar Brand
- Re: [certid] Need to define "most specific RDN" Martin Rex
- Re: [certid] Need to define "most specific RDN" Martin Rex
- Re: [certid] Need to define "most specific RDN" Shumon Huque
- Re: [certid] Need to define "most specific RDN" Martin Rex
- Re: [certid] Need to define "most specific RDN" Shumon Huque
- Re: [certid] Need to define "most specific RDN" Peter Sylvester
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Need to define "most specific RDN" Peter Saint-Andre
- Re: [certid] Name constraints and legacy clients Matt McCutchen
- Re: [certid] Name constraints and legacy clients Matt McCutchen
- Re: [certid] Name constraints and legacy clients Paul Tiemann