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

Benjamin Kaduk <kaduk@mit.edu> Sun, 09 September 2018 14:23 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 116F21277C8 for <http-auth@ietfa.amsl.com>; Sun, 9 Sep 2018 07:23:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-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 3Od97uJd4bb5 for <http-auth@ietfa.amsl.com>; Sun, 9 Sep 2018 07:23:52 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (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 7CDA0124D68 for <http-auth@ietf.org>; Sun, 9 Sep 2018 07:23:52 -0700 (PDT)
X-AuditID: 1209190d-2cdff7000000560d-86-5b952cf6d8c2
Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id BE.CF.22029.7FC259B5; Sun, 9 Sep 2018 10:23:51 -0400 (EDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id w89ENnPS025574; Sun, 9 Sep 2018 10:23:49 -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 w89ENh9J007255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 9 Sep 2018 10:23:46 -0400
Date: Sun, 9 Sep 2018 09:23:43 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: RFC Errata System <rfc-editor@rfc-editor.org>, ekr@rtfm.com, ynir.ietf@gmail.com, rifaat.ietf@gmail.com, poccil14@gmail.com, http-auth@ietf.org
Message-ID: <20180909142343.GU73164@kduck.kaduk.org>
References: <20180908135146.08ECDB82672@rfc-editor.org> <eb57caf6-d915-607c-e328-76fa3470bd10@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <eb57caf6-d915-607c-e328-76fa3470bd10@isode.com>
User-Agent: Mutt/1.9.1 (2017-09-22)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAKsWRmVeSWpSXmKPExsUixCmqrftdZ2q0wdV7nBYzVhdZrHh9jt3i w/45TBZnFr1ksWja/5XNYueLVjaLpcc+MDmwe+ycdZfdY8mSn0wep5oNPRrajrF6TH7cxhzA GsVlk5Kak1mWWqRvl8CVMaVPsOC0RMXmuyuZGxgfCHUxcnJICJhIzJ99m7WLkYtDSGAxk8Tf DdvZIJwNjBKrNr9khnCuMEmc/3eBBaSFRUBF4svhFnYQmw3Ibui+zAxiiwjoS6x+NYsFpIFZ YCmjxPMjR8AahAXMJTYt+wJUxMHBC7Rv0txwEFNIIEviSaMXSAWvgKDEyZlPwKqZBbQkbvx7 yQRSwiwgLbH8HweIySlgK3H+KFi1qICyxN6+Q+wTGAVmIWmehaR5FkLzAkbmVYyyKblVurmJ mTnFqcm6xcmJeXmpRbpGermZJXqpKaWbGMHBLsm7g/HfXa9DjAIcjEo8vAWcU6KFWBPLiitz DzFKcjApifLm6E+OFuJLyk+pzEgszogvKs1JLT7EKMHBrCTCy10LVM6bklhZlVqUD5OS5mBR Euc9qwvUJpCeWJKanZpakFoEk5Xh4FCS4L2qPTVaSLAoNT21Ii0zpwQhzcTBCTKcB2i4KDA5 CPEWFyTmFmemQ+RPMRpzPGnumcTM8ef91EnMQix5+XmpUuK8nCClAiClGaV5cNNACUsie3/N K0ZxoOeEIQbyAJMd3LxXQKuYgFatOw/yR3FJIkJKqoGRizWlf1bZ2eLKyjvPY5ed+HQnW/XA GWe5Ixmeh2cbf/ZWPqLhaqWdVViVfWX7939an1+Zq+18ef3dr7LQKxyT9obFGz/dk/XXtVLN a6VPyHFJV5Mo3cj0RUrrtoZziucem5BjzLOFv/sCy6QtE+/vm3+qZs2XWdu6hIv2HPYzCWc0 fRoQ+0dbiaU4I9FQi7moOBEAx6V0EjMDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/http-auth/Fm_IVteQpzcHOjF3x0ql_-RSn2Y>
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: Sun, 09 Sep 2018 14:23:54 -0000

Though now that I go to actually verify it...

On Sat, Sep 08, 2018 at 09:51:15PM +0100, Alexey Melnikov wrote:
> This looks correct to me.
> 
> On 08/09/2018 14:51, 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].

... perhaps it would be better to avoid the double-negative and fencepost
questions by saying """or only allow the use of Unicode codepoints ranging
from U+0020 to U+007E (inclusive) in "str"."""

-Benjamin

> > 
> > 
> > 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
> > 
>