Re: [kitten] draft-ietf-kitten-rfc5653bis-02 review

Nico Williams <nico@cryptonector.com> Mon, 16 February 2015 04:24 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 8A1EF1A8739 for <kitten@ietfa.amsl.com>; Sun, 15 Feb 2015 20:24:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level:
X-Spam-Status: No, score=0.233 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
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 qCfddoJFdBPl for <kitten@ietfa.amsl.com>; Sun, 15 Feb 2015 20:24:57 -0800 (PST)
Received: from homiemail-a103.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 95D9C1A8734 for <kitten@ietf.org>; Sun, 15 Feb 2015 20:24:57 -0800 (PST)
Received: from homiemail-a103.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a103.g.dreamhost.com (Postfix) with ESMTP id 58CE82005E612; Sun, 15 Feb 2015 20:24:57 -0800 (PST)
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=+xxnujWf5SbPMT i6fdbjSKBx1M4=; b=sa6HbmONGYfL6wukMHtC6bt5iAUbPnJxGzacmIBLcy0taF NrvtuA4G8MRUI3EcKsvDWIxpy6plbz6fEVJh5TriyTRv9/kemmklCDGt4/CYi9MA 8yplrRiH0MvaU9+GlNo1+wzKRymEpjFzHfSiofo+fhG2x8EXe2fN3uQd0Nqqo=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a103.g.dreamhost.com (Postfix) with ESMTPA id 1612D2005E607; Sun, 15 Feb 2015 20:24:57 -0800 (PST)
Date: Sun, 15 Feb 2015 22:24:56 -0600
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <kaduk@MIT.EDU>
Message-ID: <20150216042456.GD5246@localhost>
References: <54CEE8E5.5080701@oracle.com> <54D2FCD5.6060404@oracle.com> <54D3190D.8080003@mit.edu> <54D31FD0.9030508@oracle.com> <54D39523.5070700@mit.edu> <54D404FE.8010009@oracle.com> <54D40D6A.7010704@mit.edu> <54D4100E.7070200@oracle.com> <alpine.GSO.1.10.1502061704130.3953@multics.mit.edu> <20150216042107.GC5246@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20150216042107.GC5246@localhost>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/iJMu7i5Wbbo9BehNMGXk0q5UgnU>
Cc: kitten@ietf.org
Subject: Re: [kitten] draft-ietf-kitten-rfc5653bis-02 review
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: <http://www.ietf.org/mail-archive/web/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: Mon, 16 Feb 2015 04:24:58 -0000

On Sun, Feb 15, 2015 at 10:21:08PM -0600, Nico Williams wrote:
> That said, the use of streams strikes me as dangerous: in the presence
> of a self-framing mechanism, an application that passes in streams
> corresponding to the application protocol streams... would function
> correctly, whereas it would fail to work with non-self-framing
> mechanisms.
> 
> (The GSI mechanism that uses TLS is a self-framing mechanism.  When the
> application writes the tokens without further framing the result is TLS
> on the wire, even though a GSS interface is used!)

That is, I am in favor of deprecating the methods dealing with streams,
or at the very least adding text describing the framing issue and
recommending (lower-case?) the use of memory-based, one-token-only
streams.

On the other hand, I do want to add a mechanism attribute for indicating
that a mechanism's tokens are self-framed...

Nico
--