Re: HTTP2 Expression of Interest

Phillip Hallam-Baker <hallam@gmail.com> Fri, 13 July 2012 05:38 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5E6921F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:38:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.109
X-Spam-Level:
X-Spam-Status: No, score=-8.109 tagged_above=-999 required=5 tests=[AWL=2.490, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 S0hIARy1zeJA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:38:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C1AF21F84FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 22:38:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpYZO-0000pf-0D for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 05:37:38 +0000
Resent-Date: Fri, 13 Jul 2012 05:37:38 +0000
Resent-Message-Id: <E1SpYZO-0000pf-0D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpYZG-0000oO-9P for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 05:37:30 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpYZE-0001Ro-VE for ietf-http-wg@w3.org; Fri, 13 Jul 2012 05:37:30 +0000
Received: by vbbfq11 with SMTP id fq11so2242424vbb.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 22:37:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jLwEU56V9JMWBqqjACKV6LB6CQNq6I9mTXMf75gfA5A=; b=Q6a5Dv3w7fPa1Ofje9nOJ1BscxrdIQOsn7rX7Apu3EgoKuAxb9nrp8peCiplXyMuUj BuGpSTcYH3mTFASJ3vz7PaI7lTftBiUzKjIOjwzXj5gAz7ccWEcTOmKaIsq2ivJPl/Jl AaZaS0Dsfftt5EYE9gPNhzvVVOFjpe16ljeGSKGsCROY7pny71vXkyND5gw2ayz1FLTr WFjv5OfRxddeatQR++wLqwAIcDfNrEEWmzNh7eSNSJg0Yq/ve9v2I+AQ+qUROTKNknXR 6HMRPOdpd6v97xX4LKAKKOa2+cBcM9cRxLa99L8mnnaMd+iboI5RSGzzIXm2zdhoH8B7 +nmw==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr413321vdc.101.1342157822868; Thu, 12 Jul 2012 22:37:02 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 12 Jul 2012 22:37:02 -0700 (PDT)
In-Reply-To: <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com>
Date: Fri, 13 Jul 2012 01:37:02 -0400
Message-ID: <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="ISO-8859-1"
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpYZE-0001Ro-VE 3600667310255bbd082f6ecb047fc7ce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14127
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I really dislike the idea of having a platform inside a platform

TLS is way too big for comfort. GSSAPI has mechanism on mechanism.


I don't want a choice of fifty ways to authenticate. I want exactly
one mechanism to support each type of authentication. I certainly
don't want a choice of crypto protocols to verify passwords. In fact I
don't want passwords to be flowing over the net at all. The proper use
of a password is to unlock the user's credential on their
authentication device.

SAML and OAUTH and the rest already define an interaction with HTTP.
If we want to adopt those as mechanisms we should adopt them directly
into HTTP and not introduce a platform step.

But even there we should not accept the whole of either spec. Much of
the argument in SAML went into the design of a mechanism that could be
used with legacy Web browsers. Same for OAUTH. Now it will certainly
be necessary to consider how we transition to HTTP 2.0 but I would
want to jettison the entire transition structure once we get there.


But really we have a much smaller set of concerns. In particular we
should distinguish between the different things that are called
'authentication' and we should not incorporate any mechanism into the
spec that is incompletely specified. By which I mean relying on out of
band configuration or exchange of credentials.

Specifically we have the following activities that are all known as
'authentication':

CREDENTIAL-Authentication Is this the user claiming to be the owner of
account 'X' the same user who was issuedaccount 'X'

RE-Authentication: Is this the same user that authenticated previously?

FED-Authentication: Is the user claiming to be acct:user@example.com
the same user that other sites accept as acct:user@example.com


Now credential authentication is a strict subset of the federated case
so it may not be desirable to distinguish the two on an ongoing basis
but RE-Authentication is something rather different.



On Fri, Jul 13, 2012 at 1:16 AM, Nico Williams <nico@cryptonector.com> wrote:
> On Thu, Jul 12, 2012 at 9:22 PM, Paul Hoffman <paul.hoffman@gmail.com> wrote:
>> draft-williams-rest-gss relies on GSSAPI, which has thin adoption even
>> after many years. [...]
>
> If you consider that the SSPI is very similar to the GSS-API, and
> wire-compatible with it anyways, then that assertion is quite clearly
> incorrect.  SSPI is extremely widely used, both in proprietary
> application protocols and standard ones (including TLS, since SSPI is
> the interface to TLS in Windows).
>
> The GSS-API has had a dearth of mechanisms for it deployed, but this
> is beginning to change.  We now have all of these standardized and/or
> deployed:
>
>  - Kerberos (including IAKERB)
>  - GSS-EAP (see ABFAB WG)
>  - SCRAM
>  - Microsoft's PKU2U (PKI, based on Kerberos w/ PKINIT)
>  - the GSI mechanism that is really just TLS repackaged as GSS
>
>    (See again how SSPI is the interface to TLS in Windows.
>     It's also the interface to SASL.)
>
>  - OAuth and SAML-based mechanisms are in the works as well.
>
> It's easy enough to add new GSS-API mechanisms, but between GSS-EAP,
> Kerberos (particularly with trust routing and bootstrapping
> enhancements), PKU2U, OAuth, and SAML I think we have most needs
> covered.  A ZKPP mechanism or three should be added, but unless that's
> done in a way that federates then I think it's best to make sure that
> GSS-EAP can use ZKPP EAP methods and Kerberos can use ZKPP
> pre-authentication mechanisms.
>
> The biggest Internet protocol users of the GSS-API are SSHv2 (yes,
> really, SSHv2 w/ GSS and Kerberos is widely deployed in corporate
> networks), LDAP (see again Windows), and NFS.  But also IMAP (see
> Exchange), DNS (GSS-TSIG, see Active Directory and Windows) and
> others.  There's also widely deployed non-Internet standards-track
> protocols, such as SMB, as well as many proprietary protocols.  And
> then there's HTTP/Negotiate -- how could I forget!  (though to be sure
> I don't really like HTTP/Negotiate, otherwise I might just have
> proposed that.)
>
> Nico
> --
>



-- 
Website: http://hallambaker.com/