Re: [certid] open issue: wildcards in component fragments

ArkanoiD <ark@eltex.net> Thu, 07 October 2010 21:11 UTC

Return-Path: <ark@eltex.net>
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 AA58B3A7180 for <certid@core3.amsl.com>; Thu, 7 Oct 2010 14:11:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.495
X-Spam-Level:
X-Spam-Status: No, score=-0.495 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.1]
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 Ef1tK7DLOzm3 for <certid@core3.amsl.com>; Thu, 7 Oct 2010 14:11:27 -0700 (PDT)
Received: from lebedev-225.itcwin.com (unknown [88.201.200.225]) by core3.amsl.com (Postfix) with ESMTP id 9B85E3A7182 for <certid@ietf.org>; Thu, 7 Oct 2010 14:11:23 -0700 (PDT)
Received: from lebedev-225.itcwin.com (ark@localhost.my.domain [127.0.0.1]) by lebedev-225.itcwin.com (8.14.3/8.14.3) with ESMTP id o97LC8kt031441; Fri, 8 Oct 2010 01:12:09 +0400 (MSD)
Received: (from ark@localhost) by lebedev-225.itcwin.com (8.14.3/8.14.3/Submit) id o97LC8iO004333; Fri, 8 Oct 2010 01:12:08 +0400 (MSD)
X-Authentication-Warning: lebedev-225.itcwin.com: ark set sender to ark@eltex.net using -f
Date: Fri, 8 Oct 2010 01:12:08 +0400
From: ArkanoiD <ark@eltex.net>
To: Peter Saint-Andre <stpeter@stpeter.im>
Message-ID: <20101007211208.GA9771@eltex.net>
References: <4CACEEBC.8010109@stpeter.im> <20101007125754.GA11638@eltex.net> <4CAE3122.9080504@stpeter.im>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <4CAE3122.9080504@stpeter.im>
User-Agent: Mutt/1.4.2.3i
Cc: IETF cert-based identity <certid@ietf.org>
Subject: Re: [certid] open issue: wildcards in component fragments
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: Thu, 07 Oct 2010 21:11:34 -0000

On Thu, Oct 07, 2010 at 02:44:18PM -0600, Peter Saint-Andre wrote:
> On 10/7/10 6:57 AM, ArkanoiD wrote:
> > Are there any such certificates "in the wild"? Do current clients
> > support it? If there aren't any and it is not supported anyways,
> > let's keep status quo and do not make things more complicated than
> > needed. For www1, www2 etc one may use extra name component and
> > that's all.
> 
> What do you mean by "the status quo" -- the text in version -09 of the
> server-id-check I-D (no wildcard in component fragments, like foo*) or
> the text in RFC 2818 and several other specs (*oo and f*o and foo* are
> fine)?

I mean current implementations and already issued certificates.

> As far as I can see, allowing wildcards in component fragments makes
> things more complicated than needed because a CA needs to have more
> complex rules for issuance and a TLS library or application client needs
> to have a more complex parsing algorithm (checking for things like
> *oo.example.com and foo*.example.com and f*o.example.com instead of just
> *.example.com -- it's also not clear to me from RFC 2818 if multiple
> instances of the wildcard character are allowed, such that
> f*b*r.example.com would be acceptable). Allowing '*' only as the
> complete left-most label seems easier to me (and I've received feedback
> to that effect off-list, as well).

It was my primary concern too, i definitely prefer simple and straightforward
parsers that are less likely to behave any unexpected way :-) Once we agree to implement complex parsing, someone almost certainly will just use his favourite regexp library just because it saves time (causing total havoc) ;-)