Re: [kitten] Adoption of draft-mccallum-kitten-krb-service-discovery?

Nico Williams <nico@cryptonector.com> Thu, 02 June 2016 17:22 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A61412D777 for <kitten@ietfa.amsl.com>; Thu, 2 Jun 2016 10:22:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.com
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 xLGlEPrYoBQ3 for <kitten@ietfa.amsl.com>; Thu, 2 Jun 2016 10:22:15 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97BD412B057 for <kitten@ietf.org>; Thu, 2 Jun 2016 10:22:13 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 7B709768083; Thu, 2 Jun 2016 10:22:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=4qHpMaybvpHtp+ BvRJHoWuMcwWc=; b=MTnK7kydBeKGSGPEgw715KiELxqHsoFAdmYZvgo68xMglB Y7zkNM1DYQGNZRRoMlgGI1vdIGJHSAH4jn51LM09yvP63iAmpns/vDA/vcHGuC5B m04oIMStAA582sItNP8XbfrFAPz41wGRDkU6LYunNOOSpzKNvQcfbXR8+6yu0=
Received: from localhost (108-207-244-100.lightspeed.austtx.sbcglobal.net [108.207.244.100]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 69D8F768094; Thu, 2 Jun 2016 10:21:12 -0700 (PDT)
Date: Thu, 02 Jun 2016 12:21:01 -0500
From: Nico Williams <nico@cryptonector.com>
To: Petr Spacek <pspacek@redhat.com>
Message-ID: <20160602172059.GA4935@localhost>
References: <1463500163.2432.9.camel@redhat.com> <20160519162545.GB19530@localhost> <1463676437.31173.36.camel@redhat.com> <9533fb26-6513-caca-efbc-158ebf6ca408@redhat.com> <20160520150629.GH19530@localhost> <15d233ce-0c10-f13e-b87c-8b942163736d@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <15d233ce-0c10-f13e-b87c-8b942163736d@redhat.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/I_JiIoe1q6ze4U30Rfa6IsZ0LQ8>
Cc: kitten@ietf.org
Subject: Re: [kitten] Adoption of draft-mccallum-kitten-krb-service-discovery?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 02 Jun 2016 17:22:17 -0000

On Wed, Jun 01, 2016 at 12:46:18PM +0200, Petr Spacek wrote:
> On 20.5.2016 17:06, Nico Williams wrote:
> > Er, OK, how do we help you implement it?  :)
> 
> Personally I think that this can be solved by some clever usage of an existing
> bidirectional language + some metadata.

I'm not sure what you mean.  "Bi-directional language", to me, refers to
natural languages where writing is done in two directions.

> My experience with Augeas shows that it works quite well and that people
> ironed out a lot of details and difficult corner cases so might be worth
> investigating this direction.

The configuration editing tool??

> If you do not like bidirectional languages look at
> https://datatracker.ietf.org/doc/draft-levine-dnsextlang/
> and implement it :-)

My preference would be to use XML (I know, I know[*]), mostly because
people could (and almost certainly would) then write XSLs to generate
client- and maybe server-side code for dealing with unknown RR types.

Mostly you just need to generate a tiny bit of HTML and JavaScript to
present a UI specific to any given RR type, type-check user inputs,
provide help bubbles and such, format the RDATA with valid
user inputs, and produce hex-encoded RDATA that the server can then use
(the server doesn't need to validate the RDATA, but it could do that
too, also with generated code).

[*] XSLT is what makes XML tolerable and even desirable for this task.

I suppose one would have to... design an XML schema for this, write an
I-D and sample XSLs, submit, and see if dnsop has interest.  I don't
have the cycles for this :(

Nico
--