Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > OpenSocial and Gadgets Specification Discussion > proposal: updates for SIGNED requests
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
  11 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
 
Brian Eaton  
View profile  
 More options Apr 18 2008, 9:10 pm
From: "Brian Eaton" <bea...@google.com>
Date: Fri, 18 Apr 2008 18:10:29 -0700
Local: Fri, Apr 18 2008 9:10 pm
Subject: proposal: updates for SIGNED requests
Changes in the spec below:
- clarifications
- documentation of existing security considerations (e.g. removing
oauth* and opensocial* parameters)
- permit multiple instances of the same application to be
distinguished (this is optional, of course!)
- changes to help automate distribution of public keys.

/**
  * Fetches content from the provided URL and feeds that content into the
  * callback function.
...
  * If opt_params[gadgets.io.RequestParameters.AUTHORIZATION] is set
to gadgets.io.AuthorizationType.SIGNED:
  * This indicates that the container needs to vouch for the user's
identity to the destination server.
  * The container will
  *   - remove any request parameters with names that begin with
oauth, xoauth, or opensocial (ignoring whether the parameter names are
upper or lower case.
  *   - add the following parameters to the request query string
  *        opensocial_viewer_id: (required) The id of the current
viewer, which will match the
  * getId() value on the viewer person object.
  *        opensocial_owner_id: (required) The id of the current
owner, which will match the
  * getId() value on the owner person object.
  *        opensocial_app_url: (required) The URL of the application
making the request.  Containers may alias multiple application URLs to
a single canonical application URL in the case where an application
changes URLs.
  *        opensocial_instance_id: (optional) An opaque identifier
used to distinguish between multiple instances of the same application
in a single container.  If a container does not allow multiple
instances of the same application to coexist, this parameter may be
omitted.  The combination of opensocial_app_url and
opensocial_instance_id will always uniquely identify an instance of an
application in a container.
  *        opensocial_app_id: (optional) An opaque identifier for the
application, unique to a particular container.  This parameter is
optional.  Containers that wish to maintain backwards compatibility
with the opensocial-0.7 specification may include this parameter.
  *        xoauth_public_key: (optional) An opaque identifier for the
public key used to sign the request.  This parameter may be omitted by
containers that do not use public keys to sign requests, or if the
container arranges other means of key distribution with the target of
the request.
  *   - sign the resulting request according to section 9 of the OAuth
specification (http://oauth.net/core/1.0/#signing_process)
  *
  * Key management for gadgets.io.AuthorizationType.SIGNED:
  *
  * If a container uses public keys to sign request, the container may
choose to use either
  * self-signed certificates or certificates signed by a well-known
certificate authority.
  * If a container does not distribute their oauth signing key over
https, they should use a certificate signed by a well-known
certificate authority.
  *
  * The commonName attribute of the certificate should match the
hostname of the container server, and should also match the value of
the oauth_consumer_key parameter specified in the request.
  *
  * The container should make their public key available for download
at a well-known location.  The location
  * https://<container-hostname>/opensocial/certificates/<xoauth_public_key
value> is recommended.
  *
  * Recipients of signed requests must verify that the signature on
the request is correct, and that the timestamp on the request is
within a reasonable time window.  A time window of +-5 minutes from
the current time is recommended.
  *
  * Recipients of signed requests may use the oauth_consumer_key and
xoauth_public_key parameters to automatically detect when a container
deploys new certificates.  If the container deploys certificates at a
well-known location, the recipient may automatically download the new
certificate.  Recipients who automatically download new certificates
should cache the resulting certificates.
  *
  * If a container's certificate is not downloaded from
https://<container-hostname>, the recipient should verify that the
certificat is signed by a well-known certificate authority before
trusting the certificate.
...


    Reply to author    Forward  
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.
Cassie  
View profile  
 More options Apr 21 2008, 6:46 am
From: Cassie <d...@google.com>
Date: Mon, 21 Apr 2008 12:46:26 +0200
Local: Mon, Apr 21 2008 6:46 am
Subject: Re: proposal: updates for SIGNED requests

To be clear, this is simply more detail added to this proposal:
http://groups.google.com/group/opensocial-and-gadgets-spec/browse_frm...

Which was already approved.

This also seems like it ends some discussion on this thread:
http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thr...

Because it is allowing the ability to pass both url and an app id to the
third party server. Thus delaying the need for resolution on what app id
actually means to all containers. (Very nicely done :)

Thanks.

- Cassie


    Reply to author    Forward  
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.
Louis Ryan  
View profile  
 More options Apr 21 2008, 1:54 pm
From: "Louis Ryan" <lr...@google.com>
Date: Mon, 21 Apr 2008 10:54:46 -0700
Local: Mon, Apr 21 2008 1:54 pm
Subject: Re: proposal: updates for SIGNED requests

One note. opensocial_viewer_id should be optional not required as containers
can choose to hide the viewers identity from the gadget.

-Louis


    Reply to author    Forward  
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.
Arne Roomann-Kurrik (Google)  
View profile  
 More options Apr 24 2008, 8:58 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Thu, 24 Apr 2008 17:58:05 -0700 (PDT)
Local: Thurs, Apr 24 2008 8:58 pm
Subject: Re: proposal: updates for SIGNED requests
+1 to this with Louis' amendment.  This is an excellent clarification
of some of the ambiguities around signed requests.  I like including
the suggested practices around key fetching and request lifespan as
well.

On Apr 21, 10:54 am, "Louis Ryan" <lr...@google.com> wrote:


    Reply to author    Forward  
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.
Cassie  
View profile  
 More options Apr 25 2008, 7:31 am
From: Cassie <d...@google.com>
Date: Fri, 25 Apr 2008 13:31:34 +0200
Local: Fri, Apr 25 2008 7:31 am
Subject: Re: proposal: updates for SIGNED requests

I made opensocial_viewer_id optional in the spec change, so we have 3 votes.

- Cassie

On Fri, Apr 25, 2008 at 2:58 AM, Arne Roomann-Kurrik (Google) <


    Reply to author    Forward  
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.
Brian Eaton  
View profile  
 More options Apr 25 2008, 12:37 pm
From: "Brian Eaton" <bea...@google.com>
Date: Fri, 25 Apr 2008 09:37:30 -0700
Local: Fri, Apr 25 2008 12:37 pm
Subject: Re: proposal: updates for SIGNED requests
[+balfanz, because he thinks this is a good idea]


    Reply to author    Forward  
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.
Lane LiaBraaten  
View profile  
 More options Apr 25 2008, 12:42 pm
From: "Lane LiaBraaten" <lliab...@google.com>
Date: Fri, 25 Apr 2008 09:42:40 -0700
Local: Fri, Apr 25 2008 12:42 pm
Subject: Re: proposal: updates for SIGNED requests

+1


    Reply to author    Forward  
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.
Graham Spencer  
View profile  
 More options Apr 25 2008, 12:51 pm
From: Graham Spencer <g...@google.com>
Date: Fri, 25 Apr 2008 09:51:46 -0700
Local: Fri, Apr 25 2008 12:51 pm
Subject: Re: proposal: updates for SIGNED requests

+1, in particular because opensocial_app_url is not optional...

--g

On Fri, Apr 25, 2008 at 9:42 AM, Lane LiaBraaten <lliab...@google.com>
wrote:


    Reply to author    Forward  
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.
mnewbo...@myspace.com  
View profile  
 More options Apr 25 2008, 6:47 pm
From: mnewbo...@myspace.com
Date: Fri, 25 Apr 2008 15:47:23 -0700 (PDT)
Local: Fri, Apr 25 2008 6:47 pm
Subject: Re: proposal: updates for SIGNED requests
+1

On Apr 25, 9:51 am, Graham Spencer <g...@google.com> wrote:


    Reply to author    Forward  
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.
John Panzer  
View profile  
 More options Apr 25 2008, 6:52 pm
From: "John Panzer" <jpan...@google.com>
Date: Fri, 25 Apr 2008 15:52:35 -0700
Local: Fri, Apr 25 2008 6:52 pm
Subject: Re: proposal: updates for SIGNED requests

+1


    Reply to author    Forward  
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.
Zhen Wang  
View profile  
 More options Apr 25 2008, 7:00 pm
From: "Zhen Wang" <wa...@google.com>
Date: Fri, 25 Apr 2008 16:00:21 -0700
Local: Fri, Apr 25 2008 7:00 pm
Subject: Re: proposal: updates for SIGNED requests
+1


    Reply to author    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google