Re: [kitten] SPAKE Preauth

Greg Hudson <ghudson@mit.edu> Mon, 04 May 2015 15:31 UTC

Return-Path: <ghudson@mit.edu>
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 0AB421A7022 for <kitten@ietfa.amsl.com>; Mon, 4 May 2015 08:31:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 B7GfL79WgLxw for <kitten@ietfa.amsl.com>; Mon, 4 May 2015 08:31:23 -0700 (PDT)
Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu [18.9.25.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7408A1A1B9A for <kitten@ietf.org>; Mon, 4 May 2015 08:31:23 -0700 (PDT)
X-AuditID: 1209190e-f79a76d000000d1b-68-554790c95105
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id B1.2F.03355.AC097455; Mon, 4 May 2015 11:31:22 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id t44FVLr4027634; Mon, 4 May 2015 11:31:21 -0400
Received: from [18.101.8.98] (vpn-18-101-8-98.mit.edu [18.101.8.98]) (authenticated bits=0) (User authenticated as ghudson@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t44FVJf8025905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 4 May 2015 11:31:20 -0400
Message-ID: <554790C7.30801@mit.edu>
Date: Mon, 04 May 2015 11:31:19 -0400
From: Greg Hudson <ghudson@mit.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Ken Hornstein <kenh@pobox.com>, kitten@ietf.org
References: <20150504144005.AFB1A4D3E1@pb-smtp1.pobox.com>
In-Reply-To: <20150504144005.AFB1A4D3E1@pb-smtp1.pobox.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJIsWRmVeSWpSXmKPExsUixCmqrHtqgnuowbF3nBb9TcdZLI5uXsXi wOSxZMlPJo+Ll5QDmKK4bFJSczLLUov07RK4Mn71vmQreMBXsb8proHxI3cXIyeHhICJxMQ7 M9khbDGJC/fWs3UxcnEICSxmktjyYAIrhLOBUWJN/2dWkCohgQNMEh/n8YHYvAIqEj3vVzGC 2CwCqhIzLt0Es9kElCXW79/KAmKLCoRJTPv9nBWiXlDi5MwnQHEODhEBY4nfc8HGCAOVn311 ih1ivJXE1IUXwVo5Bawl9k/eCWYzC+hJ7Lj+ixXClpdo3jqbeQKjwCwkU2chKZuFpGwBI/Mq RtmU3Crd3MTMnOLUZN3i5MS8vNQiXWO93MwSvdSU0k2M4BCV5NvB+PWg0iFGAQ5GJR7eE6vc QoVYE8uKK3MPMUpyMCmJ8lqkuIcK8SXlp1RmJBZnxBeV5qQWH2KU4GBWEuHlaAHK8aYkVlal FuXDpKQ5WJTEeTf94AsREkhPLEnNTk0tSC2CycpwcChJ8Nr3ATUKFqWmp1akZeaUIKSZODhB hvMADZ/eDzK8uCAxtzgzHSJ/ilFRSpzXDyQhAJLIKM2D64WlkFeM4kCvCPMeA6niAaYfuO5X QIOZgAYfqHcBGVySiJCSamAUOsg8h6F6nXVD/92/DTqmjNLvjs6a+MBkm/P5sz/f9S725p8k 3HHo/7EcywlsLxnsypo+T3hw96L/a981UTuWLA3+Gsl1dX3+78safT/+9HPs13DpFhXd9NPG 7ccVxyCPD5t9bhocOrIiNlNLU8rqj+/bSNvILcLOssGfBC5q106Wls9ayXFXiaU4I9FQi7mo OBEAz186JvwCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/UPJUPziXEDAp2s_HYcZ_qQ5t_mw>
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 15:31:26 -0000

On 05/04/2015 10:40 AM, Ken Hornstein wrote:
>> Essentially, the answer is different whether OTP is supposed to be the
>> first (and only) authentication factor, or a second factor to be used in
>> conjunction with a password.

> See, I think you've got the question all wrong.  My question is NOT,
> "Is OTP supposed to be the only authentication factor?", it's, "Which
> protocol is it actually possible for me to deploy successfully?"

Deployability is a big motivator for SPAKE preauth.

I wasn't involved in the early stages of FAST OTP, but I believe it was
primarily trying to solve the problem of bridging between an OTP master
authentication server and the Kerberos protocol.  In a deployment where
the KDC has no user-specific shared secrets with the client, there needs
to be some way of establishing a confidential, server-authenticated
channel from the client to the KDC, so that the client can send the
PIN+OTP value to the KDC for verification against the OTP back end.
FAST allows that channel to be created using either a host keytab or an
X.509 KDC certificate (using anonymous PKINIT).

The big challenges of deploying FAST OTP as I see it are threefold:

* It is designed to replace rather than augment Kerberos long-term keys.

* At least in MIT krb5, we haven't added enough FAST support to the
upper layers of the get-init-creds stack to make it easy to deploy.

* Unless you can assume host keytabs on all of the clients, there's no
good way around the requirement to put an X.509 certificate on the KDC
and configuring all of the clients to trust its CA.

SPAKE preauth doesn't have these problems, but it does require you to
start with traditional Kerberos back-end database containing
string2key'd user passwords.  If you don't have that, and instead have
an OTP server with PINs, then FAST OTP may still be a better answer.