Re: [http-auth] [Technical Errata Reported] RFC7804 (5496)

Benjamin Kaduk <kaduk@mit.edu> Sat, 08 September 2018 18:29 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: http-auth@ietfa.amsl.com
Delivered-To: http-auth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C9E1130E3D for <http-auth@ietfa.amsl.com>; Sat, 8 Sep 2018 11:29:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 fvXKYZqJYOYA for <http-auth@ietfa.amsl.com>; Sat, 8 Sep 2018 11:29:25 -0700 (PDT)
Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu [18.7.68.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79851130E37 for <http-auth@ietf.org>; Sat, 8 Sep 2018 11:29:25 -0700 (PDT)
X-AuditID: 12074424-cf9ff70000002309-29-5b941501ca99
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 47.96.08969.205149B5; Sat, 8 Sep 2018 14:29:22 -0400 (EDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id w88ITGcd021602; Sat, 8 Sep 2018 14:29:17 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id w88ITAoX021152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Sep 2018 14:29:13 -0400
Date: Sat, 08 Sep 2018 13:29:10 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: alexey.melnikov@isode.com, ekr@rtfm.com, ynir.ietf@gmail.com, rifaat.ietf@gmail.com, poccil14@gmail.com, http-auth@ietf.org
Message-ID: <20180908182910.GR73164@kduck.kaduk.org>
References: <20180908135146.08ECDB82672@rfc-editor.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20180908135146.08ECDB82672@rfc-editor.org>
User-Agent: Mutt/1.9.1 (2017-09-22)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEKsWRmVeSWpSXmKPExsUixG6nrsskOiXa4N0xU4sZq4ssVrw+x27x Yf8cJoszi16yWDTt/8pmsfNFK5vF0mMfmBzYPXbOusvusWTJTyaPU82GHg1tx1g9Jj9uYw5g jeKySUnNySxLLdK3S+DKuHdoE1PBY9GKs5+XsTQwPhXoYuTkkBAwkdj86jpLFyMXh5DAYiaJ 9R9nQTkbGCU+7LoJ5VxhkljRcJoFpIVFQEVi1dI2MJsNyG7ovswMYosIGEocXPSWHaSBWaCD UWLVkXdgCWEBc4lNy74A2RwcvED7Wub5gphCQOHdc2RBKngFBCVOznwCNpJZQEvixr+XTCAl zALSEsv/cYCEOQUsJDobfzGB2KICyhJ7+w6xT2AUmIWkexaS7lkI3QsYmVcxyqbkVunmJmbm FKcm6xYnJ+blpRbpmuvlZpbopaaUbmIEB7yLyg7G7h7vQ4wCHIxKPLwnuKdEC7EmlhVX5h5i lORgUhLlzdGfHC3El5SfUpmRWJwRX1Sak1p8iFGCg1lJhPf8d6Acb0piZVVqUT5MSpqDRUmc 97wuUEogPbEkNTs1tSC1CCYrw8GhJMFbJQy0R7AoNT21Ii0zpwQhzcTBCTKcB2h4MkgNb3FB Ym5xZjpE/hSjMceT5p5JzBx/3k+dxCzEkpeflyoFtAykVACkNKM0D24aKGlJZO+vecUoDvSc MO9JkCoeYMKDm/cKaBUT0CphPZA/iksSEVJSDYzGm1e93XDHmWPu8ifluzXzxAvv6p0QyX3f rS0Ud+NZdfyTtW+Kr30Qupz3i/luuKTCcXajCe8v9rbuONq2XsU/W8qoQX/N91v1kgne827G 2ZnWb6/bOvn4ey7BU612k0zsEnaVOL86rVVfNvPE9v8/+/SfpnDL5Lis++b7eIus2xmZn2uC ksuUWIozEg21mIuKEwGrY4JNNQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/http-auth/0d7uFsdqb-Yo5Ob2wJGEx8u4LiE>
Subject: Re: [http-auth] [Technical Errata Reported] RFC7804 (5496)
X-BeenThere: http-auth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: HTTP authentication methods <http-auth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/http-auth>, <mailto:http-auth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/http-auth/>
List-Post: <mailto:http-auth@ietf.org>
List-Help: <mailto:http-auth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-auth>, <mailto:http-auth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Sep 2018 18:29:28 -0000

I'd like to hear from Alexey before I do anything to this, but
this seems correct on first look.

-Ben

On Sat, Sep 08, 2018 at 06:51:46AM -0700, RFC Errata System wrote:
> The following errata report has been submitted for RFC7804,
> "Salted Challenge Response HTTP Authentication Mechanism".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5496
> 
> --------------------------------------
> Type: Technical
> Reported by: Peter Occil <poccil14@gmail.com>
> 
> Section: 2.2
> 
> Original Text
> -------------
>    o  Normalize(str): Apply the Preparation and Enforcement steps
>       according to the OpaqueString profile (see [RFC7613]) to a UTF-8
>       [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>       Note that implementations MUST either implement OpaqueString
>       profile operations from [RFC7613] or disallow the use of non
>       US-ASCII Unicode codepoints in "str".  The latter is a particular
>       case of compliance with [RFC7613].
> 
> 
> Corrected Text
> --------------
>    o  Normalize(str): Apply the Preparation and Enforcement steps
>       according to the OpaqueString profile (see [RFC7613]) to a UTF-8
>       [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>       Note that implementations MUST either implement OpaqueString
>       profile operations from [RFC7613] or disallow the use of Unicode 
>       codepoints not ranging from U+0020 to U+007E in "str".  The latter
>       is a particular case of compliance with [RFC7613].
> 
> 
> Notes
> -----
> Control code points (including the ASCII controls U+0000 to U+001F as well as U+007F) are disallowed in the PRECIS FreeformClass, which the OpaqueString profile uses.  Thus it's not enough to just disallow non-US-ASCII codepoints (rather than implement the full OpaqueString profile) to comply with a subset of the OpaqueString profile.
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party  
> can log in to change the status and edit the report, if necessary. 
> 
> --------------------------------------
> RFC7804 (draft-ietf-httpauth-scram-auth-15)
> --------------------------------------
> Title               : Salted Challenge Response HTTP Authentication Mechanism
> Publication Date    : March 2016
> Author(s)           : A. Melnikov
> Category            : EXPERIMENTAL
> Source              : Hypertext Transfer Protocol Authentication
> Area                : Security
> Stream              : IETF
> Verifying Party     : IESG