[twitter-dev] Password in a source

2010-09-06 Thread Andrea Stagi
I'm developing a software under gpl, a simple twitter client for GNU/
Linux
systems...This software uses some private keys for oAuth
authentication that no one must know..My idea is to distribute the
source without keys (or filled by only 'X' character) and the relative
executable file...But it seems not so correct to me...There's no
certainty that my executable works as the source as the code
shows...How can I do??

Thanks in advance,

Best regards!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 3:03 PM, Andrea Stagi wrote:
 I'm developing a software under gpl, a simple twitter client for GNU/
 Linux
 systems...This software uses some private keys for oAuth
 authentication that no one must know..My idea is to distribute the
 source without keys (or filled by only 'X' character) and the relative
 executable file...But it seems not so correct to me...There's no
 certainty that my executable works as the source as the code
 shows...How can I do??
 
 Thanks in advance,
 
 Best regards!
 

Everyone asks that, nobody can answer it, because there is no real
solution for the issue.

Just put the keys in the executable but not in the source. Really, it's
your only option. Well, actually that's not true, because you can also
simply proxy all traffic via a server, but that's not ideal.

Tom

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Julio Biason
On Mon, Sep 6, 2010 at 10:41 AM, Tom van der Woerdt i...@tvdw.eu wrote:
 Just put the keys in the executable but not in the source. Really, it's
 your only option. Well, actually that's not true, because you can also
 simply proxy all traffic via a server, but that's not ideal.

I may be wrong here, but if my memory doesn't fail, if you distribute
a binary package under the GPL, you're required to distribute the
exact same source that created that binary.

You can distribute your application in GPL and distribute another
binary, closed sourced package with the API keys and such, which you
must then dlopen().

-- 
Julio Biason julio.bia...@gmail.com
Twitter: http://twitter.com/juliobiason

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 5:40 PM, Julio Biason wrote:
 On Mon, Sep 6, 2010 at 10:41 AM, Tom van der Woerdt i...@tvdw.eu wrote:
 Just put the keys in the executable but not in the source. Really, it's
 your only option. Well, actually that's not true, because you can also
 simply proxy all traffic via a server, but that's not ideal.
 
 I may be wrong here, but if my memory doesn't fail, if you distribute
 a binary package under the GPL, you're required to distribute the
 exact same source that created that binary.
 
 You can distribute your application in GPL and distribute another
 binary, closed sourced package with the API keys and such, which you
 must then dlopen().

I'm not 100% sure, but I'd assume that the license doesn't apply to the
creator. :-)

Tom

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Julio Biason
On Mon, Sep 6, 2010 at 12:45 PM, Tom van der Woerdt i...@tvdw.eu wrote:
 I'm not 100% sure, but I'd assume that the license doesn't apply to the
 creator. :-)

Creator no, it's a distribution license. But, since he's the one
distributing the application...

-- 
Julio Biason julio.bia...@gmail.com
Twitter: http://twitter.com/juliobiason

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en