<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PackageKit Web Plugin</title>
	<atom:link href="http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/</link>
	<description>Blog about geeky stuff</description>
	<lastBuildDate>Sun, 22 Nov 2009 00:10:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Karl Lattimer</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-600</link>
		<dc:creator>Karl Lattimer</dc:creator>
		<pubDate>Wed, 10 Sep 2008 13:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-600</guid>
		<description>@hughsie: I don&#039;t doubt that it looks safe, and could be, however its not how it looks, its how it looks to someone who will attack it. I mean, after buffer overflows became a null concept the heap overflow rose up, even if you think its safe, even if I think its safe, if everyone who uses it thinks its safe, there&#039;ll still be someone out there who wants to make it unsafe! I learned early on that anything is possible when even the smallest glimmer of an attack vector is opened up. 

I don&#039;t understand why you&#039;d actually want to do this kind of thing anyway, it just seems senseless to me! I have an application menu for starting applications, why do it from a web browser?!?!? The reality is a web browser should be used for browsing the web, not managing anything on my machine. Sure I like the idea of a click to install, but I already have that with open with - package installer. This kind of thing always makes me feel uneasy, after seeing some of the crazy stuff that goes on, on the web I feel tingles in my spine when thinking of this.

And you say that there&#039;s no javascript, well at least that&#039;s a sensible sandbox, but what about css and html hackery? It&#039;s amazing what can be achieved with some css to cover up something so a user clicking on something that looks safe, can in fact be a mask for something else.

I&#039;d say before you believe in the code 100% invite some miscreants to find holes in it, until they tire themselves out, offer a cool prize for it and I&#039;m sure you&#039;ll find things in there you wouldn&#039;t expect...</description>
		<content:encoded><![CDATA[<p>@<a href="http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-578">hughsie</a>: I don&#8217;t doubt that it looks safe, and could be, however its not how it looks, its how it looks to someone who will attack it. I mean, after buffer overflows became a null concept the heap overflow rose up, even if you think its safe, even if I think its safe, if everyone who uses it thinks its safe, there&#8217;ll still be someone out there who wants to make it unsafe! I learned early on that anything is possible when even the smallest glimmer of an attack vector is opened up. </p>
<p>I don&#8217;t understand why you&#8217;d actually want to do this kind of thing anyway, it just seems senseless to me! I have an application menu for starting applications, why do it from a web browser?!?!? The reality is a web browser should be used for browsing the web, not managing anything on my machine. Sure I like the idea of a click to install, but I already have that with open with &#8211; package installer. This kind of thing always makes me feel uneasy, after seeing some of the crazy stuff that goes on, on the web I feel tingles in my spine when thinking of this.</p>
<p>And you say that there&#8217;s no javascript, well at least that&#8217;s a sensible sandbox, but what about css and html hackery? It&#8217;s amazing what can be achieved with some css to cover up something so a user clicking on something that looks safe, can in fact be a mask for something else.</p>
<p>I&#8217;d say before you believe in the code 100% invite some miscreants to find holes in it, until they tire themselves out, offer a cool prize for it and I&#8217;m sure you&#8217;ll find things in there you wouldn&#8217;t expect&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrys</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-591</link>
		<dc:creator>patrys</dc:creator>
		<pubDate>Tue, 09 Sep 2008 23:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-591</guid>
		<description>Owen:

The plugin is prone to phishing as stated in my previous comment. It&#039;s possible to overlay the plugin with custom HTML and have the click event fall through to the plugin (which could cause an otherwise wary user to install a package by clicking an innocent looking link). The URI handler also has the added benefit of working everywhere, not just in a (particular) browser.</description>
		<content:encoded><![CDATA[<p>Owen:</p>
<p>The plugin is prone to phishing as stated in my previous comment. It&#8217;s possible to overlay the plugin with custom HTML and have the click event fall through to the plugin (which could cause an otherwise wary user to install a package by clicking an innocent looking link). The URI handler also has the added benefit of working everywhere, not just in a (particular) browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko Anastasov</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-590</link>
		<dc:creator>Marko Anastasov</dc:creator>
		<pubDate>Tue, 09 Sep 2008 22:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-590</guid>
		<description>This is awesome! People will be able to install stuff by just clicking on a link.</description>
		<content:encoded><![CDATA[<p>This is awesome! People will be able to install stuff by just clicking on a link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen Taylor</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-589</link>
		<dc:creator>Owen Taylor</dc:creator>
		<pubDate>Tue, 09 Sep 2008 22:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-589</guid>
		<description>A protocol handler is going to give you an experience of &quot;Click this link to run Inkscape if it&#039;s installed, or install it if it&#039;s not installed and it&#039;s available for your distribution&quot;. and if you don&#039;t have PackageKit installed, will then give you the nice &quot;I don&#039;t know how to handle the url  packagekit:installOrRun?package=inkscape&amp;desktop=inkscape&quot; experience. (With a plugin you can have fallback content for an embedded object if the plugin is missing.) A content association for YMP files seems similar. You could have a YMP plugin that uses a YMP file as input, but I don&#039;t really see the point as compared to providing the few necessary inputs directly as parameters to the plugin.</description>
		<content:encoded><![CDATA[<p>A protocol handler is going to give you an experience of &#8220;Click this link to run Inkscape if it&#8217;s installed, or install it if it&#8217;s not installed and it&#8217;s available for your distribution&#8221;. and if you don&#8217;t have PackageKit installed, will then give you the nice &#8220;I don&#8217;t know how to handle the url  packagekit:installOrRun?package=inkscape&amp;desktop=inkscape&#8221; experience. (With a plugin you can have fallback content for an embedded object if the plugin is missing.) A content association for YMP files seems similar. You could have a YMP plugin that uses a YMP file as input, but I don&#8217;t really see the point as compared to providing the few necessary inputs directly as parameters to the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-587</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Tue, 09 Sep 2008 20:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-587</guid>
		<description>So why is this a browser plugin instead of using something like YMP and the 1-click installer (a helper application) from openSUSE? It actually uses PackageKit too... and YMP was definitely designed to be cross-distro. (A single YMP file can specify multiple distros, making it really just a couple clicks away for *any* distribution user to have software easily installed on their computer... all from one single website button without any complexity for the website author.)

If you should have to have a confirmation click anyway, then why not pass it off to an external program to handle it? Why use a browser plugin? (I don&#039;t see any advantages.)</description>
		<content:encoded><![CDATA[<p>So why is this a browser plugin instead of using something like YMP and the 1-click installer (a helper application) from openSUSE? It actually uses PackageKit too&#8230; and YMP was definitely designed to be cross-distro. (A single YMP file can specify multiple distros, making it really just a couple clicks away for *any* distribution user to have software easily installed on their computer&#8230; all from one single website button without any complexity for the website author.)</p>
<p>If you should have to have a confirmation click anyway, then why not pass it off to an external program to handle it? Why use a browser plugin? (I don&#8217;t see any advantages.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrys</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-585</link>
		<dc:creator>patrys</dc:creator>
		<pubDate>Tue, 09 Sep 2008 19:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-585</guid>
		<description>As reported by others, it&#039;s pretty easy to specify name=Banshee, desktop=banshee, package=buggy. A protocol handler would be more useful from the scripting point of view (select your distro and we&#039;ll give you the right uri) - it would need a confirmation window but that&#039;s needed anyway as it should be relatively easy to cover the plugin with custom html that sends the click through by the means of scripting (please research the very same tricks people use to style file input html widgets).</description>
		<content:encoded><![CDATA[<p>As reported by others, it&#8217;s pretty easy to specify name=Banshee, desktop=banshee, package=buggy. A protocol handler would be more useful from the scripting point of view (select your distro and we&#8217;ll give you the right uri) &#8211; it would need a confirmation window but that&#8217;s needed anyway as it should be relatively easy to cover the plugin with custom html that sends the click through by the means of scripting (please research the very same tricks people use to style file input html widgets).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ka-Hing Cheung</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-581</link>
		<dc:creator>Ka-Hing Cheung</dc:creator>
		<pubDate>Tue, 09 Sep 2008 18:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-581</guid>
		<description>I see, so it puts some more information on the webpage, seems not that critical though as the user can find that out after clicking on it</description>
		<content:encoded><![CDATA[<p>I see, so it puts some more information on the webpage, seems not that critical though as the user can find that out after clicking on it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ka-Hing Cheung</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-580</link>
		<dc:creator>Ka-Hing Cheung</dc:creator>
		<pubDate>Tue, 09 Sep 2008 18:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-580</guid>
		<description>Is there a reason why it&#039;s done as a plugin, and not as a protocol handler (ubuntu uses apt:, I think opensuse uses something else)</description>
		<content:encoded><![CDATA[<p>Is there a reason why it&#8217;s done as a plugin, and not as a protocol handler (ubuntu uses apt:, I think opensuse uses something else)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hughsie</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-578</link>
		<dc:creator>hughsie</dc:creator>
		<pubDate>Tue, 09 Sep 2008 18:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-578</guid>
		<description>Karl: no javascript involved, it&#039;s all HTML then C plugin. Nothing is exported into the DOM. The website can&#039;t interact with the plugin whatsoever. It&#039;s nothing like activex at all, as the plugin has a very narrow and well controlled one way IPC for one certain task. The HTML can never execute an exectuable on the computer, it&#039;s up to the user to click, and then it can only open a .desktop file from a package the user already has installed.

I don&#039;t want to insult you telling you it&#039;s safe, but I would like you to at least look at the design and read the code and you&#039;ll see it&#039;s safe as houses. :-)</description>
		<content:encoded><![CDATA[<p>Karl: no javascript involved, it&#8217;s all HTML then C plugin. Nothing is exported into the DOM. The website can&#8217;t interact with the plugin whatsoever. It&#8217;s nothing like activex at all, as the plugin has a very narrow and well controlled one way IPC for one certain task. The HTML can never execute an exectuable on the computer, it&#8217;s up to the user to click, and then it can only open a .desktop file from a package the user already has installed.</p>
<p>I don&#8217;t want to insult you telling you it&#8217;s safe, but I would like you to at least look at the design and read the code and you&#8217;ll see it&#8217;s safe as houses. <img src='http://blogs.gnome.org/hughsie/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen</title>
		<link>http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/comment-page-1/#comment-577</link>
		<dc:creator>Owen</dc:creator>
		<pubDate>Tue, 09 Sep 2008 18:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/2008/09/09/packagekit-web-plugin/#comment-577</guid>
		<description>http://git.fishsoup.net/cgit/packagekit-plugin/tree/README has some discussion of the display name issue. Basically, you can probably disguise it in the web page anyways, so it&#039;s better to deal with confirmation after the user clicks, not to try to make them avoid clicking. And a package that is in the configured repo, and opens a security hole just by running it (no arguments, no file input) seems like a rare thing. The advantage of providing the display name is making the plugin understandable on failure.</description>
		<content:encoded><![CDATA[<p><a href="http://git.fishsoup.net/cgit/packagekit-plugin/tree/README" rel="nofollow">http://git.fishsoup.net/cgit/packagekit-plugin/tree/README</a> has some discussion of the display name issue. Basically, you can probably disguise it in the web page anyways, so it&#8217;s better to deal with confirmation after the user clicks, not to try to make them avoid clicking. And a package that is in the configured repo, and opens a security hole just by running it (no arguments, no file input) seems like a rare thing. The advantage of providing the display name is making the plugin understandable on failure.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
