Re: [hybi] About authentication mechanism

John Tamplin <jat@google.com> Wed, 29 June 2011 08:47 UTC

Return-Path: <jat@google.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 3911121F8698 for <hybi@ietfa.amsl.com>; Wed, 29 Jun 2011 01:47:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.676
X-Spam-Level:
X-Spam-Status: No, score=-105.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DnqOLb6XQ16B for <hybi@ietfa.amsl.com>; Wed, 29 Jun 2011 01:47:47 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 3C8D221F8696 for <hybi@ietf.org>; Wed, 29 Jun 2011 01:47:47 -0700 (PDT)
Received: from kpbe18.cbf.corp.google.com (kpbe18.cbf.corp.google.com [172.25.105.82]) by smtp-out.google.com with ESMTP id p5T8ljIM002304 for <hybi@ietf.org>; Wed, 29 Jun 2011 01:47:46 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1309337266; bh=aX8A8lCY2zDzCYqN3pkLM23Sy0k=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pnWU6TkhKmH/HdDzF2+o6PgowB6y8jZvjeqeycc786+6nJzCYAScgPIcw8+8TWSqC sa+rzD17hBGJD1L2ic0tA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type:x-system-of-record; b=E6Za/Pu/stn4p+Ps3iM+ihAA4V1wCPEG1x9IMbpODGCPk9GgAAkcag69yTJQweZcX +keYppAtXZUBzSl+fSVNA==
Received: from gxk7 (gxk7.prod.google.com [10.202.11.7]) by kpbe18.cbf.corp.google.com with ESMTP id p5T8lYNB025651 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Wed, 29 Jun 2011 01:47:44 -0700
Received: by gxk7 with SMTP id 7so474639gxk.7 for <hybi@ietf.org>; Wed, 29 Jun 2011 01:47:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=IdLiTDJ8CJNlGUGvdxMRkKJ93dAZpHSXZr11zcSkePE=; b=MWiF7z5S1yuL07DMjp3rE1TiQDWBbpF3wtVsvvNA5S33YMDiDWwMPeMOAd3Ipt5o0I sBYHQiCZjCmD/IKoXFZg==
Received: by 10.150.73.26 with SMTP id v26mr474519yba.59.1309337264138; Wed, 29 Jun 2011 01:47:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.49.7 with HTTP; Wed, 29 Jun 2011 01:47:23 -0700 (PDT)
In-Reply-To: <CALiegfkcnUHbYB6MeQw3Vp+OadA-drUjWHqfjzrtd2Tp1VQCJA@mail.gmail.com>
References: <BANLkTinerv=Ua4d-ma+uPVJjF95U1U5iXg@mail.gmail.com> <BANLkTin4mWJgQm+pfyYRs_RhRkdMBfY_Og@mail.gmail.com> <BANLkTiksptqmTWftg7Ur98QQnp22QV7OLA@mail.gmail.com> <BANLkTimw8T4pZieBeCjaPQJ8oYWfbTjkmg@mail.gmail.com> <BANLkTikOzzHF1dGz-2-UwTC0kb2ZQd_0Jw@mail.gmail.com> <BANLkTimCTTCU4UFA7JFuBvDZSFv++UyGCA@mail.gmail.com> <BANLkTinWnTxkCh9BM_utX0=pxzE02DypuA@mail.gmail.com> <BANLkTi=LEOyhagpGZF9gTyLxGuqv5U64wmO_afwaw=eR=pVcPw@mail.gmail.com> <BANLkTinGb38bLyH20Q-QaP2jeDCfgYvENw@mail.gmail.com> <CABLsOLD-EWb=pQ33c9FSU3cu0JTGS5mc2-e5-oq-skfp7rzQhA@mail.gmail.com> <CALiegfnfWwqtWqHZ5GUCWMNdWODnV+fHNhn+fxpL49KQ=Fs8Fw@mail.gmail.com> <BANLkTi=CHoqCaTpBUyjokotR6F6tcfajcNedwQg0_ge0JRUYNQ@mail.gmail.com> <CALiegf=Y-kWG7piRnbDtKeh7Edj11OtQqHVCUq4N2_D1pXG8Qw@mail.gmail.com> <BANLkTim++ywp3fCM8YXuRkH41pUOLqbJZt1JhVdpdUcbJkaVmQ@mail.gmail.com> <CALiegfm8aCsnav51DC=h4DmH+F0DAJUk69D4bbv_0GtvDjw3tw@mail.gmail.com> <CABLsOLB17_BVH+mGG4PCvMo8hWSfc=BvuNgq8Rcbo5Mxm6k7Zg@mail.gmail.com> <CALiegfkcnUHbYB6MeQw3Vp+OadA-drUjWHqfjzrtd2Tp1VQCJA@mail.gmail.com>
From: John Tamplin <jat@google.com>
Date: Wed, 29 Jun 2011 04:47:23 -0400
Message-ID: <CABLsOLCDq_Hs6eLuouPQrjzZ9NwBKt=jGDyVmAhq9ttWSngv5w@mail.gmail.com>
To: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
Content-Type: multipart/alternative; boundary=000e0cd598ca852afe04a6d5d6f2
X-System-Of-Record: true
Cc: hybi@ietf.org, Greg Wilkins <gregw@intalio.com>
Subject: Re: [hybi] About authentication mechanism
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, 29 Jun 2011 08:47:48 -0000

On Wed, Jun 29, 2011 at 4:41 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

> Hi John. Thanks for your response. Anyhow it seems I must repeat many
> times the same in this same thread:


I feel the same way, and this is my last response.


>  A web server returns an HTML page in which the user can fill his
> credentials and
> so (a form). But in WebSocket, how to do that? when you connect to a
> WebSocket
> server you don't receive a custom HTML or a form to login, instead you
> recibe from the server some WS message containing a subprotocol
> request (which is supposed to be custom in each subprotocol). How to
> render that to the user?


Some JS code is making a WS request.  It can use whatever mechanism it wants
for obtaining the credentials from the user, and send them over the WS
connection.


> And since WWW is a jungle you are making a new jungle. There are many
> protocols in which authentication is not a jungle, why not copy from
> them instead of copying from WWW?


Feel free to suggest something that has broad consensus.  I haven't heard
any such suggestion, nor have I heard anyone else beside you clamoring for
it.

-- 
John A. Tamplin
Software Engineer (GWT), Google