Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
FW: Appsdir review of draft-ietf-oauth-v2-23
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Henry S. Thompson  
View profile  
 More options Feb 14 2012, 12:07 pm
From: h...@inf.ed.ac.uk (Henry S. Thompson)
Date: Tue, 14 Feb 2012 17:07:12 +0000
Local: Tues, Feb 14 2012 12:07 pm
Subject: Re: [OAUTH-WG] FW: Appsdir review of draft-ietf-oauth-v2-23
[Sigh, resending with corrected CC list]

OK, sounds like I didn't fully understand the context here.  Providing
the examples you give as motivation would help keep others from making
the same mistake. . .

>> [3].1.2.5  In a somewhat parallel case, I would expect this section to
>> at least explain why the SHOULD NOT is not a MUST NOT. Since in
>> practice the distinction between trusted and untrusted 3rd-party
>> scripting is difficult if not impossible to draw, as written the 2nd
>> para is effectively overriden by the third.
> Assuming this means 3.1.2.5

Yes, sorry.

> A MUST NOT is impossible to enforce here. You're telling people to
> not include jQuery in their JavaScript app. Truth is, any third
> party library that you include in your app could get access to the
> security bits whether it's on the callback page or not. I think it's
> appropriate to provide guidance for best practices here, and the
> MUST be first and SHOULD be only makes sense. People will get it
> wrong in spite of what the spec says here one way or another.

Hmmm.  Either I'm misreading the text, or I don't understand your
argument. . .  The existing "MUST NOT" para applies to untrusted js.
The second para. is nearly identical in terms of what it wants done,
but covers _all_ js.  Writing MUST/SHOULD NOT and knowing people will
get it wrong just undermines the value of the spec.

> Suggestion: drop the requirements (and move them to the security
> doc), or otherwise no change.

If by that you mean, moving it to the security section, and observing
there that _failure_ to sanitise early is a risk, by effectively
changing MUST NOT to WILL RISK COMPROMISE and SHOULD NOT to MAY RISK
COMPROMISE, that would work for me.

No, I appreciate that you want to use registered short names in the
protocol, that's just fine.  My problem is that you have left users,
developers etc. with no way to discover what shortnames have been
registered short of a non-trivial and error-prone informal search
effort.

What I'm asking for is support for probe URI prefixes for each family
of shortnames.  So, just as today I use "text/n3" as the media type for
my Notation3 documents, I can check that this is a registered media
type by attempting to retrieve

 http://www.iana.org/assignments/media-types/text/n3

and I can see all the registered text types by retrieving from

 http://www.iana.org/assignments/media-types/text

likewise I ought to be able to check e.g. the "bearer" token type by
attempting retrieval from (something along the lines of)

 http://www.iana.org/assignments/access-token-types/bearer

and I should be able to see all the registered token types by retrieving from

 http://www.iana.org/assignments/access-token-types

Hope this clarifies what I meant.

>> Minor Issues:
>> A short summary of the changes from OAuth 1.0/RFC5849 would have
>> been helpful, and it might still be a good idea to add one. . .
> I don't think this is possible. OAuth2 is built nfundamentally
> differently from OAuth1, so this paragraph might as well read "just
> about everything but the concept". Suggestion: don't add this,
> unless someone can come up with a succinct way to summarize the
> decision to build on a new foundation.

OK, thanks.  Even something like the above short statement would be
useful . . .

>> 4.1 Would it be helpful to indicate that steps D&E may occur at
>> any time after C, and may be repeated subsequently?
> D&E may be delayed, but shouldn't be repeated. The Access Code is
> one-time-use, and in the best deployments will expire after a short
> period of time. Suggestion: leave as is.

OK, I just think as it is it invites misinterpretation.

>> 11.1 It might be useful to have an 11.1.2, which repeats references
>> to the bearer and mac access token type registration drafts?
> Is this a request to pre-register the two 'core' token types?

Yes, in that what I had in mind was making 11.1 parallel to ll.2, 3
and 4 in this regard.

ht

[I'm sorry about the mailing list confusion.  But please don't punish
 me again by sending HTML change bar markup which I have to hand edit :-]
--
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
OAuth mailing list
OA...@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eran Hammer  
View profile  
 More options Mar 7 2012, 6:42 pm
From: Eran Hammer <e...@hueniverse.com>
Date: Wed, 7 Mar 2012 16:42:50 -0700
Local: Wed, Mar 7 2012 6:42 pm
Subject: Re: [OAUTH-WG] FW: Appsdir review of draft-ietf-oauth-v2-23

Not sure I understand what you are asking for, but what would the IANA instruction include to support this?

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23" by Barry Leiba
Barry Leiba  
View profile  
 More options Mar 7 2012, 6:53 pm
From: Barry Leiba <barryle...@computer.org>
Date: Wed, 7 Mar 2012 18:53:37 -0500
Local: Wed, Mar 7 2012 6:53 pm
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23
Henry says...

Eran says...

> Not sure I understand what you are asking for, but what would the IANA instruction include to support this?

Yeh, I'm not understanding this either.  The spec establishes an
access-token-type registry, and anyone will be able to look in that
registry the same way they look in any other IANA registry, such as
media-types.  It looks like Henry is asking for this to use some sort
of type/subtype mechanism, as media-types does, wherein when a new
token type is registered, that registration or subsequent ones can
create subtypes of that token type.

But it's not clear that such a type/subtype scheme would always apply
here, as it does with media types.  Some token types will have no
subtypes.  What makes more sense is for the token types that need to
create their own sub-registries to do so.  And then those entries will
be found from IANA as well -- no error-prone informal search effort
should be needed.

Or am I missing the same thing Eran is?

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Henry S. Thompson  
View profile  
 More options Mar 8 2012, 6:44 am
From: h...@inf.ed.ac.uk (Henry S. Thompson)
Date: Thu, 08 Mar 2012 11:44:39 +0000
Local: Thurs, Mar 8 2012 6:44 am
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23

No, sorry, not at all about subtyping or anyting like that.

Sorry this is proving difficult to communicate!

Start again.  Consider the situation five years from now, when OAUTH2
is a great success, and there are dozens of entries in its various
registries.

 1) Suppose you're a developer, setting out to implement OAUTH2.  You
    need to know what access token types, etc. to implement;

 2) Or you're a user, wondering what access token types are available,
    so you can decide which suit your requirements best;

 3) Or you're a service provider, and you come up with a new token
    type and want to check if the name you have in mind is already in
    use.

You have read the spec., and the _only_ concrete thing it tells you
about the registers is the name of an email list.  So you have to go
to the email archives and search for . . . what exactly?  Different in
the three cases above, and in none of them is it obvious how to know
what counts as success.

So what I'm asking for is more mechanism, documented in the spec. in
terms of what the registry itself will provide, which is, in each
case, a URI which will not only resolve to a list of the registered
shortnames, but will also support retrieval for any registered short
name by appending it.  So for example for the access token type
registry, the spec. should tell me that retrieving

  http://www.iana.org/oath2/access-token-types

will give me a page listing all the registered access token types, and
also

    http://www.iana.org/oath2/access-token-types/bearer

will return the registration details for the bearer type.

This will then make all of (1)--(3) easy.

Better this time?

ht
--
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
OAuth mailing list
OA...@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barry Leiba  
View profile  
 More options Mar 8 2012, 9:50 am
From: Barry Leiba <barryle...@computer.org>
Date: Thu, 8 Mar 2012 09:50:29 -0500
Local: Thurs, Mar 8 2012 9:50 am
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23

> You have read the spec., and the _only_ concrete thing it tells you
> about the registers is the name of an email list.  So you have to go
> to the email archives and search for . . . what exactly?  Different in
> the three cases above, and in none of them is it obvious how to know
> what counts as success.

The email list is just how you start the registration process.  There
will be an IANA registry for access token types.  When IANA creates
it, the name will be in the published RFC (I expect there'll be a
section in the IANA registries page ( http://www.iana.org/protocols/ )
for "OAuth Parameters", and "Access Token Types" will be listed there;
search that page for "DKIM" to see what it'll look like).  The spec
also says what will be *in* the registry.

The RFC Editor specifically does NOT want the URL for the registry to
be in the RFC (the URL might change).  But the registry NAME will be
there.

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Henry S. Thompson  
View profile  
 More options Mar 8 2012, 10:05 am
From: h...@inf.ed.ac.uk (Henry S. Thompson)
Date: Thu, 08 Mar 2012 15:05:05 +0000
Local: Thurs, Mar 8 2012 10:05 am
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23

OK, I now recognise a culture clash as the underlying point at issue,
so this spec. is the wrong place to address it.

Thanks for your patience, I hereby get out of the road on this point.

I'll reply to Eran's message wrt any other outstanding points. . .

ht
--
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
OAuth mailing list
OA...@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barry Leiba  
View profile  
 More options Mar 8 2012, 10:10 am
From: Barry Leiba <barryle...@computer.org>
Date: Thu, 8 Mar 2012 10:10:07 -0500
Local: Thurs, Mar 8 2012 10:10 am
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23

> OK, I now recognise a culture clash as the underlying point at issue,
> so this spec. is the wrong place to address it.

Ah... so if the issue is how IANA makes registry information
available, then please go to the "happiana" mailing list (
https://www.ietf.org/mailman/listinfo/happiana ) and see if you can
work with Michelle and the other IANA folks on it.

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Henry S. Thompson  
View profile  
 More options Mar 8 2012, 10:13 am
From: h...@inf.ed.ac.uk (Henry S. Thompson)
Date: Thu, 08 Mar 2012 15:13:12 +0000
Local: Thurs, Mar 8 2012 10:13 am
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23

Barry Leiba writes:
>> OK, I now recognise a culture clash as the underlying point at issue,
>> so this spec. is the wrong place to address it.

> Ah... so if the issue is how IANA makes registry information
> available

Precisely.

> then please go to the "happiana" mailing list (
> https://www.ietf.org/mailman/listinfo/happiana ) and see if you can
> work with Michelle and the other IANA folks on it.

Indeed.  I should have realised that that was the right level sooner:
as I said, thanks for your patience.

ht
--
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
OAuth mailing list
OA...@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Atkins  
View profile  
 More options Mar 21 2012, 3:15 pm
From: Derek Atkins <de...@ihtfp.com>
Date: Wed, 21 Mar 2012 15:15:21 -0400
Local: Wed, Mar 21 2012 3:15 pm
Subject: Re: [OAUTH-WG] [apps-discuss] FW: Appsdir review of draft-ietf-oauth-v2-23
h...@inf.ed.ac.uk (Henry S. Thompson) writes:

If you need help coordinating with Michelle @ IANA I can help coordinate
a meeting in Paris next week (assuming you are attending).

> ht

-derek

--
       Derek Atkins                 617-623-3745
       de...@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant
_______________________________________________
OAuth mailing list
OA...@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »