Re: [OAUTH-WG] auth-param syntax, was: OK to post OAuth Bearer draft 15?

William Mills <wmills@yahoo-inc.com> Tue, 03 January 2012 20:13 UTC

Return-Path: <wmills@yahoo-inc.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 555D921F8574 for <oauth@ietfa.amsl.com>; Tue, 3 Jan 2012 12:13:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.824
X-Spam-Level:
X-Spam-Status: No, score=-16.824 tagged_above=-999 required=5 tests=[AWL=0.774, BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_DEF_WHITELIST=-15]
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 Mpl+hJX81RKz for <oauth@ietfa.amsl.com>; Tue, 3 Jan 2012 12:13:49 -0800 (PST)
Received: from nm24-vm0.bullet.mail.sp2.yahoo.com (nm24-vm0.bullet.mail.sp2.yahoo.com [98.139.91.226]) by ietfa.amsl.com (Postfix) with SMTP id C5FBF21F853E for <oauth@ietf.org>; Tue, 3 Jan 2012 12:13:49 -0800 (PST)
Received: from [98.139.91.68] by nm24.bullet.mail.sp2.yahoo.com with NNFMP; 03 Jan 2012 20:13:45 -0000
Received: from [98.139.91.27] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 03 Jan 2012 20:13:45 -0000
Received: from [127.0.0.1] by omp1027.mail.sp2.yahoo.com with NNFMP; 03 Jan 2012 20:13:45 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 679780.29836.bm@omp1027.mail.sp2.yahoo.com
Received: (qmail 21476 invoked by uid 60001); 3 Jan 2012 20:13:45 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1325621624; bh=oxBK+zTuK+YQFl7JKdHGusNap/JRtDvgmqFktNkSFVg=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=rcpXtljbmcxNn1B4vHR6kXOVSkPoAGyAaG1nAKsffCU1Ex5V9buPjB24Xy/7Vx3+fQHfrIP3TZTVsxRtePbgjcZQ9NQa62nyVuvGwzWvrDILWqBWgCQUGj6qgUzQb+jdQQqS1AhFKaihVPa5s5bjEsmlvqV/UYxZ/rJkRuZhG/o=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ginc1024; d=yahoo-inc.com; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=TmoVLcoCdLjnXrwjhKIwGStxtXxFPQ+nWV1IxbZQT9yfiXk8FckNaZRNPwIcXWGPcnmRiU+KU0TyseQoB50NaP6wYfXWvk5z4Q4Hg+ygsTJHVtME7vzMnupGmlSA4HrMFXNybrw1Cv5RI+zCUr0Il4I13wUU/2KacnHqQ+7/3eM=;
X-YMail-OSG: _wa1v.UVM1lapopAyydyVJtse7NhODrF.Sb3g6e3go.IcFB cdlUEvfZg8avmN208l_B9dsVptVgdYstcpoDrkPaL11sYpUuKzwjZf6o55B3 4kJg03ha6a904EMVMIemdbx_DvrmIaUEI9OHygi2_a7z_GudQguFWDz29Gai RZCvwGP5mA7qPA_0g5I5U1QZd2aFfGNqP36L26pMhDHHFjI36seDdYrPczZ. Vby5UjafjKN1XyFtJZC9Zum8L5.LQYZARm4oWy3QxTQypbZJkIpWJjIVcA8D faGGEu1gkxfbU0WvOVLGmimL2X_WDS53MtYsIAil1gtQ05iq4ivn1EewHTsI iFCa4sRiZUplVaNROKu_1S1AIX92wnmjT2JXoUaYLaIMC31lRKehgVKfXwE_ w7dXYcXpA1KlwPr.F5mr0GuNvMtGkN7eNUQ--
Received: from [209.131.62.115] by web31808.mail.mud.yahoo.com via HTTP; Tue, 03 Jan 2012 12:13:44 PST
X-RocketYMMF: william_john_mills
X-Mailer: YahooMailWebService/0.8.116.331537
References: <4E1F6AAD24975D4BA5B16804296739435F763122@TK5EX14MBXC283.redmond.corp.microsoft.com> <F6FCE30E-20FE-4FCD-AC31-AB227A42F2D2@mnot.net> <4E1F6AAD24975D4BA5B16804296739435F772D1D@TK5EX14MBXC283.redmond.corp.microsoft.com> <4EEF13F1.7030409@gmx.de> <4E1F6AAD24975D4BA5B16804296739435F78F5BB@TK5EX14MBXC283.redmond.corp.microsoft.com> <4EFD91B4.5050904@gmx.de> <4E1F6AAD24975D4BA5B16804296739435F790386@TK5EX14MBXC283.redmond.corp.microsoft.com> <1325619340.463.YahooMailNeo@web31808.mail.mud.yahoo.com> <4E1F6AAD24975D4BA5B16804296739435F7936E7@TK5EX14MBXC283.redmond.corp.microsoft.com> <1325620772.48511.YahooMailNeo@web31802.mail.mud.yahoo.com> <4E1F6AAD24975D4BA5B16804296739435F79376F@TK5EX14MBXC283.redmond.corp.microsoft.com>
Message-ID: <1325621624.9908.YahooMailNeo@web31808.mail.mud.yahoo.com>
Date: Tue, 03 Jan 2012 12:13:44 -0800
From: William Mills <wmills@yahoo-inc.com>
To: Mike Jones <Michael.Jones@microsoft.com>, Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435F79376F@TK5EX14MBXC283.redmond.corp.microsoft.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="258328648-1814078502-1325621624=:9908"
Cc: Mark Nottingham <mnot@mnot.net>, Barry Leiba <barryleiba@computer.org>, OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] auth-param syntax, was: OK to post OAuth Bearer draft 15?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: William Mills <wmills@yahoo-inc.com>
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jan 2012 20:13:51 -0000

http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-11.2.2 certainly has these as predefined registered parameters.  If the definition there isn't strong enough, or in that spec, we should fix that.  That is where these should be defined.



________________________________
 From: Mike Jones <Michael.Jones@microsoft.com>
To: William Mills <wmills@yahoo-inc.com>; Julian Reschke <julian.reschke@gmx.de> 
Cc: Mark Nottingham <mnot@mnot.net>; Barry Leiba <barryleiba@computer.org>; OAuth WG <oauth@ietf.org> 
Sent: Tuesday, January 3, 2012 12:00 PM
Subject: RE: [OAUTH-WG] auth-param syntax, was:  OK to post OAuth Bearer draft 15?
 

 
The core spec doesn’t include these parameters.
 
From:William Mills [mailto:wmills@yahoo-inc.com] 
Sent: Tuesday, January 03, 2012 12:00 PM
To: Mike Jones; Julian Reschke
Cc: Mark Nottingham; Barry Leiba; OAuth WG
Subject: Re: [OAUTH-WG] auth-param syntax, was: OK to post OAuth Bearer draft 15?
 
Why is Bearer dealing with this at all?  the BNF for that stuff should be part of the core spec, and additional values perhaps defined in Bearer.
 

________________________________
 
From:Mike Jones <Michael.Jones@microsoft.com>
To: William Mills <wmills@yahoo-inc.com>; Julian Reschke <julian.reschke@gmx.de> 
Cc: Mark Nottingham <mnot@mnot.net>; Barry Leiba <barryleiba@computer.org>; OAuth WG <oauth@ietf.org> 
Sent: Tuesday, January 3, 2012 11:46 AM
Subject: RE: [OAUTH-WG] auth-param syntax, was: OK to post OAuth Bearer draft 15?
This is about the syntax for the scope, error, and error_description parameters.  The pertinent text from Section 3 is:
 
   Producers of "scope" strings MUST NOT use characters outside the set
   %x21 / %x23-5B / %x5D-7E for representing the scope values and %x20
   for the delimiter.  Producers of "error" and "error_description"
   strings MUST NOT use characters outside the set %x20-21 / %x23-5B /
   %x5D-7E for representing these values.  Producers of "error-uri"
   strings MUST NOT use characters outside the set %x21 / %x23-5B /
   %x5D-7E for representing these values.  Furthermore, "error-uri"
   strings MUST conform to the URI-Reference syntax.  In all these
   cases, no character quoting will occur, as senders are prohibited
   from using the %5C ('\') character.
 
                                                            Cheers,
                                                            -- Mike
 
From:William Mills [mailto:wmills@yahoo-inc.com] 
Sent: Tuesday, January 03, 2012 11:36 AM
To: Mike Jones; Julian Reschke
Cc: Mark Nottingham; Barry Leiba; OAuth WG
Subject: Re: [OAUTH-WG] auth-param syntax, was: OK to post OAuth Bearer draft 15?
 
Is all this only around the scope parameter?  My mail cited below is with regards to the character set for a valid scope parameter, which we should be able to define and then lean on the HTTPbis spec for the actual parameter syntax.
 

________________________________
 
From:Mike Jones <Michael.Jones@microsoft.com>
To: Julian Reschke <julian.reschke@gmx.de> 
Cc: Mark Nottingham <mnot@mnot.net>; Barry Leiba <barryleiba@computer.org>; OAuth WG <oauth@ietf.org> 
Sent: Friday, December 30, 2011 3:19 PM
Subject: Re: [OAUTH-WG] auth-param syntax, was: OK to post OAuth Bearer draft 15?

I did already back the statement that this is the working group consensus with the e-mails attached in this note sent to you on December 12, 2011:
  - http://www.ietf.org/mail-archive/web/oauth/current/msg08042.html

But since that apparently wasn't convincing to you that this working group decision represents more than "just me disagreeing with you", here are references to individual messages referenced in the above e-mail:
  - Eran Hammer-Lahav: http://www.ietf.org/mail-archive/web/oauth/current/msg07698.html
  - John Bradley:  http://www.ietf.org/mail-archive/web/oauth/current/msg07699.html
  - William Mills:  http://www.ietf.org/mail-archive/web/oauth/current/msg07700.html
  - Mike Jones:  http://www.ietf.org/mail-archive/web/oauth/current/msg07701.html
  - Phil Hunt:  http://www.ietf.org/mail-archive/web/oauth/current/msg07702.html
  - Justin Richer:  http://www.ietf.org/mail-archive/web/oauth/current/msg07692.html

As for your assertion that the specs are in conflict, yes, the Bearer spec includes a different decision than a RECOMMENDED clause in the HTTPbis spec (which was added after the Bearer text was already in place).  However, it is not violating any MUST clauses
 in the HTTPbis spec.  Given that no MUSTS are violated, I don't see it mandatory for this tension to be resolved in favor of one spec or the other in order for both to be approved as RFCs.  I look forward to seeing that happen soon in both cases (and for the
 OAuth core spec as well).

                Best wishes,
                -- Mike

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de] 
Sent: Friday, December 30, 2011 2:26 AM
To: Mike Jones
Cc: Barry Leiba; Mark Nottingham; OAuth WG
Subject: Re: auth-param syntax, was: [OAUTH-WG] OK to post OAuth Bearer draft 15?

On 2011-12-29 22:18, Mike Jones wrote:
> You proposed, Julian "3. Do not specify the ABNF. The ABNF of the WWW-Authenticate is defined in HTTPbis. Just state the names of the parameters, their syntax *after* parsing and their semantics."
>
> About some of Mark Nottingham's comments, Barry wrote "Let me point out that "this represents working-group consensus" is not always a valid response.  If the working group has actually considered the *issue*, that might be OK.  But if there's consensus for
 the chosen solution and someone brings up a *new* issue with it, that issue needs to be addressed anew."
>
> Relative to these two statements, I believe that I should remark at this point that your proposed semantics of only considering the syntax after potential quoting was explicitly considered earlier by the working group and rejected.  The consensus, instead,
 was for the present "no quoting will occur for legal inputs" semantics.

It would be helpful if you could back this statement with pointers to mails. As far as I can tell it's just you disagreeing with me.

Back to the facts:

a) the bearer spec defines an HTTP authentication scheme, and normatively refers to HTTPbis Part7 for that

b) HTTPbis recommends new scheme definitions not to have their own ABNF, as the header field syntax is defined by HTTPbis, not the individual scheme

c) the bearer spec defines it's own ABNF nevertheless

So the two specs are in conflict, and we should resolve the conflict one way or the other.

If you disagree with the recommendation in HTTPbis, then you really really should come over to HTTPbis WG and argue your point of view.

If you agree with it, but think that the bearer spec can't follow the recommendation, then it would be good to explain the reasoning (optimally in the spec).

If you agree with it, and think the bearer spec *could* follow it, then... change it, by all means.

Anyway, if this issue isn't resolved before IETF LC then it will be raised again at that time.


> I believe that in the New Year the chairs and area directors will need to decide how to proceed on this issue.  (The working group consensus, as I see it, is already both well-informed and clear on this point, but I understand that that's not the only consideration.) 
 It would be good to see the spec finished shortly.
> ...

Best regards, Julian



_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth