Re: [kitten] SPAKE Preauth

Nico Williams <nico@cryptonector.com> Mon, 04 May 2015 01:04 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 2F3C91A92BC for <kitten@ietfa.amsl.com>; Sun, 3 May 2015 18:04:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 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_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 GKukVWJWY89l for <kitten@ietfa.amsl.com>; Sun, 3 May 2015 18:04:29 -0700 (PDT)
Received: from homiemail-a111.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 7B2661A92B9 for <kitten@ietf.org>; Sun, 3 May 2015 18:04:29 -0700 (PDT)
Received: from homiemail-a111.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTP id 398B42005E61A; Sun, 3 May 2015 18:04:29 -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=K99taFHkRB2D/n 4MQGV/61GDj3I=; b=TreD5+bBpZ54M1wDt6qJpkSBklCRsfQfb2syqkxYzUUNr8 jVHUQWhvVtc7YQc8LBbnCuBtEJB06OXG5KeYGM95NmJz7QVRShwy0ie5i1WSdJvm Kf29ZlK0TXrkNA93dF3mivMNe8jGiQ3a7GW9gSg3n0whKYNMTa8Pyz5DsUkFQ=
Received: from localhost (ip-64-134-47-45.public.wayport.net [64.134.47.45]) (Authenticated sender: nico@cryptonector.com) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTPA id CC5D22005E605; Sun, 3 May 2015 18:04:28 -0700 (PDT)
Date: Sun, 03 May 2015 20:04:28 -0500
From: Nico Williams <nico@cryptonector.com>
To: Simo Sorce <simo@redhat.com>
Message-ID: <20150504010427.GC7287@localhost>
References: <1430138754.2682.10.camel@redhat.com> <20150501212003.GB10065@localhost> <1430515444.2514.14.camel@redhat.com> <20150501222257.GE10065@localhost> <1430533498.2720.3.camel@redhat.com> <20150502230856.GF10065@localhost> <1430692364.916.58.camel@willson.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1430692364.916.58.camel@willson.usersys.redhat.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/GcEW731HGGUfpTE0q6VT6e84z4k>
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] SPAKE Preauth
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, 04 May 2015 01:04:30 -0000

On Sun, May 03, 2015 at 06:32:44PM -0400, Simo Sorce wrote:
> On Sat, 2015-05-02 at 18:08 -0500, Nico Williams wrote:
> > I don't buy this.  I understand and agree about how a dependency on
> > _FAST_ made RFC6560 difficult to deploy, and also how RFC6560's
> > incomplete/missing handling of *multiple* factors made it less useful
> > than expected.  I don't think that means "generality -> bad".
> > 
> > Also, I don't think a generic OTP 2nd factor here would necessarily lead
> > to a low-quality user experience.  For all user-input OTPs, all the user
> > needs is a prompt, which can be sent in UTF-8 and already localized to
> > a language of the user's preference (since the AS ought to know what
> > that might be).  I don't see how the user-input OTP experience can get
> > much better than that.
> 
> I think we explicitly exclude sending unauthenticated prompts from the
> KDC, as it would be easy to confuse/subvert the user experience by an
> attacker.
> 
> Because the prompts would have to be sent unauthenticated in the SPAKE
> algorithm we'd have to define either generic, unhelpful prompts, or
> define specific OTP mechanisms so that clients have prompts backed in
> and just reference them by id internally.

Ah, I see.  OK, thanks.

Nico
--