Re: [pkix] Amendment to CABF Baseline Requirements

Jeremy Rowley <> Mon, 10 April 2017 16:41 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 61F90129566 for <>; Mon, 10 Apr 2017 09:41:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Status: No, score=-4.301 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_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 5qSokRGfcy6n for <>; Mon, 10 Apr 2017 09:41:11 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id BF2631296B3 for <>; Mon, 10 Apr 2017 09:41:03 -0700 (PDT)
From: Jeremy Rowley <>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=mail; t=1491842464; bh=yhFcYE7HKUi1HzRTIwMXM63UWRTAQfvhtn8tLe+Emvc=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=i7k8fh5cjn+a4WgVd2XMX6OT5H31/dZEtm1mRbebtjKi08c5YEOLJ0GeT0hfaQ2DO RIGNU6fkeFisoSZPde5bXwIWyj5RO8eDUx4clQG6OBEcMsu9jNN/qkn1QuoeWpUPU1 vYsmr3FFSSl3rOjAJ/6g3jTJY/1yH74pf6+iRfns=
To: Russ Housley <>, Erik Andersen <>
Thread-Topic: [pkix] Amendment to CABF Baseline Requirements
Thread-Index: AdKu7+4NHc0VCiezSMq6lazH8C48qgAOOMeAAAjFYFD//+OgAIAAFNUAgACxx4CAAOG/AIAAwtUAgACeIQD//VKmkA==
Date: Mon, 10 Apr 2017 16:41:01 +0000
Message-ID: <>
References: <> <> <> <> <> <> <> <000001d2b041$050c2310$0f246930$> <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: []
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0085_01D2B1E6.F225E590"
MIME-Version: 1.0
Archived-At: <>
Subject: Re: [pkix] Amendment to CABF Baseline Requirements
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: PKIX Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 10 Apr 2017 16:41:23 -0000

Hi Russ - Considering the CA/Browser Forum rules only applies to browser user agents, are you aware of any actual interoperability issues?


From: pkix [] On Behalf Of Russ Housley
Sent: Saturday, April 8, 2017 11:47 AM
To: Erik Andersen <>
Subject: Re: [pkix] Amendment to CABF Baseline Requirements




The CA/Browser Forum seems to be finding the upper bounds in the X.500 5th edition and RFC 5280.  I’m not sure how to relax them without introducing interoperability concerns.





On Apr 8, 2017, at 4:20 AM, Erik Andersen < <> > wrote:


The change was made in the sixth edition of X.520 (2008). It was primarily driven by Hoyt Kesterson and by some X.500/LDAP vendors. Hoyt was generally against such limitations, as the future is difficult to predict. X.500/LDAP vendors were concerned about interworking between X.500 and LDAP (that does not have upper bounds). You may have noticed that ASN.1 information objects now also contains LDAP specific fields allowing also new attribute types to be usable also in an LDAP environment without the need for additional specifications.


I insisted that the upper bounds should be kept in an informative annex to be used by those having a requirement to limit the sizes.


I could, if you feel it relevant, try to suggest a Defect Report to X.509 saying that it is strongly recommend to observe the upper bounds specified in X.520. I will also try to get such a statement into any smart grid security standard that references X.509.



Fra: pkix [ <>] På vegne af Russ Housley
Sendt: 07 April 2017 22:43
Til: IETF PKIX < <>>
Emne: Re: [pkix] Amendment to CABF Baseline Requirements


The ASN.1 modules that were posted by Erik confirm that the upper bounds have been removed for all of the naming attributes in the SelectedAttributeTypes module.


UnboundedDirectoryString ::= CHOICE {

  teletexString    TeletexString(SIZE (1..MAX)),

  printableString  PrintableString(SIZE (1..MAX)),

  bmpString        BMPString(SIZE (1..MAX)),

  universalString  UniversalString(SIZE (1..MAX)),

  uTF8String       UTF8String(SIZE (1..MAX)) }





On Apr 7, 2017, at 3:15 AM, Erwann Abalea < <>> wrote:




2017-04-06 22:39 GMT+02:00 Peter Bowen < <>>gt;:


On Thu, Apr 6, 2017 at 12:24 PM Russ Housley < <>> wrote:

The comment in the UpperBounds ASN.1 module (the 8th edition) says:

-- The types and values defined in this module are exported for use in the other ASN.1
-- modules contained within these Directory Specifications, and for the use of other
-- applications which will use them to access Directory services. Other applications
-- may use them for their own purposes, but this will not constrain extensions and
-- modifications needed to maintain or improve the Directory service.

X.509 is part of the Directory Specifications, so they are not advisory.

It looks like ITU-T increased the length of the organizational unit name in the most recent edition.

RFC 5280 says:

ub-organization-name-length INTEGER ::= 64
ub-organizational-unit-name-length INTEGER ::= 32

The UpperBounds ASN.1 module (the 8th edition) says:

ub-organization-name                       INTEGER ::= 64
ub-organizational-unit-name                INTEGER ::= 64

So, we may already be in a place where implementations conforming to X.509 will produce a certificate that cannot be decoded by an implementation that conforms to RFC 5280.

I wish we gad gotten a heads-up …


It is even worse. 7th and 8th (and maybe prior releases) removed the usage of ub- from the schema. The schema itself no longer bounds DirectoryStrings and X.509 explicitly says they are unbounded. 


X.520 2005 defines the attributes using the DirectoryString{} parameterized type, while the 2008 edition uses the UnboundedDirectoryString type.


RFC5912, which proposes ASN.1 modules for certificates and other related things, still uses the DirectoryString{} variant.





pkix mailing list