<?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>TylerBurton.ca &#187; Computer security</title>
	<atom:link href="http://www.tylerburton.ca/category/tech/software/computer-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerburton.ca</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 02:27:29 +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>Canada&#8217;s encryption debate</title>
		<link>http://www.tylerburton.ca/2010/03/canadas-encryption-debate/</link>
		<comments>http://www.tylerburton.ca/2010/03/canadas-encryption-debate/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 04:49:57 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Canadian politics]]></category>
		<category><![CDATA[Computer security]]></category>
		<category><![CDATA[Canada]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[law]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=268</guid>
		<description><![CDATA[Canada still imposes restrictions on encryption. Who knew? Today I happen to read something that Michael Geist had written about Canada&#8217;s state of encryption laws and I was floored. In it he referenced this article which discussed the Government of Canada&#8217;s new public consultation on encryption laws. From the article: Encryption controls have been a [...]]]></description>
			<content:encoded><![CDATA[<p>Canada still imposes restrictions on encryption. Who knew?</p>
<p>Today I happen to read something that <a href="http://www.michaelgeist.ca/" target="_blank">Michael Geist</a> had written about Canada&#8217;s state of encryption laws and I was floored. In it he referenced <a href="http://news.mccarthy.ca/en/news_template_full.asp?pub_code=4896&amp;news_code=1261" target="_blank">this article</a> which discussed the Government of Canada&#8217;s new public consultation on encryption laws. From the article:</p>
<blockquote><p>Encryption controls have been a challenge for many Canadian software and hardware vendors. Category 5 — Part 2 of Canada’s Export Control List identifies information security items that require a permit in order to be exported from Canada to destinations other than the United States. Because the threshold for control is very low — key lengths in excess of 64 bits (in the case of symmetric algorithms) — many vendors have been surprised to learn that the export or transfer of their encryption goods and technology requires a permit before shipment to their foreign customers. Often, they first discover this when the Canada Border Services Agency detains these goods just prior to export. Failure to obtain a permit prior to exporting or transferring controlled goods or technology can attract significant penalties.</p></blockquote>
<p>The reason I am so surprised by this is that today, in 2010, 64-bits is <em>nothing</em>. For a recent <a href="http://www.tylerburton.ca/portfolio/#keyfinder" target="_blank">school project</a> a few <a href="http://www.jonathanfritz.ca/" target="_blank">colleagues</a> of <a href="http://audiophonik.net/" target="_blank">mine</a> and myself designed a distributed brute-force approach to cracking an <a href="http://en.wikipedia.org/wiki/RC4" target="_blank">RC4</a> key. Doing some internal algorithm speed tests we determined that a single machine could brute force approximately 402,000 different keys per second. At that rate it would take one machine <strong>1,455,081 years</strong> to check all 2^64 keys. Seems pretty good so far huh? Well the problem with this number is that we are <em>not </em>professional cryptographers. RC4 has known weaknesses that allow you to break it faster than a brute force attack would otherwise allow. But assuming you still attempted to complete the brute force method, I highly doubt it would take <em>that </em>long. <a href="http://en.wikipedia.org/wiki/Data_Encryption_Standard" target="_blank">DES</a>, the older, widely used, encryption standard, also had a key size of 64-bits but, thanks to specially designed hardware, is now able to be broken in less than a week. While it is true that not all algorithms are built equally (i.e. AES with a 128-bit key is more secure than RC4 with the same sized key) it is generally true that having a larger key size and a secure algorithm are good things. According to current Canadian encryption laws 64-bits is deemed to be the strongest security you can legally export without a permit. Clearly this current limitation is simply unacceptable.</p>
<p>When you visit a secure website, for example your bank&#8217;s, your browser usually uses a 128-bit or 256-bit secret key to ensure that absolutely no one can listen in. And yet this security, the very security that gives people piece of mind when they shop online, is essentially illegal to export or sell overseas with our current laws. I completely agree with the author of the article when he says that requiring Canadian businesses to secure a permit before they can ship their software puts them at a distinct disadvantage.</p>
<p>Additionally, the Canadian government has allowed themselves to fall behind the security curve in other ways. Recently a good friend of mine was hired for a research job at the Government. In order to move him through the hiring process they requested that he send sensitive materials like his SIN and birth certificate through <a href="http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/" target="_blank">unencrypted e-mail</a> to them. And you wonder why identity theft is so bad&#8230;</p>
<p>We as citizens and workers have some real things to gain or lose depending on the outcome of this consultation. If the current law is allowed to stand we will be stuck at a competitive disadvantage and have to choose between either less security in exported software products or more paperwork.</p>
<p>So do your part and make sure Canada doesn&#8217;t get stuck behind the technology curve. Join the debate.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2010/03/canadas-encryption-debate/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;title=Canada%27s+encryption+debate" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;title=Canada%27s+encryption+debate" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;t=Canada%27s+encryption+debate" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;title=Canada%27s+encryption+debate" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;title=Canada%27s+encryption+debate" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2010/03/canadas-encryption-debate/&amp;title=Canada%27s+encryption+debate" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Canada%27s+encryption+debate+-+http://b2l.me/jtakp&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2010/03/canadas-encryption-debate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RSA-768: Nothing to worry about</title>
		<link>http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/</link>
		<comments>http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 01:19:35 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Asymmetric Encryption]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[ElGamal]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[Public Key]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[RSA-768]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=256</guid>
		<description><![CDATA[I have been meaning to write up a short post about this for a while, but thanks to the start of a new school term I have been a bit busy. If you have seen the security news in the last month or so you will know that RSA-768, a 768bit or 232 decimal digit [...]]]></description>
			<content:encoded><![CDATA[<p>I have been meaning to write up a short post about this for a while, but thanks to the start of a new school term I have been a bit busy.</p>
<p>If you have seen the <a href="http://science.slashdot.org/story/10/01/07/1623249/Factorization-of-a-768-Bit-RSA-Modulus?from=rss&amp;utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+Slashdot%2Fslashdot+%28Slashdot%29" target="_blank">security news</a> in the last month or so you will know that RSA-768, a 768bit or 232 decimal digit asymmetric key, has been broken (factored). This has <a href="http://www.schneier.com/blog/archives/2010/01/768-bit_number.html" target="_blank">important security repercussions</a> for all of us because it is these public key algorithms like <a href="http://en.wikipedia.org/wiki/RSA" target="_blank">RSA</a>, or <a href="http://en.wikipedia.org/wiki/ElGamal_encryption" target="_blank">ElGamal</a>, that guard our <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security" target="_blank">online transactions</a>, and <a href="http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/" target="_blank">e-mail conversations</a>.</p>
<h2>So just how much should we be worrying about this newest &#8216;break&#8217;?</h2>
<p>When it comes to public key cryptography it is important to remember that their security is essentially in our inability to factor them quickly. The only real way that public key cryptography could be considered broken is if we find a way to <a href="http://en.wikipedia.org/wiki/Shor%27s_algorithm" target="_blank">drastically increase</a> our ability to factor massive prime numbers. Thankfully that time is still far away. In fact after digging into the news articles a little more it quickly became obvious that the feat of factoring a 768bit key, <a href="http://arstechnica.com/security/news/2010/01/768-bit-rsa-cracked-1024-bit-safe-for-now.ars" target="_blank">while incredibly difficult</a>, was inevitable.</p>
<h2>So what now?</h2>
<p>Nothing. Currently the most popular asymmetric key size in use is 1024bit, which represents a work load increase of over 1000 times when compared to RSA-768. Still afraid? Check out <a href="http://en.wikipedia.org/wiki/RSA_numbers" target="_blank">the list of RSA challenges</a> that have been issued over the years and just how few have actually be &#8216;broken&#8217;.</p>
<p>In choosing my current <a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy" target="_blank">PGP</a>/<a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard" target="_blank">GPG</a> public key I decided to go with a 2048bit one, which, according to all accounts, will be safe for years to come. As always, <a href="http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/" target="_blank">I recommend</a> checking out <a href="http://www.keylength.com/" target="_blank">this site</a> for the most up to date key length recommendations from the world&#8217;s foremost cryptography experts.</p>
<h2>There you have it</h2>
<p>With the knowledge that you&#8217;re online transactions are still perfectly safe you have nothing to worry about.</p>
<p>For reference, the currently recommended key lengths for asymmetric encryption algorithms, like RSA, are 1976bit (BSI recommendation for use after 2016), 2048bit (NSA recommendation for current and future use), and 2432 (ECRYPT II recommendation for protection until at least 2030).</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;title=RSA-768%3A+Nothing+to+worry+about" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;title=RSA-768%3A+Nothing+to+worry+about" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;t=RSA-768%3A+Nothing+to+worry+about" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;title=RSA-768%3A+Nothing+to+worry+about" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;title=RSA-768%3A+Nothing+to+worry+about" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/&amp;title=RSA-768%3A+Nothing+to+worry+about" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RSA-768%3A+Nothing+to+worry+about+-+http://b2l.me/dkmqg&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2010/01/rsa-768-nothing-to-worry-about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrated to a new PGP key</title>
		<link>http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/</link>
		<comments>http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 16:13:28 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[DSA]]></category>
		<category><![CDATA[ElGamal]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[Public Key]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SHA1]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=190</guid>
		<description><![CDATA[Well GPG to be more accurate As my existing key was set to expire at the end of this year I have issued myself a brand new one! After much though I finally decided that creating a new key from scratch was the best idea, rather than simply adding a new subkey, because I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>Well <a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard" target="_blank">GPG</a> to be more accurate <img src='http://www.tylerburton.ca/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>As my existing key was set to expire at the end of this year I have issued myself a brand new one! After much though I finally decided that creating a new key from scratch was the best idea, rather than simply adding a new subkey, because I wanted to move away from <a href="http://en.wikipedia.org/wiki/Digital_Signature_Algorithm" target="_blank">DSA</a>/<a href="http://en.wikipedia.org/wiki/ElGamal_encryption" target="_blank">ElGamal</a> toward <a href="http://en.wikipedia.org/wiki/RSA" target="_blank">RSA</a> primarily because of the weakening of <a href="http://www.schneier.com/blog/archives/2005/02/sha1_broken.html" target="_blank">SHA1</a>. If this all sounds like gibberish to you then don&#8217;t worry, the details aren&#8217;t nearly as important as the security provided by my new key.</p>
<p>If you&#8217;d like to make use of my new key please head over to the <a href="http://www.tylerburton.ca/about/" target="_blank">About Me</a> section where you will find it!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;title=Migrated+to+a+new+PGP+key" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;title=Migrated+to+a+new+PGP+key" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;t=Migrated+to+a+new+PGP+key" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;title=Migrated+to+a+new+PGP+key" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;title=Migrated+to+a+new+PGP+key" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/&amp;title=Migrated+to+a+new+PGP+key" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Migrated+to+a+new+PGP+key+-+http://b2l.me/b35pw&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/12/migrated-to-a-new-pgp-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hash Verifier 0.2.0.0 Released!</title>
		<link>http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/</link>
		<comments>http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 01:17:08 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[Created by Tyler Burton]]></category>
		<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[hash verifier]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[tyler burton]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=173</guid>
		<description><![CDATA[That&#8217;s right an update to your favourite hash verification program! This update includes a few new features that some of you might find useful. It also includes help documentation which walks you through how to use it! New Features Menu strip for even easier use Export features allows you to automatically write all of the [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s right an update to your favourite hash verification program! <img src='http://www.tylerburton.ca/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>This update includes a few new features that some of you might find useful. It also includes help documentation which walks you through how to use it!</p>
<p><strong>New Features</strong></p>
<ul>
<li>Menu strip for even easier use</li>
<li>Export features allows you to automatically write all of the hashes to a single file</li>
<li>About dialog that provides information about the program</li>
<li>Help documentation</li>
</ul>
<p><em>Requirements:</em></p>
<ul>
<li><strong>All platforms:</strong> .NET 2.0+ / Mono, a graphical display</li>
<li><strong>*nix platforms:</strong> WinForms (identified as System.Windows.Forms)</li>
</ul>
<p>As always the binary only package contains just the executable, whereas the all package contains the source code as well.</p>
<table border="1">
<tbody>
<tr>
<td></td>
<td><strong>Binary Only Package</strong></td>
<td><strong>All Package</strong></td>
</tr>
<tr>
<td><strong>File name:</strong></td>
<td>hash_verifier_0_2_0_0_binary.zip</td>
<td>hash_verifier_0_2_0_0_all.zip</td>
</tr>
<tr>
<td><strong>File hashes:</strong></td>
<td style="text-align: center;" colspan="2"><a href="http://www.tylerburton.ca/files/hashes/hash_verifier_0_2_0_0.hashes.txt">Download Here</a></td>
</tr>
<tr>
<td><strong>GPG signature:</strong></td>
<td><a href="http://www.tylerburton.ca/files/sigs/hash_verifier_0_2_0_0_binary.zip.sig" target="_blank">Download Here</a></td>
<td><a href="http://www.tylerburton.ca/files/sigs/hash_verifier_0_2_0_0_all.zip.sig" target="_blank">Download Here</a></td>
</tr>
<tr>
<td><strong>Screenshots:</strong></td>
<td><a href="http://www.tylerburton.ca/files/wordpress/2009/12/img3.png" target="_blank">Screenshot 1</a></td>
<td><a href="http://www.tylerburton.ca/files/wordpress/2009/12/img4.png" target="_blank">Screenshot 2</a></td>
</tr>
<tr>
<td><strong>License:</strong></td>
<td style="text-align: center;" colspan="2">(LGPL) <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">View Here</a></td>
</tr>
<tr>
<td><strong>Version:</strong></td>
<td style="text-align: center;" colspan="2">0.2.0.0</td>
</tr>
<tr>
<td><strong>File size:</strong></td>
<td>171.5KB</td>
<td>530.1KB</td>
</tr>
<tr>
<td><strong>File download:</strong></td>
<td><a href="http://www.tylerburton.ca/files/apps/hash_verifier_0_2_0_0_binary.zip" target="_blank">Download Here</a></td>
<td><a href="http://www.tylerburton.ca/files/apps/hash_verifier_0_2_0_0_all.zip" target="_blank">Download Here</a></td>
</tr>
</tbody>
</table>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;title=Hash+Verifier+0.2.0.0+Released%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;title=Hash+Verifier+0.2.0.0+Released%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;t=Hash+Verifier+0.2.0.0+Released%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;title=Hash+Verifier+0.2.0.0+Released%21" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;title=Hash+Verifier+0.2.0.0+Released%21" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/&amp;title=Hash+Verifier+0.2.0.0+Released%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Hash+Verifier+0.2.0.0+Released%21+-+http://b2l.me/byncn&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/12/hash-verifier-0-2-0-0-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pondering the best way to migrate to a new PGP key</title>
		<link>http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/</link>
		<comments>http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 02:55:36 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[DSS]]></category>
		<category><![CDATA[ElGamal]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[key migration]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[SHA1]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=134</guid>
		<description><![CDATA[Well its almost time for me to create a new PGP key. My current key for tyler at tylerburton dot ca is set to expire at the end of the year and I am trying to determine what the best way to migrate to a new key is. Some people suggest simply adding a new [...]]]></description>
			<content:encoded><![CDATA[<p>Well its almost time for me to create a new <a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy" target="_blank">PGP key</a>. My current key for tyler at tylerburton dot ca is set to expire at the end of the year and I am trying to determine what the best way to migrate to a new key is. Some people suggest simply adding a new encryption sub key and then changing the original signing key&#8217;s expiry date so that individuals wishing to verify your signatures can continue to do so uninterrupted. Unfortunately my current key is an <a href="http://en.wikipedia.org/wiki/ElGamal_encryption" target="_blank">ElGamal</a>/<a href="http://en.wikipedia.org/wiki/Digital_Signature_Algorithm" target="_blank">DSS</a> based one and, after the recent increased <a href="http://csrc.nist.gov/groups/ST/hash/statement.html" target="_blank">attacks on SHA1</a>, I would really prefer to move to an <a href="http://en.wikipedia.org/wiki/RSA" target="_blank">RSA</a> based key.</p>
<p>Alas I think I&#8217;m going to have to just create a new key and sign it with the current one. If anyone has any better alternatives please let me know!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;title=Pondering+the+best+way+to+migrate+to+a+new+PGP+key" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;title=Pondering+the+best+way+to+migrate+to+a+new+PGP+key" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;t=Pondering+the+best+way+to+migrate+to+a+new+PGP+key" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;title=Pondering+the+best+way+to+migrate+to+a+new+PGP+key" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;title=Pondering+the+best+way+to+migrate+to+a+new+PGP+key" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/&amp;title=Pondering+the+best+way+to+migrate+to+a+new+PGP+key" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Pondering+the+best+way+to+migrate+to+a+new+PGP+key+-+http://b2l.me/byb9t&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/11/pondering-the-best-way-to-migrate-to-a-new-pgp-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security tip #3: public key cryptography &amp; PGP</title>
		<link>http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/</link>
		<comments>http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 19:58:51 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[OpenPGP]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=43</guid>
		<description><![CDATA[Public key cryptography is one of the most essential pieces to online security. It is at the root of what enables you to shop online, do secure online banking, and communicate securely. I will be focusing on the latter in this tip. But first a quick and simple refresher on what public key cryptography is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Public-key_cryptography" target="_blank">Public key cryptography</a> is one of the most essential pieces to <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security" target="_blank">online security</a>. It is at the root of what enables you to shop online, do secure online banking, and communicate securely. I will be focusing on the latter in this tip. But first a quick and simple refresher on what public key cryptography is and how it works.</p>
<h2>How public key cryptography works</h2>
<p>Or rather how you use it. Cryptography allows you can lock any data or information inside of a digital safe. Generally this is done through the use of a shared key (password). This is similar to how you, and only you, can log on to your <a href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access" target="_blank">home wireless internet</a>. But what if you don&#8217;t already have a shared key? This is where public key cryptography comes in to play.</p>
<p>Public key crypto works by using two keys instead of one. We will call these keys the public key and the private key. The public key can be thought of as your listing in a phone book, you want everyone to be able to get a hold of it in case they need to get a hold of you. The private key on the other hand is like your voice mail password, you only want one person to know it: you.</p>
<p>Messages and data encrypted with your public key are put into a digital safe that can&#8217;t be opened by anyone, even the person who just put the data into the safe, except you. This is important because it means anyone and everyone can encrypt things to send to you but you will be the only one able to decrypt them, or open the safe.</p>
<p>OK, so I can encrypt things with your public key and only you can open it. Now what?</p>
<p>Now we use it to send private e-mail.</p>
<h2>Pretty Good Privacy (PGP)</h2>
<p><a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy" target="_blank">PGP</a> uses a system of keys which are actually just public and private keys. If I want to send you a private e-mail I just need to get a hold of your public key. For added integrity I could also <a href="http://en.wikipedia.org/wiki/Digital_signature" target="_blank">sign the message</a> using my private key, which you could then in turn verify with my public key, but that is beyond the scope of this post. Set up correctly not only does PGP allow me to receive secure e-mails, that no one but me can read, but also verify that the person who actually sent me the e-mail is who I think it is.</p>
<h2>GNU Privacy Guard (GnuPG)</h2>
<p><a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard" target="_blank">GnuPG</a> is a a free and open source implementation of <a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy#OpenPGP" target="_blank">OpenPGP</a> that is very common. Most Linux distributions come equipped with it by default but Windows users will most likely need to download it. Several e-mail clients also integrate seamlessly with GnuPG which makes things very easy. Others, like <a href="http://en.wikipedia.org/wiki/Microsoft_Outlook" target="_blank">Outlook</a> and <a href="http://en.wikipedia.org/wiki/Mozilla_Thunderbird" target="_blank">Thunderbird</a>, simply require an add-on.</p>
<h2>How to get GnuPG</h2>
<p>This is a simple step but is crucial to getting everything to work. Jump over to the official website, <a href="http://www.gnupg.org/" target="_blank">http://www.gnupg.org/</a>, or hop right over to their <a href="http://www.gnupg.org/download/index.en.html" target="_blank">download section here</a> and grab a copy of it. For Window&#8217;s users you can just grab the binary, indicated by the letter <em>B</em>, while Linux and Mac users should either look in their software repositories or follow the links available. Once installed GnuPG, or <em>gpg</em> as it will be called, should be good to go.</p>
<h2>Generate your first key</h2>
<p>There are a number of different ways to generate your keys, from within the terminal or command line to within your favourite e-mail client. Rather than cover all of the numerous possible ways that you <em>could</em> generate your key I&#8217;m going to only cover two: the terminal and from within Thunderbird (see below).</p>
<p><strong>1.</strong> Open up a terminal or a command prompt</p>
<p><strong>2.</strong> Type:</p>
<blockquote><p>gpg &#8211;gen-key</p></blockquote>
<p>That&#8217;s two dashes before &#8220;gen&#8221;</p>
<p><strong>3.</strong> This should prompt you with the following options:</p>
<blockquote><p>Please select what kind of key you want:<br />
(1) DSA and Elgamal (default)<br />
(2) DSA (sign only)<br />
(5) RSA (sign only)<br />
Your selection?</p></blockquote>
<p>As you can see there are a couple of different options. Let&#8217;s break it down a little. <a href="http://en.wikipedia.org/wiki/Digital_Signature_Algorithm" target="_blank">Digital Signature Algorithm</a>, is the standard way of signing messages. <a href="http://en.wikipedia.org/wiki/ElGamal_encryption" target="_blank">El Gamal</a> is a widespread way of encrypting a message. Finally <a href="http://en.wikipedia.org/wiki/RSA" target="_blank">RSA</a> is a versatile algorithm that can do both (don&#8217;t worry about the <em>sign only</em> part of #5, we can fix that later).</p>
<p>For your first key I recommend making a test key just so you can familiarize yourself with the steps required.</p>
<p><strong>4.</strong> Type the number &#8220;1&#8243; and press Enter. It should now be asking you what size you want the key to be.</p>
<blockquote><p>DSA keypair will have 1024 bits.<br />
ELG-E keys may be between 1024 and 4096 bits long.<br />
What keysize do you want? (2048)</p></blockquote>
<p>The <a href="http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/" target="_blank">current recommendations</a> seem to be that a 2048 bit key is a very good idea. Creating a larger key will make it more secure but might take a bit longer to generate the key. For now let&#8217;s just go with the default 2048. Press enter.</p>
<p><strong>5.</strong> Next gpg will ask you how long the key should be valid for. This expiry date is important because should you lose your key, or have it compromised, you will at least feel good that eventually it will become invalid. For this example key we will set it to expire tomorrow. In order to do so type &#8220;1&#8243; and press enter. If you wanted it to expire in one week, month, or even year you just need to instead type &#8220;1w&#8221;, &#8220;1m&#8221;, or &#8220;1y&#8221; respectively.</p>
<blockquote><p>Please specify how long the key should be valid.<br />
0 = key does not expire<br />
&lt;n&gt;  = key expires in n days<br />
&lt;n&gt;w = key expires in n weeks<br />
&lt;n&gt;m = key expires in n months<br />
&lt;n&gt;y = key expires in n years<br />
Key is valid for? (0)</p></blockquote>
<p><strong>6.</strong> This is where you would enter your personal information. You don&#8217;t want to lie about this because this key is meant to identify you as <em>you</em> and only <em>you</em>! However for this example I am going to enter the following information:</p>
<blockquote><p>You need a user ID to identify your key; the software constructs the user ID<br />
from the Real Name, Comment and Email Address in this form:<br />
&#8220;Heinrich Heine (Der Dichter) &lt;heinrichh@duesseldorf.de&gt;&#8221;</p>
<p>Real name: Test Key<br />
Email address: testkey@tylerburton.ca<br />
Comment:<br />
You selected this USER-ID:<br />
&#8220;Test Key &lt;testkey@tylerburton.ca&gt;&#8221;</p></blockquote>
<p>Once you have verified this information type &#8220;o&#8221; and hit enter for &#8220;OK&#8221;</p>
<p><strong>7.</strong> It will now prompt you for a passphrase. A passphrase gives your key some additional security. Once your key is generated you want to make sure that <strong>no one</strong> else can get a hold of your private key. If someone does don&#8217;t panic, there are ways for you to revoke the key, but a lot of damage can still be done with someone reading your encrypted e-mails or impersonating you. A passphrase makes it difficult for someone to decrypt your e-mail or impersonate you <em>even if</em> they have a copy of your secret key.</p>
<p><strong>8.</strong> One you finish this GnuPG will generate the large prime numbers used in your key. This may take a while depending on the hardware you are running. When it&#8217;s done you will be shown your key&#8217;s information. It should look something like this:</p>
<blockquote><p>pub   1024D/E1775F9E 2009-10-04 [expires: 2009-10-05]<br />
Key fingerprint = 6DD1 5B41 1279 03E5 1088  225C 5B1B 90A9 E177 5F9E<br />
uid                  Test Key &lt;testkey@tylerburton.ca&gt;<br />
sub   2048g/4DDF6291 2009-10-04 [expires: 2009-10-05]</p></blockquote>
<p><strong>9.</strong> That&#8217;s it! You now have a key that you can use to securely encrypt your e-mail and files. Just be sure to get your public key out to as many people as possible. You can even upload it to a public key server so others can easily retrieve it.</p>
<h2>Setting up Thunderbird</h2>
<p>Obviously these instructions will only work if you use Thunderbird as your mail client. That being said a quick <a href="http://www.google.com" target="_blank">google</a> search provide you with all of the answers you&#8217;ll need to set up PGP with your e-mail client of choice.</p>
<p><strong>1.</strong> Download and install the <a href="https://addons.mozilla.org/en-US/thunderbird/addon/71" target="_blank">Enigmail</a> add-on for Thunderbird.</p>
<p><strong>2.</strong> This will add a title bar option labeled &#8220;OpenPGP.&#8221; You may want to turn on expert mode to give yourself some extra options but that&#8217;s your choice. Inside of this menu you will find something called &#8220;Key Management.&#8221; If you click this, it will show you all of the keys you have stored in your <em>key ring</em>. The ones for which you have a private key are highlighted in <strong>bold</strong>.</p>
<p><strong>3. </strong>Next go into your account settings and you&#8217;ll notice a new option called &#8220;OpenPGP Security.&#8221; Click this and check the box called &#8220;Enable OpenPGP support.&#8221; This will add two small icons to the bottom of your new e-mail composition window. One looks like a pen and when it is highlighted means you will sign the e-mail, proving that you were the one who sent it. The other is a key; if you have the recipient&#8217;s public key you can use this to encrypt the message you are sending so that no one else will be able to read it. Take a look at the options provided and set it up to your liking.</p>
<p><strong>4.</strong> That&#8217;s it! You now have PGP support for your e-mail! If you feel like creating a new key, or even your first key, I would suggest doing so from the Key Manager inside of Enigmail instead of via the command line. It provides a very easy wizard to walk you through.</p>
<h2>Final points</h2>
<p><strong>1.</strong> Hopefully this mini-guide  hasn&#8217;t scared you away from trying PGP yourself. If you are asking yourself <em>&#8216;why should I even bother? I have nothing to hide&#8217;</em> you should take a moment while sending that next e-mail and consider if you instead wrote the same thing on a postcard and sent it on an around the world trip. This analogy gives you an idea of how little privacy your current e-mails have. As they are sent out over the internet they hop from server to server until they reach their destination. You have little to no control over what these servers do with your e-mail. Still have nothing to hide? Then you are far less concerned about identity theft then I am.</p>
<p><strong>2.</strong> I said above, when selecting what type of key to create, that if you chose RSA (sign only) you could still use it to encrypt e-mail. This is true and all you need to do is edit the key by typing:</p>
<blockquote><p>gpg &#8211;edit-key [e-mail address goes here]</p></blockquote>
<p>(that&#8217;s two dashes in front of edit-key) and then on the next prompt entering:</p>
<blockquote><p>addkey</p></blockquote>
<p>This will walk you through adding an additional subkey, this time used for encryption. Just follow the steps as before and you should be set!</p>
<p><strong>3.</strong> Remember PGP can be used for more things than just e-mail. You can also digitally sign documents and files or even encrypt them just like you can with your e-mail.</p>
<p><strong>4.</strong> Now that you have this set up I fully expect any e-mail being sent my way to make use of it <img src='http://www.tylerburton.ca/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;title=Security+tip+%233%3A+public+key+cryptography+%26+PGP" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;title=Security+tip+%233%3A+public+key+cryptography+%26+PGP" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;t=Security+tip+%233%3A+public+key+cryptography+%26+PGP" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;title=Security+tip+%233%3A+public+key+cryptography+%26+PGP" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;title=Security+tip+%233%3A+public+key+cryptography+%26+PGP" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/&amp;title=Security+tip+%233%3A+public+key+cryptography+%26+PGP" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Security+tip+%233%3A+public+key+cryptography+%26+PGP+-+http://b2l.me/byb8x&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/10/security-tip-3-public-key-cryptography-pgp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One algorithm to rule them all?</title>
		<link>http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/</link>
		<comments>http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 15:32:16 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[CRYPTREC]]></category>
		<category><![CDATA[DES]]></category>
		<category><![CDATA[MARS]]></category>
		<category><![CDATA[NESSIE]]></category>
		<category><![CDATA[NIST]]></category>
		<category><![CDATA[RC6]]></category>
		<category><![CDATA[Rijndael]]></category>
		<category><![CDATA[Serpent]]></category>
		<category><![CDATA[SHA1]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[Twofish]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=61</guid>
		<description><![CDATA[In the world of computers interoperability is key. If I send you an e-mail from my machine I should hope that you&#8217;re e-mail client would be able to read it. This is why we have standards. Standards are a good thing. They allow people to focus on improving performance and driving down costs instead of [...]]]></description>
			<content:encoded><![CDATA[<p>In the world of computers interoperability is key. If I send you an e-mail from my machine I should hope that you&#8217;re e-mail client would be able to read it. This is why we have standards. Standards are a good thing. They allow people to focus on improving performance and driving down costs instead of splintering user base and polluting the world with&#8230; less than elegant designs.</p>
<p>But what if <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard#Security" target="_blank">relying on a single standard</a> is not the correct way to do things either? As someone who enjoys reading about computer security this is an area where I can see some strength to the argument that standards are both good and bad. Take <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard" target="_blank">AES</a> as an example. If AES wasn&#8217;t the sole symmetric encryption standard we would run into a whole slew of interoperability problems&#8230; or would we? After all shouldn&#8217;t a degree of flexibility be a key piece of any good security system?</p>
<p>Now I know what you&#8217;re thinking. Why would we need to support more than one? Just look at these quick reasons why this would be an issue that I can name off of the top of my head:</p>
<ol>
<li>Security</li>
<li>Interoperability</li>
<li>Performance</li>
<li>Cost</li>
</ol>
<p><strong>Security</strong></p>
<p>Let&#8217;s first take a look at this. Think back to the <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard_process" target="_blank">Advanced Encryption Standard process</a> that <a href="http://www.nist.gov/" target="_blank">NIST</a> was running which began in 1997. After many rounds of analysis NIST was presented with the choice of selecting a standard based on one of the following algorithms: <a href="http://en.wikipedia.org/wiki/Rijndael" target="_blank">Rijndael</a>, <a href="http://en.wikipedia.org/wiki/Serpent_%28cipher%29" target="_blank">Serpent</a>, <a href="http://en.wikipedia.org/wiki/Twofish" target="_blank">Twofish</a>, <a href="http://en.wikipedia.org/wiki/RC6" target="_blank">RC6</a> and finally <a href="http://en.wikipedia.org/wiki/MARS_%28cryptography%29" target="_blank">MARS</a>. Any one of these <em>could</em> have ended up being what we call AES today. In fact the &#8216;winner,&#8217; Rijndael, wasn&#8217;t even the most secure algorithm, just the best overall. With some of the <a href="http://www.schneier.com/blog/archives/2009/07/another_new_aes.html" target="_blank">recent attacks on AES</a> perhaps it would have been better if a different algorithm was selected. Additionally, given the ability to use more than one algorithm opens up the possibility to use cascading ciphers, wrapping crucial data in more than one layer of security.</p>
<p><strong>Interoperability</strong></p>
<p>Interoperability is a huge issue when you are trying to make things work together. However rather than having a single interoperable cipher I feel as though it is much more important to have a single interoperable protocol. That way we could offer a variety of algorithms within it, so long as the protocol was flexible enough to be future-proofed. And don&#8217;t say we could never do this. The <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security" target="_blank">Transport Layer Security</a> protocol which replaced SSL is perhaps the most widely used example of this, however <a href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank">many</a> <a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy" target="_blank">more</a> also exist. All of these allow for multiple ciphers and algorithms to be used, thus allowing stronger ones to be added in the future. In fact a lot of these also allow the user to set just which algorithms they want to allow for security purposes; for example I don&#8217;t trust DES, so I won&#8217;t allow it.</p>
<p><em>But what if we don&#8217;t agree on a set of algorithms?</em></p>
<p>This is a good point, and really one of the only areas that this line of thought starts to break down. In general the existing protocols have solved this by requiring at least one algorithm, in each category, as a sort of fall back. Traditionally this has been <a href="http://en.wikipedia.org/wiki/Data_Encryption_Standard" target="_blank">DES</a> and <a href="http://en.wikipedia.org/wiki/SHA_hash_functions" target="_blank">SHA1</a>. Thankfully as time moves forward the protocols also develop and slowly change what these defaults are.</p>
<p><strong>Performance</strong></p>
<p>A real concern is algorithm performance. Some might think that by supporting more than one algorithm we run the risk of not improving the standard as fast as we could have been. However I think this concern is really overblown. In fact many of the other AES finalists have seen continued improvements since the end of that process.</p>
<p><strong>Cost</strong></p>
<p>Hardware cost is certainly an issue. The more features a piece of hardware supports, the more the hardware will cost. Not only that but supporting more than one algorithm in limited hardware just may not be feasible in certain circumstances, such as in <a href="http://en.wikipedia.org/wiki/Smart_card" target="_blank">smart cards</a> for example. Still this is a scenario where the fallback algorithm could be used.</p>
<p><em>If AES just works, why bother thinking about the rest?</em></p>
<p>NIST was kind of unique in it&#8217;s decision to only support one symmetric block cipher. In fact both <a href="http://en.wikipedia.org/wiki/CRYPTREC" target="_blank">CRYPTREC</a> and <a href="http://en.wikipedia.org/wiki/NESSIE" target="_blank">NESSIE</a>, decided to select suites of algorithms. Unfortunately this means that NIST&#8217;s algorithm choices, which are in fact a subset of both CRYPTREC and NESSIE, are going to be the only ones really implemented &#8211; especially when the US is such a large market.</p>
<p><strong>Conclusion</strong></p>
<p>After everything is said and done I am more thankful that we have a strong common cipher available, rather than a lack of any. That being said I think choice and diversity is a good thing. I just wish more things would be designed with future innovations in mind rather than suddenly having to switch over when <a href="http://en.wikipedia.org/wiki/MD5#Vulnerability" target="_blank">things</a> go <a href="http://en.wikipedia.org/wiki/SHA_hash_functions#SHA-1" target="_blank">wrong</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;title=One+algorithm+to+rule+them+all%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;title=One+algorithm+to+rule+them+all%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;t=One+algorithm+to+rule+them+all%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;title=One+algorithm+to+rule+them+all%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;title=One+algorithm+to+rule+them+all%3F" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/&amp;title=One+algorithm+to+rule+them+all%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=One+algorithm+to+rule+them+all%3F+-+http://b2l.me/byb92&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/09/one-algorithm-to-rule-them-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AES explained by stick figures</title>
		<link>http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/</link>
		<comments>http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 20:40:09 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[AES]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=54</guid>
		<description><![CDATA[I thought this little piece was amazing! Moserware: A Stick Figure Guide to the Advanced Encryption Standard (AES) Thanks for Bruce Schneier for spreading the news on this one. Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this on Facebook Post on Google Buzz Share this on Reddit Submit [...]]]></description>
			<content:encoded><![CDATA[<p>I thought this little piece was amazing!</p>
<p><a href="http://www.moserware.com/2009/09/stick-figure-guide-to-advanced.html" target="_blank"><strong>Moserware: A Stick Figure Guide to the Advanced Encryption Standard (AES)</strong></a></p>
<p>Thanks for <a href="http://en.wikipedia.org/wiki/Bruce_Schneier" target="_blank">Bruce Schneier</a> for <a href="http://www.schneier.com/blog/archives/2009/09/a_stick_figure.html" target="_blank">spreading the news</a> on this one.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;title=AES+explained+by+stick+figures" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;title=AES+explained+by+stick+figures" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;t=AES+explained+by+stick+figures" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;title=AES+explained+by+stick+figures" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;title=AES+explained+by+stick+figures" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/&amp;title=AES+explained+by+stick+figures" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=AES+explained+by+stick+figures+-+http://b2l.me/by4fZ&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/09/aes-explained-by-stick-figures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security tip #2: key lengths</title>
		<link>http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/</link>
		<comments>http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 20:13:06 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[BSI]]></category>
		<category><![CDATA[DES]]></category>
		<category><![CDATA[ECRYPT]]></category>
		<category><![CDATA[El Gamal]]></category>
		<category><![CDATA[Hash]]></category>
		<category><![CDATA[NSA]]></category>
		<category><![CDATA[RSA]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=47</guid>
		<description><![CDATA[In cryptography a key length refers to the digital size of the &#8216;key&#8217; used to unlock the encryption algorithm. Over time the length of these keys has increased from DES&#8217; modest 64 bit (really 56 bit) key size all the way to the new AES specified key lengths of 128 and 256 bit keys. Each [...]]]></description>
			<content:encoded><![CDATA[<p>In cryptography a key length refers to the digital size of the &#8216;key&#8217; used to unlock the encryption algorithm. Over time the length of these keys has increased from <a href="http://en.wikipedia.org/wiki/Data_Encryption_Standard" target="_blank">DES&#8217;</a> modest 64 bit (really 56 bit) key size all the way to the new <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard" target="_blank">AES</a> specified key lengths of 128 and 256 bit keys. Each bit increase in in the algorithm doubles the potential number of keys available to use, thus usually making it harder for an adversary to guess the right key.</p>
<p>A common question people come up against is what key size should I use? Luckily I found <a href="http://www.keylength.com/" target="_blank">a website</a> the other day that explores just this. It takes recommendations from the world&#8217;s foremost crypto experts and from cryptography conferences to present an estimation of an appropriate key length to use. What&#8217;s more they even compare symmetric key lengths, like AES, to asymmetric key lengths, like public key cryptography such as RSA, so you could see just how large of a key size you need to achieve relative security.</p>
<p>For simplicity I have included below the recommendations from various sources released in 2009. All of them are for the highest level of security suggested, so that might be a little overkill for every day use.</p>
<p><!-- 		@page { margin: 0.79in } 		TD P { margin-bottom: 0in } 		P { margin-bottom: 0.08in } --></p>
<table border="1" cellspacing="0" cellpadding="4" width="100%" bordercolor="#000000">
<tbody>
<tr valign="TOP">
<td width="20%"><strong>Source</strong></td>
<td width="20%"><strong>Symmetric</strong></td>
<td width="20%"><strong>Asymmetric</strong></td>
<td width="20%"><strong>Elliptic Curve</strong></td>
<td width="20%"><strong>Hash</strong></td>
</tr>
<tr valign="TOP">
<td width="20%">ECRYPT II</td>
<td width="20%">256</td>
<td width="20%">15424</td>
<td width="20%">512</td>
<td width="20%">512</td>
</tr>
<tr valign="TOP">
<td width="20%">NSA Suite B Fact Sheet</td>
<td width="20%">256</td>
<td width="20%">N/A</td>
<td width="20%">384</td>
<td width="20%">384</td>
</tr>
<tr valign="TOP">
<td width="20%">BSI</td>
<td width="20%">N/A</td>
<td width="20%">1976</td>
<td width="20%">224</td>
<td width="20%">224-512</td>
</tr>
</tbody>
</table>
<p><em>Note: The asymmetric numbers listed here are to show how large an asymmetric key should be to get equivalent security to a symmetric key. However this is not how most asymmetric keys are used. Instead they are used just to encrypt a symmetric key which does all of the work, the so called hybrid approach, because symmetric algorithms are much, much faster. As such most of these sources also make it a point to mention that an El Gamal or RSA key should actually be about 2048+ bit in size for a decent trade-off.</em></p>
<p>As you can see even among the experts the numbers vary quite a bit. To me this just proves that no one <em>really</em> knows how much security you need. The best you can do is decide on a decent trade-off between security and performance for your purposes. Nevertheless it is still interesting to see what the experts have to say when it comes to choosing a key length.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;title=Security+tip+%232%3A+key+lengths" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;title=Security+tip+%232%3A+key+lengths" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;t=Security+tip+%232%3A+key+lengths" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;title=Security+tip+%232%3A+key+lengths" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;title=Security+tip+%232%3A+key+lengths" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/&amp;title=Security+tip+%232%3A+key+lengths" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Security+tip+%232%3A+key+lengths+-+http://b2l.me/byu89&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/09/security-tip-2-key-lengths/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Security tip #1: disable JavaScript in PDF reader</title>
		<link>http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/</link>
		<comments>http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 22:20:18 +0000</pubDate>
		<dc:creator>Tyler Burton</dc:creator>
				<category><![CDATA[Computer security]]></category>
		<category><![CDATA[Acrobat Reader]]></category>
		<category><![CDATA[Foxit Reader]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.tylerburton.ca/?p=19</guid>
		<description><![CDATA[I would like to start a series of non-regular posts related to basic computer security. Security and cryptography are two areas of computer science that I have a passion for and, unfortunately, are two areas that most computer users do a truly terrible job at. I will try to make these as straight forward as [...]]]></description>
			<content:encoded><![CDATA[<p>I would like to start a series of non-regular posts related to basic <a href="http://en.wikipedia.org/wiki/Computer_security" target="_blank">computer security</a>. Security and <a href="http://en.wikipedia.org/wiki/Cryptography" target="_blank">cryptography</a> are two areas of <a href="http://en.wikipedia.org/wiki/Computer_science" target="_blank">computer science</a> that I have a passion for and, unfortunately, are two areas that most computer users do a truly terrible job at. I will try to make these as straight forward as possible so anyone can follow along!</p>
<p>For the record, the suggestions I will be making in these tips are simply things that I have found to work for me. Whether or not they work for you, or even are appropriate for you, falls completely upon you to decide.</p>
<hr />Earlier in the year <a href="http://www.adobe.com/" target="_blank">Adobe&#8217;s</a> <a href="http://en.wikipedia.org/wiki/Acrobat_Reader" target="_blank">Acrobat Reader</a> fell under attack do to <a href="http://en.wikipedia.org/wiki/Acrobat_Reader#Security" target="_blank">a flaw in the way it processes JavaScript</a> inside of <a href="http://en.wikipedia.org/wiki/Portable_Document_Format" target="_blank">PDFs</a>. This was especially shocking to me because I had no idea you could even embed <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> inside of a PDF. Thankfully this has since been patched, however <a href="http://en.wikipedia.org/wiki/Scripting_language" target="_blank">scripting</a> is one of those things that seems to attract continuous attacks. Therefore I am going to walk you through how to turn off JavaScript inside of your favourite PDF reader, so long as your favourite PDF reader is either Acrobat Reader or <a href="http://en.wikipedia.org/wiki/Foxit_Reader" target="_blank">Foxit Reader</a> <img src='http://www.tylerburton.ca/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> <em> </em></p>
<p><em><br />
Note:</em> I understand that JavaScript can be useful for many things, for example as a PDF form auto-competition mechanism. That being said I have never needed this feature and since disabling it many months ago I have never had to enable it for a single PDF. While your circumstances may vary from mine, I still do not see any harm in disabling this feature and then only selectively enabling it when and if you ever need it.</p>
<h2><strong>Adobe Acrobat Reader</strong></h2>
<ol>
<li>Open Acrobat Reader</li>
<li>Open the Preferences window. To do this click Edit &gt; Preferences</li>
<li>Click JavaScript on the left<br />
<a href="http://www.tylerburton.ca/files/wordpress/2009/09/acrobat_js1.jpg" target="_blank"><img class="aligncenter size-medium wp-image-25" title="acrobat_js1" src="http://www.tylerburton.ca/files/wordpress/2009/09/acrobat_js1-300x231.jpg" alt="acrobat_js1" width="300" height="231" /></a></li>
<li>Uncheck &#8220;Enable Acrobat JavaScript&#8221;<br />
<a href="http://www.tylerburton.ca/files/wordpress/2009/09/acrobat_js2.jpg" target="_blank"><img class="aligncenter size-medium wp-image-26" title="acrobat_js2" src="http://www.tylerburton.ca/files/wordpress/2009/09/acrobat_js2-300x232.jpg" alt="acrobat_js2" width="300" height="232" /></a></li>
<li>Click OK</li>
<li>You&#8217;re done!</li>
</ol>
<h2><strong>Foxit Reader</strong></h2>
<ol>
<li>Open Foxit Reader</li>
<li>Open the Preferences window. To do this click Tools &gt; Preferences</li>
<li>Click JavaScript on the left<br />
<a href="http://www.tylerburton.ca/files/wordpress/2009/09/foxit_reader_js1.jpg" target="_blank"><img class="aligncenter size-medium wp-image-22" title="foxit_reader_js1" src="http://www.tylerburton.ca/files/wordpress/2009/09/foxit_reader_js1-300x220.jpg" alt="foxit_reader_js1" width="300" height="220" /></a></li>
<li>Uncheck &#8220;Enable JavaScript Actions&#8221;<br />
<a href="http://www.tylerburton.ca/files/wordpress/2009/09/foxit_reader_js2.jpg" target="_blank"><img class="aligncenter size-medium wp-image-23" title="foxit_reader_js2" src="http://www.tylerburton.ca/files/wordpress/2009/09/foxit_reader_js2-300x220.jpg" alt="foxit_reader_js2" width="300" height="220" /></a></li>
<li>Click OK</li>
<li>You&#8217;re done!</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;title=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;title=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;t=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;title=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;title=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/&amp;title=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Security+tip+%231%3A+disable+JavaScript+in+PDF+reader+-+http://b2l.me/by4gb&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.tylerburton.ca/2009/09/security-tip-1-disable-javascript-in-pdf-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
