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

Alexey Melnikov <alexey.melnikov@isode.com> Fri, 23 March 2012 09:00 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67E0F21F84EB for <hybi@ietfa.amsl.com>; Fri, 23 Mar 2012 02:00:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TeDGcbAlWYyh for <hybi@ietfa.amsl.com>; Fri, 23 Mar 2012 02:00:49 -0700 (PDT)
Received: from rufus.isode.com (cl-125.lon-03.gb.sixxs.net [IPv6:2a00:14f0:e000:7c::2]) by ietfa.amsl.com (Postfix) with ESMTP id 0905821F84B2 for <hybi@ietf.org>; Fri, 23 Mar 2012 02:00:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1332493243; d=isode.com; s=selector; i=@isode.com; bh=tUrNGcTziqDHfu/IZuqdRcP41OVNji1SAYaREOJmnZk=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=wI6tvYC7oCtaiTBfJQdRGPpdcJoFUAzsrUzYjdC9MUEVCzJLPiRMNZjE63dpFGGB+qgtD0 xYz4ONQwB3YZwv0tAGCijN+pIfyYPB4NBpiCACGeTUiu2Og9oUnoZ13fZDuZawExGH3ph7 rIPEQLS6UuekaB1ruiqUpC18l64Gp6M=;
Received: from [192.168.1.79] (191.49.12.93.rev.sfr.net [93.12.49.191]) by rufus.isode.com (submission channel) via TCP with ESMTPSA id <T2w7ugAikiWW@rufus.isode.com>; Fri, 23 Mar 2012 09:00:43 +0000
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <4F6C3BBB.1070904@isode.com>
Date: Fri, 23 Mar 2012 10:00:43 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: Peter Saint-Andre <stpeter@stpeter.im>, Takeshi Yoshino <tyoshino@google.com>
References: <20120307191713.B5D1262179@rfc-editor.org> <voufl79mefv6uso1j1a24o3bb8rheqohl6@hive.bjoern.hoehrmann.de> <4F57FD15.2030703@stpeter.im> <9fvfl7dc444d23n3539v6ep5a0kighhfjd@hive.bjoern.hoehrmann.de> <4F6A673A.2010403@stpeter.im> <CAH9hSJbHRBMcTbtrDcdypSiaM21nsQ=oO1-YQm5kzhaDanwqYA@mail.gmail.com> <4F6B6B6E.1030402@stpeter.im>
In-Reply-To: <4F6B6B6E.1030402@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: hybi@ietf.org, Bjoern Hoehrmann <derhoermi@gmx.net>
Subject: Re: [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: Fri, 23 Mar 2012 09:00:54 -0000

On 22/03/2012 19:11, Peter Saint-Andre wrote:
> On 3/21/12 10:50 PM, Takeshi Yoshino wrote:
>> On Thu, Mar 22, 2012 at 08:41, Peter Saint-Andre
>> <stpeter@stpeter.im<mailto:stpeter@stpeter.im>>  wrote:
>>
>> Alexey, can you verify that the example is incorrect?
>>
>>
>> +1 for the reported errata.
>>
>> RFC 4648 - Section 3.5 "These pad bits MUST be set to zero by
>> conforming encoders, which is described in the descriptions on
>> padding below." - Section 4 Paragraph 6 "When fewer than 24 input
>> bits are available in an input group, bits with value zero are
>> added (on the right) to form an integral number of 6-bit groups."
>>
>> Values for "EC" are 0b000100 0b000010 in binary. The last unused 4
>> bits 0010 must be 0000.
> Takeshi, thank you for checking. I shall process this erratum as
> "Verified".
This looks correct. Thank you Takeshi.