Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
API Key and Shared Secret for Open Source apps?
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
  5 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 will appear after it is approved by moderators
 
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
 
Chromakode  
View profile  
 More options Jun 20 2007, 10:40 pm
From: Chromakode <chromak...@gmail.com>
Date: Wed, 20 Jun 2007 19:40:30 -0700
Local: Wed, Jun 20 2007 10:40 pm
Subject: API Key and Shared Secret for Open Source apps?
Hi all,

I apologize if this question has already been addressed on the list or
the API documentation, though I haven't been able to find an answer on
either. I am working on a desktop app that utilizes the
RememberTheMilk API. Since this program is Open Source software, I
will be distributing the source. My question is: is it acceptable to
put my API Key and Shared Secret into the source code, or does this
compromise the key? I don't understand whether distributing the Shared
Secret would pose a problem. I'd appreciate this clarification in
light of OSS.

Thank you,
Chromakode


    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.
sandfly  
View profile  
 More options Jul 9 2007, 6:35 pm
From: sandfly <graeme.mccorm...@ntlworld.com>
Date: Mon, 09 Jul 2007 15:35:26 -0700
Local: Mon, Jul 9 2007 6:35 pm
Subject: Re: API Key and Shared Secret for Open Source apps?

> Since this program is Open Source software, I
> will be distributing the source. My question is: is it acceptable to
> put my API Key and Shared Secret into the source code?

I have the same issue - I'm nearly ready to release a Yahoo widget for
RTM.

It seems to me that the problem would be app spoofing:  someone could
take the API key and shared secret, and create a malicious
application.  They would still need to get hold of a token.

I'd appreciate any guidance on offer.


    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.
Stian Hole  
View profile  
 More options Jul 10 2007, 12:54 pm
From: Stian Hole <stian.h...@gmail.com>
Date: Tue, 10 Jul 2007 16:54:53 -0000
Local: Tues, Jul 10 2007 12:54 pm
Subject: Re: API Key and Shared Secret for Open Source apps?
On Jul 10, 12:35 am, sandfly <graeme.mccorm...@ntlworld.com> wrote:

> > Since this program is Open Source software, I
> > will be distributing the source. My question is: is it acceptable to
> > put my API Key and Shared Secret into the source code?

I would also like to know what to do here, my app is in an interpreted
language which means the sources are available whatever the rights the
user might have (it will be open source though). So even if it was
closed source, the API key would still be accesible.

So I would also appreciate some "how to" and guidance on this matter.

Best regards,
Stian Hole


    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.
will.ross@gmail.com  
View profile  
 More options Jul 11 2007, 5:44 pm
From: "will.r...@gmail.com" <will.r...@gmail.com>
Date: Wed, 11 Jul 2007 21:44:58 -0000
Local: Wed, Jul 11 2007 5:44 pm
Subject: Re: API Key and Shared Secret for Open Source apps?
I have the same problem (hey .. a trend!) at http://sf.net/projects/rtmpalmjsync.

I thought a little about this, and so far all I've come up with is:
- The API key isn't sensitive.  It's exposed when a user is asked to
authenticate an app anyway.
- The shared key IS sensitive - you definitely don't want to make this
public.
- One solution: you could implement a "signing service".
    - the open-source app could be distributed with the api_key
hardcoded
    - each time it wants to talk to RTM it posts to the signing
service first asking for an appropriate hash given the params it's
about to post
    - this lets you keep the shared key secret
    - access to this service would have to be gated by your own
username/password authentication, avoid abuse
    - there are some nasty drawbacks:
        - every post to RTM first requires a post to your own service
=> bandwidth issues
        - higher latency of each operation from a user's perspective
        - having a whole new service to create a login account on
isn't desirable for users
- I can't think of any other solution that doesn't involve new support
built into RTM.

-will

On Jul 10, 12:54 pm, Stian Hole <stian.h...@gmail.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.
Omar Kilani  
View profile  
 More options Jul 12 2007, 6:11 am
From: Omar Kilani <o...@rememberthemilk.com>
Date: Thu, 12 Jul 2007 20:11:38 +1000
Local: Thurs, Jul 12 2007 6:11 am
Subject: Re: API Key and Shared Secret for Open Source apps?
Chromakode, Graeme, Stian, Will, :)

Sorry for the delay.

> On Jul 10, 12:35 am, sandfly <graeme.mccorm...@ntlworld.com> wrote:
>>> Since this program is Open Source software, I
>>> will be distributing the source. My question is: is it acceptable to
>>> put my API Key and Shared Secret into the source code?

> I would also like to know what to do here, my app is in an interpreted
> language which means the sources are available whatever the rights the
> user might have (it will be open source though). So even if it was
> closed source, the API key would still be accesible.

> So I would also appreciate some "how to" and guidance on this matter.

I think it depends on the application and who the target is.

For example, if you're building a Yahoo widget targeted at end-users,
I'd include the API key and shared secret with it.

If someone "borrows" this key/secret for another app, they'd still need
the end-user token to access a user account, and the ability to convince
an end-user that this new app matches up with the description,
screenshot, etc on the API authorization page for new users.

If the rogue app breaks the rules, we can throttle specific users based
on a (api_key, token) pair (or other variations thereof).

If you're developing language bindings or an installable open source web
app, then you shouldn't include your key/secret. Instead, you should
tell the developer/user of the binding/web app to request their own key
from RTM.

I hope that helps, and makes sense. :)

Regards,
Omar


    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