<?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>The Geekery &#187; GPG</title>
	<atom:link href="http://jon.netdork.net/category/open-source/gpg/feed" rel="self" type="application/rss+xml" />
	<link>http://jon.netdork.net</link>
	<description>The Usual Stuff...</description>
	<lastBuildDate>Sun, 18 Jul 2010 16:53:23 +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>Productivity out of work&#8230; yay</title>
		<link>http://jon.netdork.net/2005/11/08/productivity-out-of-work-yay?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=productivity-out-of-work-yay</link>
		<comments>http://jon.netdork.net/2005/11/08/productivity-out-of-work-yay#comments</comments>
		<pubDate>Wed, 09 Nov 2005 04:30:27 +0000</pubDate>
		<dc:creator>Jonathan Angliss</dc:creator>
				<category><![CDATA[GPG]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[SquirrelMail]]></category>

		<guid isPermaLink="false">http://jon.netdork.net/2005/11/08/productivity-out-of-work-yay/</guid>
		<description><![CDATA[For some reason, despite the fact that work is going like hell at the moment, with all kinds of crazy stuff happening, my out of work projects are thriving. Take SquirrelMail for example. Cor Bosman from XS4ALL released SquirrelMail 1.4.5 to their user base after extensive testing, and internal enhancements. This has generated a whole [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjon.netdork.net%2F2005%2F11%2F08%2Fproductivity-out-of-work-yay">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjon.netdork.net%2F2005%2F11%2F08%2Fproductivity-out-of-work-yay&amp;source=j_angliss&amp;style=normal&amp;service=bit.ly" height="61" width="50" />
			</a>
		</div><p>For some reason, despite the fact that work is going like hell at the moment, with all kinds of crazy stuff happening, my out of work projects are thriving.</p>

<p>Take SquirrelMail for example.  Cor Bosman from  <a href="http://www.xs4all.nl/" title="XS4All ISP">XS4ALL</a> released SquirrelMail 1.4.5 to their user base after extensive testing, and internal enhancements.  This has generated a whole bunch of feedback and allowed us to get a bunch of bug fixing done.  In the last 3 days, I think I&#8217;ve made over 30 cvs commits.</p>

<p>I also fixed a long standing bug in the GPG plugin for SquirrelMail today.  It was a minor documentation issue, and code misstake.  A simple case of assuming <a href="http://www.php.net/strrpos" title="PHP Documentation: strrpos">strrpos</a> did the same as <a href="http://www.php.net/strpos" title="PHP Documentation: strpos">strpos</a>.  In general, it does, except strrpos only accepts one character for the needle.  This resulted in a case of matching nearly every attachment to verify with gpg.  To fix, it was a case of changing this (line 211 in plugins/gpg/setup.php):</p>

<pre>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">if ((strrpos($filename,&quot;.asc&quot;) == (strlen($filename)-4)) <br />
or (strrpos($filename,&quot;.pgp&quot;) == (strlen($filename)-4))) {</div></div>

</pre>

<p>To this:</p>

<pre>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">if ((strpos($filename,&quot;.asc&quot;) == (strlen($filename)-4)) <br />
or (strpos($filename,&quot;.pgp&quot;) == (strlen($filename)-4))) {</div></div>

</pre>

<p>Code still works as expected, and no more issue of gpg checking all attachments to see if they are encrypted.</p>

<p>So, it&#8217;s been very productive for me this week, lets hope it continues.  I&#8217;m planning on pushing SquirrelMail 1.4.6 out by Christmas.</p><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://jon.netdork.net/2005/11/08/productivity-out-of-work-yay/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
