<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Application key - shareable? in Archived content</title>
    <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358170#M46331</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the developer application key (for libspotify) supposed to be private? I.e., am I supposed to not share my key with anyone else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, how are others supposed to use my application? If not, how does Spotify prevent misuse of my app key?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2013 12:40:02 GMT</pubDate>
    <dc:creator>catharsis</dc:creator>
    <dc:date>2013-04-08T12:40:02Z</dc:date>
    <item>
      <title>Application key - shareable?</title>
      <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358170#M46331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the developer application key (for libspotify) supposed to be private? I.e., am I supposed to not share my key with anyone else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, how are others supposed to use my application? If not, how does Spotify prevent misuse of my app key?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 12:40:02 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358170#M46331</guid>
      <dc:creator>catharsis</dc:creator>
      <dc:date>2013-04-08T12:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Application key - shareable?</title>
      <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358242#M46332</link>
      <description>&lt;P&gt;Hey &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usage of Application Keys is covered in part 2 of the&amp;nbsp;&lt;A href="https://developer.spotify.com/technologies/libspotify/#terms-of-use" target="_self"&gt;libspotify terms of usage&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 13:35:04 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358242#M46332</guid>
      <dc:creator>Peter__</dc:creator>
      <dc:date>2013-04-08T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Application key - shareable?</title>
      <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358254#M46333</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the quick reply! That answers my question. However, I'm still a bit uncertain as to what Spotify determines a "secure manner" of embedding the application key. As far as I can tell, libspotify doesn't accept an encrypted key. In other words (unless I'm wrong and the encryption part has simply been left out of the docs) it has to be embedded as-is. Of course, this would make it pretty easy for a third party to gain access to the key using, for example, gdb.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does Spotify offer any recommendations on this? Any idea how other libspotify apps deal with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 13:52:57 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358254#M46333</guid>
      <dc:creator>catharsis</dc:creator>
      <dc:date>2013-04-08T13:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Application key - shareable?</title>
      <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358300#M46334</link>
      <description>&lt;P&gt;I don't work for Spotify so I don't have any additional information I can give you, however from reading the terms I would guess that the key needs to be stored in the program code rather than being read in from a human readable file or something like that. It also means that you can't open-source your application since the key would then be public.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am unsure if gdb would allow you to view the key if it was stored in the code and then distributed as a compiled executable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 14:39:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358300#M46334</guid>
      <dc:creator>Peter__</dc:creator>
      <dc:date>2013-04-08T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Application key - shareable?</title>
      <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358332#M46335</link>
      <description>&lt;P&gt;I see, would you know of a better place where I might ask&amp;nbsp; this question instead? I'm very excited about the libspotify project, and applaude Spotify for the effort. However, I don't want to risk any liabilities by allowing others to use my application. I suppose a work-around would be to require all users to have their own app key, but the way I've understood it, that kind of defeats the purpose of the appkey (or at least one of them - the traceability).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To answer your question: yes, gdb (and any other debugger worth its salt) absolutely lets you see the key, as well as any other data. In the simple case (where you know the symbol name) it's as easy as:&lt;BR /&gt;&lt;BR /&gt;gdb ./my-libspotify-app&lt;/P&gt;&lt;P&gt;(gdb) print /x g_appkey&lt;/P&gt;&lt;P&gt;&amp;lt; KEY HERE &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help, much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 14:53:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358332#M46335</guid>
      <dc:creator>catharsis</dc:creator>
      <dc:date>2013-04-08T14:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Application key - shareable?</title>
      <link>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358336#M46336</link>
      <description>&lt;P&gt;Yeah, I know what you mean I am considering starting a little raspberry pi summer project this year!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some places you can get support&amp;nbsp;&lt;A href="http://developer.spotify.com/support/" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 14:55:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Archived-content/Application-key-shareable/m-p/358336#M46336</guid>
      <dc:creator>Peter__</dc:creator>
      <dc:date>2013-04-08T14:55:27Z</dc:date>
    </item>
  </channel>
</rss>

