Re: [certid] SRV-ID examples

Peter Saint-Andre <stpeter@stpeter.im> Sun, 21 November 2010 04:45 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 1D2D328C13C for <certid@core3.amsl.com>; Sat, 20 Nov 2010 20:45:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.535
X-Spam-Level:
X-Spam-Status: No, score=-102.535 tagged_above=-999 required=5 tests=[AWL=0.064, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 KKG6YH6UVpoa for <certid@core3.amsl.com>; Sat, 20 Nov 2010 20:45:16 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id F1F2028C13B for <certid@ietf.org>; Sat, 20 Nov 2010 20:45:15 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id AB3B7400F6; Sat, 20 Nov 2010 21:56:24 -0700 (MST)
Message-ID: <4CE8A40D.90005@stpeter.im>
Date: Sat, 20 Nov 2010 21:46:05 -0700
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.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Dan Winship <dan.winship@gmail.com>
References: <4CE83D6B.1070007@gmail.com>
In-Reply-To: <4CE83D6B.1070007@gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms000305090600080707040909"
Cc: IETF cert-based identity <certid@ietf.org>
Subject: Re: [certid] SRV-ID examples
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: Sun, 21 Nov 2010 04:45:17 -0000

On 11/20/10 2:28 PM, Dan Winship wrote:
> draft-saintandre-tls-server-id-check-11, section 3.2 says:
> 
>    A certificate for the IMAP-accessible email server at
>    "mail.example.net" might include SRV-IDs of "_imap.mail.example.net"
>    and "_imaps.mail.example.net" (see [EMAIL-SRV]) and a DNS-ID of
>    "mail.example.net".
> 
> As I understand it, the SRV-ID is based on the source domain, not the
> derived domain, and so "_imap.mail.example.net" would only be correct if
> you were expecting clients to do a SRV lookup for
> "_imap._tcp.mail.example.net". But the more usual case would be doing a
> lookup for "_imap._tcp.example.net", in which case the corresponding
> SRV-ID would "_imap.example.net". Right?

Why assume so?

Although my email address is stpeter@stpete.rim, my email server is
"mailhost.stpeter.im" and I have explicitly configured my email client
to connect to that server. In that case, "mailhost.stpeter.im" is a
source domain.

Similarly, XMPP clients might be explicitly configured to look up
im.example.com, not example.com.

Why does this I-D need to legislate the DNS domain names at which
services are located?

> So the example should say something like
> 
>    A certificate for the IMAP-accessible email server at
>    "mail.example.net", which is pointed to by the SRV records
>    "_imap._tcp.example.net" and "_imaps._tcp.example.net", might
>    include SRV-IDs of "_imap.example.net" and "_imaps.example.net"
>    (see [EMAIL-SRV]) and a DNS-ID of "mail.example.net".
> 
> Likewise for the XMPP example that follows it, and the corresponding
> examples in 4.2.2.

If folks would find that less confusing, we could change the examples.

Peter

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