Re: [kitten] Finding Kerberos Realm Descriptors in secure DNS

Nico Williams <nico@cryptonector.com> Wed, 16 September 2015 19:34 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0E751A0181 for <kitten@ietfa.amsl.com>; Wed, 16 Sep 2015 12:34:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.366
X-Spam-Level:
X-Spam-Status: No, score=-2.366 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xv2bKSYZGRsQ for <kitten@ietfa.amsl.com>; Wed, 16 Sep 2015 12:34:28 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id DE40F1A017F for <kitten@ietf.org>; Wed, 16 Sep 2015 12:34:28 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id 7D67C59808A; Wed, 16 Sep 2015 12:34:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=cryptonector.com; bh=7nMBwLOSt++LcvkFO4cI2PfDINs =; b=VS0I+51RIes0bzWEpLFAmJ0uRpij3HismZw738qu29djFjeSffM6a52tuh7 +XZhYl43G3Klqqz2y3V0Fa/GBNaiRo7ze0MM8vnaM7R7pwKt8bUHCN8brqWOPsRl CZhq7itC8CssFfyMFtjDUiPCPg4bTWrePe965ScJAuqlx0sM=
Received: from localhost (108-207-244-100.lightspeed.austtx.sbcglobal.net [108.207.244.100]) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPA id 0FA76598056; Wed, 16 Sep 2015 12:34:27 -0700 (PDT)
Date: Wed, 16 Sep 2015 14:34:27 -0500
From: Nico Williams <nico@cryptonector.com>
To: kitten@ietf.org
Message-ID: <20150916193426.GM13294@localhost>
References: <55F686EA.30206@openfortress.nl> <55F6EA7C.8070608@mit.edu> <20150914161100.GC13294@localhost> <55F6F843.2070609@openfortress.nl> <55F7C3FA.5090802@openfortress.nl> <20150915073030.GD21942@mournblade.imrryr.org> <55F7CB98.6060300@openfortress.nl> <20150915144724.GJ21942@mournblade.imrryr.org> <55F9118C.3050407@openfortress.nl> <20150916180843.GA21942@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20150916180843.GA21942@mournblade.imrryr.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/kfUDH0MiAue6x2Yx4FiRI3M_jGA>
Subject: Re: [kitten] Finding Kerberos Realm Descriptors in secure DNS
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2015 19:34:30 -0000

On Wed, Sep 16, 2015 at 06:08:43PM +0000, Viktor Dukhovni wrote:
> so indeed PTR is not case-preserving.  The choice is to use "TXT"
> which is already supported by both MIT and Heimdal, or to bite the
> bullet and define realms as being domain names, and if two strings
> are the same valid domain name, then they are the same realm.

Certainly there's no harm in describing the TXT RR approach (as
implemented) in an Informative RFC.

I do think we should define domain-style realm names as being
domainnames, which means they must be treated case-insensitively by KDCs
and services.  That's not new: WIndows and AD do this.  Since it can be
a breaking change for apps that do name-based authorization, it's useful
to "canonicalize" realm names at the service (acceptors), and preferably
where possible at the client (kinit, pam_krb5, alike).

> I still see no advantage in introducing KREALM.  Just needlessly
> less usable than TXT.

Because of the middle-box problems, right?  Agreed.

Nico
--