Re: [certid] What DNS-ID if also using a DNS-SRV?

Peter Saint-Andre <stpeter@stpeter.im> Wed, 30 June 2010 19:52 UTC

Return-Path: <stpeter@stpeter.im>
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 74E303A6891 for <certid@core3.amsl.com>; Wed, 30 Jun 2010 12:52:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level:
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093, BAYES_00=-2.599]
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 FZYEfDBVoacj for <certid@core3.amsl.com>; Wed, 30 Jun 2010 12:52:55 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 20C4B3A6823 for <certid@ietf.org>; Wed, 30 Jun 2010 12:52:55 -0700 (PDT)
Received: from leavealone.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 45AA340E4D for <certid@ietf.org>; Wed, 30 Jun 2010 13:53:05 -0600 (MDT)
Message-ID: <4C2BA09F.8020908@stpeter.im>
Date: Wed, 30 Jun 2010 13:53:03 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: certid@ietf.org
References: <p062408bbc8388055fb6d@[10.20.30.158]> <20100612013249.GA4782@isc.upenn.edu> <4C2A65B5.4080209@stpeter.im> <p06240842c8503b7c94bc@[10.20.30.158]> <20100630043158.GB26880@isc.upenn.edu> <p0624081dc8510ebfea3f@[10.20.30.158]> <07D9A6FC-C154-4125-AC33-45F2CE0C0374@apple.com> <p06240820c8513a692695@[10.20.30.158]>
In-Reply-To: <p06240820c8513a692695@[10.20.30.158]>
X-Enigmail-Version: 1.0.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms060400040200090108010601"
Subject: Re: [certid] What DNS-ID if also using a DNS-SRV?
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 19:52:56 -0000

On 6/30/10 12:18 PM, Paul Hoffman wrote:
> At 9:27 AM -0700 6/30/10, Love Hörnquist Åstrand wrote:
>> I think that both "direct" and "indirect" SHOULD be allowed at the
>> same time.
>> 
>> The reason is that if you have a client that supports SRV lookups,
>> in for example jabber, then you want to have the SRV name in there
>> so the client can match the server cert with what the user typed.
>> 
>> Of course there are jabber clients out there that don't support SRV
>> lookup and want to to the normal direct mappings rules.
>> 
>> Since the server doesn't really know what client they talk to it
>> need to hand out a cert that matches both rules -> must hAve both
>> for interop reasons.
>> 
>> So the direct names are not used for intermediate values, they are
>> only used with names what comes/is derived user input.
> 
> Unfortunately, I agree with this logic. I say "unfortunately" because
> it means that we then don't have a MUST, and therefore lose
> interoperability. For sanity, the document needs to say why it is OK
> to have both direct and indirect and what to do when they are both
> there, but I agree that we can't say MUST have only one.

Upon further reflection, I think there are two dimensions here:

1. From the client's perspective, some names are direct (provided by the
user = DNS-ID, CN-ID, URI-ID) and some names are indirect (resolved by
the client based on the input provided by the user = SRV-ID). This
dimension matters for verification.

2. From the service provider's persective, some names are unrestricted
(can be used in any application = DNS-ID and CN-ID) and some names are
unrestricted (can be used in only one kind of application = SRV-ID and
URI-ID). This dimension matters for issuance.

I'll work to formulate this distinction more carefully in text that can
be included in the spec.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/