[hybi] [Technical Errata Reported] RFC6455 (3150)

RFC Errata System <rfc-editor@rfc-editor.org> Wed, 07 March 2012 19:17 UTC

Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id D6F5B11E807F for <hybi@ietfa.amsl.com>; Wed, 7 Mar 2012 11:17:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.409
X-Spam-Status: No, score=-103.409 tagged_above=-999 required=5 tests=[AWL=1.191, BAYES_00=-2.599, GB_I_LETTER=-2, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id 1V8krzCxibKp for <hybi@ietfa.amsl.com>; Wed, 7 Mar 2012 11:17:23 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1890:123a::1:2f]) by ietfa.amsl.com (Postfix) with ESMTP id 727D411E8072 for <hybi@ietf.org>; Wed, 7 Mar 2012 11:17:23 -0800 (PST)
Received: by rfc-editor.org (Postfix, from userid 30) id B5D1262179; Wed, 7 Mar 2012 11:17:13 -0800 (PST)
To: ifette+ietf@google.com, Alexey.Melnikov@isode.com, presnick@qualcomm.com, stpeter@stpeter.im, Salvatore.Loreto@ericsson.com, Gabriel.Montenegro@microsoft.com
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20120307191713.B5D1262179@rfc-editor.org>
Date: Wed, 07 Mar 2012 11:17:13 -0800
Cc: hybi@ietf.org, robertm-cooppith@stackframe.com, rfc-editor@rfc-editor.org
Subject: [hybi] [Technical Errata Reported] RFC6455 (3150)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Mar 2012 19:17:24 -0000

The following errata report has been submitted for RFC6455,
"The WebSocket Protocol".

You may review the report below and at:

Type: Technical
Reported by: Robert Munyer <robertm-cooppith@stackframe.com>

Section: 4.1

Original Text

Corrected Text

The "test vector" for Sec-WebSocket-Key encoding, provided in RFC 6455 section 4.1, is wrong.  It was processed by a base 64 encoder that was "improperly implemented" as mentioned in RFC 4648 section 3.5.  Pad bits were not set to zero, which is a "MUST" requirement in RFC 4648, and was also required by many other RFCs, going back to RFC 989 in the 1980s.  In the string "AQIDBAUGBwgJCgsMDQ4PEC==", the final C should be changed to A.

In a Sec-WebSocket-Key header sent by a properly implemented client, the last letter will always be A, Q, g or w.

This errata 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 (IESG)
can log in to change the status and edit the report, if necessary. 

RFC6455 (draft-ietf-hybi-thewebsocketprotocol-17)
Title               : The WebSocket Protocol
Publication Date    : December 2011
Author(s)           : I. Fette, A. Melnikov
Category            : PROPOSED STANDARD
Source              : BiDirectional or Server-Initiated HTTP
Area                : Applications
Stream              : IETF
Verifying Party     : IESG