RE: Kerberos name constraints I-D

Stefan Santesson <stefans@microsoft.com> Tue, 18 September 2007 23:49 UTC

Return-path: <owner-ietf-pkix@mail.imc.org>
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IXmox-0007Yk-DI for pkix-archive@lists.ietf.org; Tue, 18 Sep 2007 19:49:35 -0400
Received: from balder-227.proper.com ([192.245.12.227]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IXmoo-0007lC-Vx for pkix-archive@lists.ietf.org; Tue, 18 Sep 2007 19:49:28 -0400
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l8IMuiPr043740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Sep 2007 15:56:44 -0700 (MST) (envelope-from owner-ietf-pkix@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l8IMuiBg043739; Tue, 18 Sep 2007 15:56:44 -0700 (MST) (envelope-from owner-ietf-pkix@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-pkix@mail.imc.org using -f
Received: from smtp-dub.microsoft.com (smtp-dub.microsoft.com [213.199.138.191]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l8IMudvn043731 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for <ietf-pkix@vpnc.org>; Tue, 18 Sep 2007 15:56:43 -0700 (MST) (envelope-from stefans@microsoft.com)
Received: from DUB-EXHUB-C303.europe.corp.microsoft.com (65.53.213.93) by DUB-EXGWY-E801.partners.extranet.microsoft.com (10.251.129.1) with Microsoft SMTP Server (TLS) id 8.1.177.2; Tue, 18 Sep 2007 23:56:39 +0100
Received: from EA-EXMSG-C307.europe.corp.microsoft.com ([65.53.221.50]) by DUB-EXHUB-C303.europe.corp.microsoft.com ([65.53.213.93]) with mapi; Tue, 18 Sep 2007 23:56:38 +0100
From: Stefan Santesson <stefans@microsoft.com>
To: Paul Rabinovich <Paul.Rabinovich@exostar.com>, "ietf-pkix@vpnc.org" <ietf-pkix@vpnc.org>
Date: Tue, 18 Sep 2007 23:56:36 +0100
Subject: RE: Kerberos name constraints I-D
Thread-Topic: Kerberos name constraints I-D
Thread-Index: Acf0m6FwQRhkNNIdQwKqenHbym7AfAEo9VDAAAA58KAAQSFGAA==
Message-ID: <A15AC0FBACD3464E95961F7C0BCD1FF006A264FEF1@EA-EXMSG-C307.europe.corp.microsoft.com>
References: <0E2D64FCAEB5C5458A494DC28270548E06CE3F59@Netmail1.exostar.com>
In-Reply-To: <0E2D64FCAEB5C5458A494DC28270548E06CE3F59@Netmail1.exostar.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id l8IMuhvm043734
Sender: owner-ietf-pkix@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-pkix/mail-archive/>
List-ID: <ietf-pkix.imc.org>
List-Unsubscribe: <mailto:ietf-pkix-request@imc.org?body=unsubscribe>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d0bdc596f8dd1c226c458f0b4df27a88

Hi Paul,

Thank you for posting the draft.

I have looked through it and I have several minor comments on the introduction I may recap in a later e-mail. I'll provide some more general thoughts here:

I general I think the technical approach is reasonable. However I'm a bit confused about whether section 4.2 is contradicting section 5 or not.
Section 4.2. impose exact match full name match in all cases when the PrincipalName is a non-empty sequence, at the same time section 5 seems to suggest some other constraint rules if certain name types are being used. This feels contradicting to me.

The document is not clear on case matching, i.e. in what aspects matching is case sensitive or not.

The document does not disclose the fact that KerberosString is an IA5String (ASCII) and as such there are no direct I18N issues.
However. If one of the attributes expressed in an X.500 style name would originally be UTF8 with international characters. How would that be handled in this situation. Is this described anywhere? and would it affect name constraining?

The document clearly has leading sections being introduction, followed by a normative specification. It would be better IMO if the leading sections were bundled into one introduction section, possibly with subsections.

5.1 talks about service names. FYI there is a new RFC defining a Service Name SubjAltName with name constraining rules (RFC 4985). Would that be a relevant reference?

Stefan Santesson
Senior Program Manager
Windows Security, Standards

> -----Original Message-----
> From: owner-ietf-pkix@mail.imc.org [mailto:owner-ietf-
> pkix@mail.imc.org] On Behalf Of Paul Rabinovich
> Sent: den 17 september 2007 09:06
> To: ietf-pkix@vpnc.org
> Subject: Kerberos name constraints I-D
>
>
>       Hello,
>
>       Attached, please, find the 0th draft of the I-D
> "Constraining Kerberos Names in X.509 Certificates". The I-D was not
> included in the Kerberos WG Charter. The chairs recommended that I do
> an individual submission. Since it concerns both Kerberos and PKI, I'd
> like to solicit feedback from the PKIX WG.
>       There are a couple of issues I'd like to draw your attention
> to:
>
> 1) "Other" name constraints applicable to Kerberos names: (a) Is it
> even a good idea to apply one type of name constraint to a name of a
> different type (RFC 3280 does not do this - with one exception for
> backward compatibility);
> (b) issuing CAs may label names as NT-PRINCIPAL or some such to
> circumvent these name constraints; (c) RFC 4120 is ambiguous about
> certain Kerberos names (e.g., NT-SMTP-NAME: Name in the form of an SMTP
> e-mail name (e.g.,
> user@example.com): is it always an RFC 822 name or it only looks like
> one?
> The same is true for NT-SRV-XHST and X.500 names, etc.)
> 2) I'm concerned about ambiguity of name encodings. E.g., in an NT-SRV-
> XHST what is the encoding of the name-string field? Is it a left-to-
> right DN or right-to-left? I'd like to make sure the encoding issue is
> unambiguously resolved for all name types.
> 3) In RFC 4120: is it true that domain-style realm names never start
> with "."; it should be true but it's not stated there.
> 4) How are X500-style realm names encoded?
> 5) Should we do any pattern matching for "other"-style real names? My
> draft talks only about exact realm name match for them.
>
> I appreciate all feedback.
>
> Best regards,
> PR
>
> Paul Rabinovich | Software Architect | EXOSTAR LLC 13530 Dulles
> Technology Dr., Suite 200, Herndon, VA 20171 PH +1.703.793.7808 | FAX
> +1.703.793.7741