Peter Gutmann | 1 Jul 2008 13:21
Picon
Picon
Picon
Favicon

Name constraint question


Here's one: Say an issuing cert contains a name constraint for (just for
argument's sake) a URI, and the subject cert contais a URI.  The issuer cert's
URI is invalid.  Alternatively, the subject cert's URI is invalid.

What should happen?  Is the output for the check true or false?

NB: Just because a URI is malformed doesn't mean that the relying party
software won't accept it, there's so much broken stuff out there that much web
software bends over backwards to interpret almost anything URI-like.  So
saying "the RP should reject it" won't work, the cert processing software has
to make the decision.

Peter.

Stephen Kent | 1 Jul 2008 16:19
Picon

Re: Name constraint question


At 11:21 PM +1200 7/1/08, Peter Gutmann wrote:
>Here's one: Say an issuing cert contains a name constraint for (just for
>argument's sake) a URI, and the subject cert contais a URI.  The issuer cert's
>URI is invalid.  Alternatively, the subject cert's URI is invalid.
>
>What should happen?  Is the output for the check true or false?
>
>NB: Just because a URI is malformed doesn't mean that the relying party
>software won't accept it, there's so much broken stuff out there that much web
>software bends over backwards to interpret almost anything URI-like.  So
>saying "the RP should reject it" won't work, the cert processing software has
>to make the decision.
>
>Peter.

Peter,

Name constraints checking does not imply any form of external 
validation on the "validity" of the name, for any type of name. The 
purpose of the extension  is to constrain the range of names asserted 
in subordinate certs, not to ensure that the names are "valid" in 
some larger context. It could be very difficult to establish validity 
for many types of names.  For example, if a DNS name does not resolve 
for me, does that make it invalid?  Is it more valid if resolved 
using DNESEC vs. vanilla DNS? What if the IP address returned is not 
reachable, at the time I check it, ...?

Steve

(Continue reading)

Stephen Kent | 1 Jul 2008 16:01
Picon

Re: Comments on draft-ietf-pkix-tac-00.txt


At 12:02 PM +0200 7/1/08, Denis Pinkas wrote:
>Content-Type: text/html
>X-MIME-Autoconverted: from 8bit to quoted-printable by 
>balder-227.proper.com id m61A2c5J025564
>
>Steve,
>
>It looks like the main motivation is to (finally) find an 
>application for the split key and blind signing mechanism.
>:-)
>The crypto security should be not the central point.

I think it's fair to say that these crypto security mechanisms (split 
key signing and blind signatures) offer greater security than what is 
available from relying only on procedural security promises.

>  There is no way proposed in the draft so that a RP can know that 
>the split key and blind signing aspects occurred or not.

True. it is invisible to RPs.

>If the draft goes along, I would see the place for two schemes:
>
>a) a simpler scheme without the split key and blind signing aspects 
>of the design,
>b) a more complex scheme with the split key and blind signing 
>aspects of the design.
>

(Continue reading)

Peter Gutmann | 1 Jul 2008 17:07
Picon
Picon
Picon
Favicon

Re: Name constraint question


Stephen Kent <kent <at> bbn.com> writes:

>Name constraints checking does not imply any form of external validation on
>the "validity" of the name, for any type of name. The purpose of the
>extension is to constrain the range of names asserted in subordinate certs,
>not to ensure that the names are "valid" in some larger context. It could be
>very difficult to establish validity for many types of names.  For example,
>if a DNS name does not resolve for me, does that make it invalid?  Is it more
>valid if resolved using DNESEC vs. vanilla DNS? What if the IP address
>returned is not reachable, at the time I check it, ...?

But the checking rules require parsing URIs in order to apply the checks.
Here's an example of a malformed URI being used to avoid name constraints:

CA cert: excluded subtree, example.com
Subject cert, altName: ftp:/example.com

(non-matched as "ftp:/example.com", processed as FTP -> "example.com").  If
it's OK to have syntactically invalid URIs then this (and a million variants)
can be used to escape excluded subtrees, thus making them essentially useless
(actually you can already do that with character-set encoding tricks and
whatnot so excluded subtrees have always been a no-hoper for security
purposes, I'll bet no implementation in existance can catch even the most
basic trick like using "ex%41mple.com", let alone "ex%u0041mple.com",
"ex&#x41;mple.com", or "ex%EF%BC%A1mpple.com").

Maybe the RFC should simply deprecate excluded subtrees to avoid giving RPs
the erroneous impression that they're effective for anything.

(Continue reading)

Stephen Kent | 1 Jul 2008 18:22
Picon

Re: Name constraint question


At 3:07 AM +1200 7/2/08, Peter Gutmann wrote:
>Stephen Kent <kent <at> bbn.com> writes:
>
>>Name constraints checking does not imply any form of external validation on
>>the "validity" of the name, for any type of name. The purpose of the
>>extension is to constrain the range of names asserted in subordinate certs,
>>not to ensure that the names are "valid" in some larger context. It could be
>>very difficult to establish validity for many types of names.  For example,
>>if a DNS name does not resolve for me, does that make it invalid?  Is it more
>>valid if resolved using DNESEC vs. vanilla DNS? What if the IP address
>>returned is not reachable, at the time I check it, ...?
>
>But the checking rules require parsing URIs in order to apply the checks.
>Here's an example of a malformed URI being used to avoid name constraints:
>
>CA cert: excluded subtree, example.com
>Subject cert, altName: ftp:/example.com
>
>(non-matched as "ftp:/example.com", processed as FTP -> "example.com").  If
>it's OK to have syntactically invalid URIs then this (and a million variants)
>can be used to escape excluded subtrees, thus making them essentially useless
>(actually you can already do that with character-set encoding tricks and
>whatnot so excluded subtrees have always been a no-hoper for security
>purposes, I'll bet no implementation in existance can catch even the most
>basic trick like using "ex%41mple.com", let alone "ex%u0041mple.com",
>"ex&#x41;mple.com", or "ex%EF%BC%A1mpple.com").
>
>Maybe the RFC should simply deprecate excluded subtrees to avoid giving RPs
>the erroneous impression that they're effective for anything.
(Continue reading)

Tony Bartoletti | 1 Jul 2008 21:05

Re: Name constraint question


This thread is taking on a delightful "Alice Through the Looking 
Glass" quality...

I am reminded of a phrase my uncle would sometimes employ:

   "LOOK!" said the blind man, to his deaf son,
    as they walked off the edge of the cliff...

____tony____

Santosh Chokhani | 1 Jul 2008 21:20
Favicon

RE: Name constraint question


Does anyone see similar pitfalls in DN (Geopolitical or dc component
based) based names?

-----Original Message-----
From: owner-ietf-pkix <at> mail.imc.org [mailto:owner-ietf-pkix <at> mail.imc.org]
On Behalf Of Tony Bartoletti
Sent: Tuesday, July 01, 2008 3:06 PM
To: ietf-pkix <at> imc.org
Subject: Re: Name constraint question

This thread is taking on a delightful "Alice Through the Looking 
Glass" quality...

I am reminded of a phrase my uncle would sometimes employ:

   "LOOK!" said the blind man, to his deaf son,
    as they walked off the edge of the cliff...

____tony____

Stephen Kent | 1 Jul 2008 21:52
Picon

Re: Comments on draft-ietf-pkix-tac-00.txt

...
True. it is invisible to RPs.
 
Denis: "Greater security invisible to RPs" = no advantage for RPs = no advantage at all.

I disagree. Many claims made by a CA in a CP or CPS may not be externally verifiable by an RP, yet an RP may rely on them.


>If the draft goes along, I would see the place for two schemes:
>
>a) a simpler scheme without the split key and blind signing aspects
>of the design,
>b) a more complex scheme with the split key and blind signing
>aspects of the design.


This I-D is targeted as an informational RFC. As such it is
describing a proposed design for TACs, one that meets the
requirements perceived by the (primary) authors. There is room for a
second informational RFC describing an alternative design, one that
does not rely on slit key signing and (internal use of blind
signatures).
Denis: I guess that it is still up to the WG to decide whether
the PKIX WG would sponsor or not this draft.

You're right. I did give permission to post this as a PKIX document, targeted as an Informational RFC, before getting a sense of the WG on this.

So, let me ask now if there are objections to having PKIX adopt this as a document. Obviously I am in favor of it, else I would not have signed up as a co-author.

Steve
Hallam-Baker, Phillip | 2 Jul 2008 16:00
Picon
Favicon

RE: "other certs" extension straw poll

Yes (to both)
 
The fact that some people purport to be able to construct a heuristic kludge to address a problem is not a reason not to act.
 
The problem with heuristic kludges is that they tend to be fragile and they tend to interact poorly with other systems. Most of all they are a barrier to interoperability which is what the standards process is all about.

From: owner-ietf-pkix <at> mail.imc.org on behalf of Stephen Kent
Sent: Thu 6/19/2008 1:57 PM
To: ietf-pkix <at> imc.org
Subject: "other certs" extension straw poll

Folks,

Back in December, Stephen Farrell sent a message to PKIX noting a problem that had been identified in the W3C, and proposing a solution in the form of a proposed extension. He published an individual I-D at this time. There was a little discussion on the list about this proposal in January, (a total of about a dozen messages). Stephen made a presentation on his proposal at the Phildelphia meeting in March and in response to some of the comments he received, Stephen revised his proposal to include additional details.  There was agreement at the meeting that the discussion should be moved to the list, to determine of the work should proceed as a PKIX WG item, and if so, whether it would become experimental, standards track, or whatever.

The I-D, which was released at the 02 rev level after the meeting, triggered  additional discussion on the list that month, a total of 15 messages from a set of 5 individuals (including Stephen). Most of the messages in this thread were not supportive of the proposal for various reasons, e.g., argument about why one could not use the permanent identifier extension, or some other SAN, etc. I raised concerns about the lack of details for how an RP would use the data in this extension.

Stephen has asked that we conduct a straw poll on the topic of accepting this as a WG item.  I suggest that PKIX members review the current rev of the I-D (draft-farrell-pkix-other-certs-02.txt) and the messages from April, and then send a message to this list over the next two weeks.  (The straw poll will close on July 4.)

This poll is not deciding whether the I-D in its current form will be adopted, but rather whether the I-D addresses a problem that PKIX wants to address AND that the document provides a suitable basis to begin addressing the problem.

I request that poll responses be of the form:

        YES (to both questions)
        NO (to the first question)
        YES-BUT (yes to the first question, but NO to the second question)

Thanks,

Steve



Stephen Kent | 2 Jul 2008 15:41
Picon

Re: Comments on draft-ietf-pkix-tac-00.txt


At 2:11 PM +0200 7/2/08, Denis Pinkas wrote:
>Content-Type: text/html
>X-MIME-Autoconverted: from 8bit to quoted-printable by 
>balder-227.proper.com id m62CBX9E005364
>
>Steve,
>
>In response to your question:
>
>Obviously,  I am NOT in favor of it, since it appears that there is 
>no intent to pass major change controls to the WG.
>Authors may submit Informational RFCs without the support of the WG.
>
>Denis
>

Denis,

The authors will abide by the same rules as anyone who submits a 
document to a WG.

Some but not ALL of your suggested design changes were accepted. That 
hardly seems unreasonable at this stage of the discussion. If we 
rejected every I-D that had not incorporated EVERY change that you 
unilaterally proposed, I'm not sure that PKIK would have published 
any RFCs :-).

Steve


Gmane