Re: Poll: pure SCRAM versa SCRAM-as-GS2
Chris Newman <Chris.Newman@sun.com> Thu, 19 February 2009 00:34 UTC
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ED61328C1E2 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 18 Feb 2009 16:34:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.046
X-Spam-Level:
X-Spam-Status: No, score=-6.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0QvCnu7UGU5u for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 18 Feb 2009 16:34:57 -0800 (PST)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 9CDE128C1E4 for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 18 Feb 2009 16:34:30 -0800 (PST)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n1J0Qt9k081459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Feb 2009 17:26:55 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n1J0QtqJ081458; Wed, 18 Feb 2009 17:26:55 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-es-mail-1.sun.com (sca-es-mail-1.Sun.COM [192.18.43.132]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n1J0Qhn9081450 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 18 Feb 2009 17:26:54 -0700 (MST) (envelope-from Chris.Newman@Sun.COM)
Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n1J0QVET017394 for <ietf-sasl@imc.org>; Wed, 18 Feb 2009 16:26:43 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-disposition: inline
Content-type: text/plain; format="flowed"; charset="us-ascii"
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 23 2008)) id <0KFA00C00EA26S00@fe-sfbay-10.sun.com> for ietf-sasl@imc.org; Wed, 18 Feb 2009 16:26:30 -0800 (PST)
Received: from [10.1.110.5] ([unknown] [10.1.110.5]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 23 2008)) with ESMTPSA id <0KFA005IIEJVQ1E0@fe-sfbay-10.sun.com>; Wed, 18 Feb 2009 16:26:21 -0800 (PST)
Date: Wed, 18 Feb 2009 16:26:19 -0800
From: Chris Newman <Chris.Newman@sun.com>
Subject: Re: Poll: pure SCRAM versa SCRAM-as-GS2
In-reply-to: <498B569C.7070400@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, SASL WG <ietf-sasl@imc.org>
Message-id: <77521CD8A69FA47CD08FBB83@446E7922C82D299DB29D899F>
X-Mailer: Mulberry/4.0.8 (Mac OS X)
References: <498B569C.7070400@isode.com>
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>
I have evaluated both specifications in detail and reviewed the list traffic. Brief conclusions: Given a choice between these two approaches I oppose auth-scram-gs2-00.txt and support auth-scram-09.txt. However, I believe the WG should evaluate the proposal Nico made on 2/17. The crux of that proposal is to change GS2 to remove support for SASL security layers and remove use of the GSS_Wrap function (which adds the unnecessary hash operation). Doing so is likely to simplify auth-scram-gs2 to the point where I would be comfortable with that approach. Technical basis for my position: I recognize some benefit from having a GSSAPI implementation of SCRAM visible through a GS2 SASL mechanism interoperate with a pure SASL SCRAM implementation. However, if there were separate GSSAPI SCRAM and SASL SCRAM mechanisms, I believe implementers would make them interoperate when it was important to do so, just as some SASL implementers have supported non-standard SASL mechanisms like LOGIN, GSS-SPNEGO, and NTLM. So I consider that benefit to be "modest". The present formulation of auth-scram-gs2-00 is significantly more complex than auth-scram-09 (ABNF is roughly twice the size). This additional complexity provides no _functionality_ improvements over scram-08 but requires additional hash-function computation and verification, extra binary encoding, and additional escaping. The additional hash-function computation, in particular, has a non-obvious function and the mechanism would appear to work fine in most cases (succeeding with valid password, failing with invalid password) if an implementer simply chose not to verify the additional hash. That creates a new opportunity for a security vulnerability in auth-scram-gs2 that does not exist in auth-scram. That's over and above the additional security vulnerably risk from the necessarily larger code quantity. So I consider the interop benefit to be outweighed by the security risk. Further, I consider the need to have SCRAM supplant CRAM and DIGEST a higher priority than making SCRAM compatible with GS2. The overall additional complexity of auth-scram-gs2-00 puts that primary goal in significant jeopardy to achieve what I consider a secondary goal. That tradeoff is not acceptable to me. If I understand Nico's proposal on 2/17 correctly, it could simplify the difference between auth-scram-09 and auth-scram-gs2 to just a blob at the beginning of the first client message. If it's possible to do that, then I would support doing so. - Chris --On February 5, 2009 21:14:04 +0000 Alexey Melnikov <alexey.melnikov@isode.com> wrote: > > Folks, > I would like to solicit feedback from people regarding the choice between > 2 SCRAM versions: > http://tools.ietf.org/id/draft-newman-auth-scram-08.txt > and > http://tools.ietf.org/id/draft-newman-auth-scram-gs2-00.txt > > You can use the following URL to see changes between them: > http://tools.ietf.org//rfcdiff?url1=http://tools.ietf.org/id/draft-newman > -auth-scram-08.txt&url2=http://tools.ietf.org/id/draft-newman-auth-scram- > gs2-00.txt > > Please send your opinion on which version you prefer (and a short > explanation of why) to the mailing list, or say if you need more > information. > > I would like to get all answers before February 19th, please.
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Lyndon Nerenberg
- Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Matthew A. Miller
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Love Hörnquist Åstrand
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 ned+ietf-sasl
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Simon Josefsson
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Jeffrey Hutzelman
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- RE: Poll: pure SCRAM versa SCRAM-as-GS2 Paul Leach
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 ned+ietf-sasl
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- SASL interop event (was Re: Poll: pure SCRAM vers… Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: SASL interop event (was Re: Poll: pure SCRAM … Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: SASL interop event (was Re: Poll: pure SCRAM … Peter Saint-Andre
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: SASL interop event (was Re: Poll: pure SCRAM … Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Dave Cridland
- Re: SASL interop event (was Re: Poll: pure SCRAM … Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Peter Saint-Andre
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Hallvard B Furuseth
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Kurt Zeilenga
- Re: SASL interop event (was Re: Poll: pure SCRAM … Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Nicolas Williams
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Jeffrey Hutzelman
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Jeffrey Hutzelman
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Chris Newman
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 ned+ietf-sasl
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Arnt Gulbrandsen
- Re: Poll: pure SCRAM versa SCRAM-as-GS2 Alexey Melnikov