Re: [kitten] SPAKE Preauth

Nico Williams <nico@cryptonector.com> Fri, 01 May 2015 21:30 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 672AE1B2E4B for <kitten@ietfa.amsl.com>; Fri, 1 May 2015 14:30:58 -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 enk5xcY9tlFz for <kitten@ietfa.amsl.com>; Fri, 1 May 2015 14:30:57 -0700 (PDT)
Received: from homiemail-a67.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id C1E781B29B3 for <kitten@ietf.org>; Fri, 1 May 2015 14:30:57 -0700 (PDT)
Received: from homiemail-a67.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a67.g.dreamhost.com (Postfix) with ESMTP id 9C2C627BC073; Fri, 1 May 2015 14:30:57 -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=shdvIMiw/pF4lN JDECpe4bG3eIY=; b=b8ln9W1IkRz25agHE9aPLQECqTbBb7jx+yf0xXjofKEQIR qbjievjBs0zGwX3oXh2GtkRqaseLEFWQ22+1acVkKPqI+ArZ6w+7DoQ79WJ3XP9n PHqj7hsnNswJyA2uPpeCajqBMozs11oW0P9XFOJdDwEGMXqH7zb7vVfKxAlRw=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a67.g.dreamhost.com (Postfix) with ESMTPA id 4353F27BC069; Fri, 1 May 2015 14:30:57 -0700 (PDT)
Date: Fri, 01 May 2015 16:30:56 -0500
From: Nico Williams <nico@cryptonector.com>
To: Nathaniel McCallum <npmccallum@redhat.com>
Message-ID: <20150501213055.GD10065@localhost>
References: <1430138754.2682.10.camel@redhat.com> <553FA2B3.8030301@mit.edu> <alpine.GSO.1.10.1504281531500.22210@multics.mit.edu> <20150501211503.GA10065@localhost> <1430515138.2514.10.camel@redhat.com> <20150501212321.GC10065@localhost> <1430515623.2514.16.camel@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1430515623.2514.16.camel@redhat.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/e9QZsUlRrqCMY06R83Oo4cLd1-0>
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: Fri, 01 May 2015 21:30:58 -0000

On Fri, May 01, 2015 at 05:27:03PM -0400, Nathaniel McCallum wrote:
> On Fri, 2015-05-01 at 16:23 -0500, Nico Williams wrote:
> > It doesn't seem like overkill to me.  Unless the property that an
> > attacker can't distinguish which factor was wrong is not that
> > important.
> > 
> > Note that AS implementations could just always send continuations as
> > EncryptedData, leaking that way.  What I want is for it to be
> > possible to implement an AS that doesn't leak.
> 
> I don't think that is possible. The cost for sending data in the clear
> to avoid leaking EncryptedData is the loss of integrity protection.

Any OTPs that require continuation then result in this leak.  This has
to be documented, since avoiding this leak is a core feature of this
protocol.

Nico
--