<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>o-regan.org &#187; faq</title>
	<atom:link href="http://o-regan.org/category/faq/feed/" rel="self" type="application/rss+xml" />
	<link>http://o-regan.org</link>
	<description>Quality iPhone Apps</description>
	<lastBuildDate>Wed, 28 Jul 2010 09:09:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>COMODO knowledgebase adds XPISigner entry</title>
		<link>http://o-regan.org/2009/05/23/comodo-knowledgebase-adds-xpisigner-entry/</link>
		<comments>http://o-regan.org/2009/05/23/comodo-knowledgebase-adds-xpisigner-entry/#comments</comments>
		<pubDate>Sat, 23 May 2009 08:46:40 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[codesigning]]></category>
		<category><![CDATA[faq]]></category>
		<category><![CDATA[xpi]]></category>
		<category><![CDATA[xpisigner comodo knowledgebase faq]]></category>

		<guid isPermaLink="false">http://o-regan.org/?p=97</guid>
		<description><![CDATA[Just noticed that there&#8217;s an entry for signing xpi files with XPISigner in the Comodo knowledgebase. Using XPISigner to sign XPI files]]></description>
			<content:encoded><![CDATA[<p>Just noticed that there&#8217;s an entry for signing xpi files with XPISigner in the Comodo knowledgebase.</p>
<p><a href="https://support.comodo.com/index.php?_m=knowledgebase&#038;_a=viewarticle&#038;kbarticleid=1236&#038;ratingconfirm=1" onclick="pageTracker._trackPageview('/outgoing/support.comodo.com/index.php?_m=knowledgebase_038_a=viewarticle_038_kbarticleid=1236_038_ratingconfirm=1&amp;referer=');">Using XPISigner to sign XPI files</a></p>
]]></content:encoded>
			<wfw:commentRss>http://o-regan.org/2009/05/23/comodo-knowledgebase-adds-xpisigner-entry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Signing a Firefox plug-in</title>
		<link>http://o-regan.org/2007/10/09/signing-a-firefox-plug-in/</link>
		<comments>http://o-regan.org/2007/10/09/signing-a-firefox-plug-in/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 22:57:57 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[codesigning]]></category>
		<category><![CDATA[faq]]></category>
		<category><![CDATA[signtool]]></category>
		<category><![CDATA[xpi]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://o-regan.org/?p=17</guid>
		<description><![CDATA[Laurent brought this up recently in the comments on the XPISigner download page. He ran into an issue signing his Firefox Linux plug-in with XPISigner. Some files were no longer executable when the XPI was deployed. This is a &#8216;feature&#8217; of java&#8217;s cross-platform underpinnings, since not all platforms use file-system metadata to flag files as [...]]]></description>
			<content:encoded><![CDATA[<p>Laurent brought this up recently in the comments on the XPISigner <a href="http://o-regan.org/xpisigner-secure-your-firefox-extensions/download-xpisigner/" target="_blank">download page</a>. He ran into an issue signing his Firefox Linux plug-in with XPISigner. Some files were no longer executable when the XPI was deployed.</p>
<p>This is a <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6194856" target="_blank" onclick="pageTracker._trackPageview('/outgoing/bugs.sun.com/bugdatabase/view_bug.do?bug_id=6194856&amp;referer=');">&#8216;feature&#8217;</a> of java&#8217;s cross-platform underpinnings, since not all platforms use file-system metadata to flag files as executable.</p>
<p>You can work around this using a combination of XPISigner and the unix ZIP command.</p>
<p>Zip (on unix) will preserve the exec flag when creating the archive and Firefox will honour the setting when it extracts the contents of the xpi during installation.</p>
<h2></h2>
<h2>Instructions</h2>
<ul>
<li>Run xpisigner to create the file manifests and signature.
<li>Delete your output xpi file
<li>Zip your content directory and rename your output file to .xpi</li>
</ul>
<h3></h3>
<h3>Note</h3>
<p>You may need to give ZIP an inclusion file list and make sure that META-INF/zigbert.rsa is the first file in the archive
<p>e.g. zip outfile.xpi -i@include.lst
<p>Where include.lst is a file listing all the files you want in the archive.
<p>See <a href="http://o-regan.org/2007/04/11/firefox-xpi-internal-structure/">http://o-regan.org/2007/04/11/firefox-xpi-internal-structure/</a> for the reasoning. <br /><</p>
]]></content:encoded>
			<wfw:commentRss>http://o-regan.org/2007/10/09/signing-a-firefox-plug-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InvalidKeyException: Illegal key size issue</title>
		<link>http://o-regan.org/2007/08/03/invalidkeyexception-illegal-key-size-issue/</link>
		<comments>http://o-regan.org/2007/08/03/invalidkeyexception-illegal-key-size-issue/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 21:49:53 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[faq]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[signtool]]></category>
		<category><![CDATA[xpi]]></category>
		<category><![CDATA[xpisigner]]></category>

		<guid isPermaLink="false">http://o-regan.org/?p=11</guid>
		<description><![CDATA[When running XPISigner with a PFX generated from&#160;SPC &#38; PVK&#160;files you may run into the following error&#8230; &#8220;unwrapping private key &#8211; java.security.InvalidKeyException: Illegal key size&#8221; This may have two causes: The unlimited strength policy files are not installed in your %JAVA_HOME%/jre/lib/security folder. The PFX that was generated is not well formed. See below for instructions [...]]]></description>
			<content:encoded><![CDATA[<p>When running XPISigner with a PFX generated from&nbsp;SPC &amp; PVK&nbsp;files you may run into the following error&#8230;</p>
<p><em>&#8220;unwrapping private key &#8211; java.security.InvalidKeyException: Illegal key size&#8221;</em></p>
<p>This may have two causes:</p>
<ul>
<li>The unlimited strength policy files are not installed in your <br /><font face="Courier New">%JAVA_HOME%/jre/lib/security</font> folder.</li>
<li>The PFX that was generated is not well formed. See below for instructions on how to export a correctly formatted PFX from IE.</li>
</ul>
<h2>Exporting a PFX from Internet Explorer</h2>
<p>Go to <font face="Courier New"><strong>Tools | Internet Options | Content | Certificates</strong></font> </p>
<p>Select your cert/key and click Export&#8230; </p>
<p>Choose to export the private key. </p>
<p>On the next screen choose to &#8220;Include all certificates in the chain&#8221; and &#8220;Strong private key protection&#8221; </p>
<p>Give it a password and save to a different filename.</p>
]]></content:encoded>
			<wfw:commentRss>http://o-regan.org/2007/08/03/invalidkeyexception-illegal-key-size-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
