Re: [hybi] Authentication headers

Greg Wilkins <gregw@webtide.com> Thu, 22 July 2010 01:03 UTC

Return-Path: <gregw@webtide.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AE8323A6951 for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 18:03:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.816
X-Spam-Level:
X-Spam-Status: No, score=-1.816 tagged_above=-999 required=5 tests=[AWL=0.160, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
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 NafvSKK+iNdq for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 18:03:58 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id A6AF13A6838 for <hybi@ietf.org>; Wed, 21 Jul 2010 18:03:57 -0700 (PDT)
Received: by fxm1 with SMTP id 1so4378334fxm.31 for <hybi@ietf.org>; Wed, 21 Jul 2010 18:04:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.122.148 with SMTP id l20mr1085792far.84.1279760653985; Wed, 21 Jul 2010 18:04:13 -0700 (PDT)
Received: by 10.223.112.129 with HTTP; Wed, 21 Jul 2010 18:04:13 -0700 (PDT)
In-Reply-To: <AANLkTil1Y2HtE6yophn8uNznJTPAFNx_jiKlIqPt6p-z@mail.gmail.com>
References: <AANLkTimo9g4Tvzd1RekVXKtTpOhRz58jr7VLqhS-Wrdf@mail.gmail.com> <Pine.LNX.4.64.1007210653190.7242@ps20323.dreamhostps.com> <AANLkTinMjVTaAf3F9HShN2zTfSMNnH-apirBjtR_22sF@mail.gmail.com> <AANLkTil1Y2HtE6yophn8uNznJTPAFNx_jiKlIqPt6p-z@mail.gmail.com>
Date: Thu, 22 Jul 2010 11:04:13 +1000
Message-ID: <AANLkTinxZXZ9CvwkGv74vV9frqlMyOKdp4JkZU3a2qG_@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: Wellington Fernando de Macedo <wfernandom2004@gmail.com>
Content-Type: multipart/alternative; boundary="001636c5a4a62da773048bef7f34"
Cc: hybi@ietf.org
Subject: Re: [hybi] Authentication headers
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 22 Jul 2010 01:03:58 -0000

On 22 July 2010 10:07, Wellington Fernando de Macedo <
wfernandom2004@gmail.com> wrote:

> > Also, it isn't true. Again, all available Mozilla's http authentication
> (like digest) work with websocket.
>
> Well, I said something wrong... Actually digest with websockets just works
> when connecting to the proxy.
> Sorry.
>

It might happen to work, but according to the current specification it
should not work because:

 a) the additional headers required are not allowed
 b) the response challenge with the nonce is not allowed

of course browsers already have all this machinery implemented, so I would
not be surprised if it inadvertently worked .

cheers