<?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>apt-get install &#187; Security</title>
	<atom:link href="http://apt-get.biffster.org/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://apt-get.biffster.org</link>
	<description>Cool topics for computer geeks</description>
	<lastBuildDate>Wed, 07 Jul 2010 18:28:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HOWTO: tunnel pidgin over ssh</title>
		<link>http://apt-get.biffster.org/2008/12/15/howto-tunnel-pidgin-over-ssh/</link>
		<comments>http://apt-get.biffster.org/2008/12/15/howto-tunnel-pidgin-over-ssh/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 15:09:41 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Debian/Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2008/12/15/howto-tunnel-pidgin-over-ssh/</guid>
		<description><![CDATA[http://cudge.org/files/Tunneling-Pidgin Yeah, the above link has to be commended for its awesomeness and its brevity. 8 simple steps (7 for those of us running Linux) to tunnel all Pidgin traffic over an ssh connection. Excellent. And kudos to you, lordm, for the suggestion of using the Pidgin OTR plugin, a most excellent piece of code [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cudge.org/files/Tunneling-Pidgin">http://cudge.org/files/Tunneling-Pidgin</a></p>
<p>Yeah, the above link has to be commended for its awesomeness and its brevity. 8 simple steps (7 for those of us running Linux) to tunnel all Pidgin traffic over an ssh connection. Excellent. And kudos to you, lordm, for the suggestion of using the <a href="http://www.cypherpunks.ca/otr/">Pidgin OTR</a> plugin, a most excellent piece of code that can encrypt and authenticate IM traffic.</p>
<p>Definitely bookmark the above page!</p>
<div class="flockcredit" style="text-align: right; color: #CCC; font-size: x-small;">Blogged with the <a href="http://www.flock.com/blogged-with-flock" style="color: #999; font-weight: bold;" target="_new" title="Flock Browser">Flock Browser</a></div>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2008/12/15/howto-tunnel-pidgin-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Code Search pulls up WordPress passwords?</title>
		<link>http://apt-get.biffster.org/2006/10/06/google-code-search-pulls-up-wordpress-passwords/</link>
		<comments>http://apt-get.biffster.org/2006/10/06/google-code-search-pulls-up-wordpress-passwords/#comments</comments>
		<pubDate>Fri, 06 Oct 2006 22:16:11 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2006/10/06/google-code-search-pulls-up-wordpress-passwords/</guid>
		<description><![CDATA[It&#8217;s always surprising some of the things that can be found on Google with a little digging. Personal email, intimate photos, credit card numbers, you name it, someone has had it indexed by Google. Each new search service that Google rolls out adds new ways to find some of this interesting information. And Google Code [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always surprising some of the things that can be found on Google with a little digging. Personal email, intimate photos, credit card numbers, you name it, someone has had it indexed by Google. Each new search service that Google rolls out adds new ways to find some of this interesting information. And <a href="http://deathbycomet.com/2006/10/05/some-of-your-db-passwords-are-belong-to-us/">Google Code Search is no different. In fact, some have already used it to find WordPress usernames and passwords:</a></p>
<blockquote><p>Being the curious beings we are, a friend of mine and I immediately started searching for passwords to see just how much Google was indexing. It didnâ€™t turn up much in the way of anything â€œsecretâ€? until we refined our search to just wp-config files (the file that contains the database connection information for WordPress installs).That worked. Since Google Code Search actually indexes the contents of compressed files like ZIP and TARBALL files, we were able to find copies of peopleâ€™s wp-config files and several contained usernames and passwords.</p></blockquote>
<p>This leads to a bit of very important advice: if you archive any type of PHP web application for backup/transfer, <em><strong>do not leave the archive file somewhere that Google can index it!</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/10/06/google-code-search-pulls-up-wordpress-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeEnigma &#8211; webmail encryption extension for Firefox</title>
		<link>http://apt-get.biffster.org/2006/08/26/freeenigma-webmail-encryption-extension-for-firefox/</link>
		<comments>http://apt-get.biffster.org/2006/08/26/freeenigma-webmail-encryption-extension-for-firefox/#comments</comments>
		<pubDate>Sun, 27 Aug 2006 00:46:06 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2006/08/26/freeenigma-webmail-encryption-extension-for-firefox/</guid>
		<description><![CDATA[Big thanks toÂ  to iSpider.pl for pointing me towards FreeEnigma, a Firefox extension which can encrypt/decrypt webmail messages on the fly: FreeEnigma brings cryptography to webmail, with an ingenious set of free and open browser plug-ins that work with Yahoo, Gmail, and others. The plugins implement a version of GPG (the free/open version of Pretty [...]]]></description>
			<content:encoded><![CDATA[<p>Big thanks toÂ  to <a href="http://chrisek.pl/wordpress/2006/08/25/gmail-cryptography-plugin/">iSpider.pl </a> for pointing me towards <a href="http://freeenigma.com">FreeEnigma</a>, a Firefox extension which can encrypt/decrypt webmail messages on the fly:</p>
<blockquote><p>FreeEnigma brings cryptography to webmail, with an ingenious set of free and open browser plug-ins that work with Yahoo, Gmail, and others. The plugins implement a version of GPG (the free/open version of Pretty Good Privacy) and scramble and de-scramble the text in your webmail before you send it and after you receive it, reducing the amount of information that webmail providers have on your communications.</p></blockquote>
<p>Those who know me know that I am a big proponent of encryption. My reasons are mainly philosophical. Email is normally sent in plain-text, which means anyone between the sender and the recipient can read that email. Add in the fact that our current administration seems to truly believe it is legal to snoop on all communication within and without this country, and you have the possibility for a very bad situation. Encrypting email might make using email a little more difficult, but it is worth it to help enhance one&#8217;s privacy.</p>
<p>FreeEnigma is currently doing a roll-out by invitiation. If you are interested, you can sign up for an invite on their website.</p>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/08/26/freeenigma-webmail-encryption-extension-for-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WTF? &#8220;Tor: Freedom for whom?&#8221;</title>
		<link>http://apt-get.biffster.org/2006/06/27/wtf-tor-freedom-for-whom/</link>
		<comments>http://apt-get.biffster.org/2006/06/27/wtf-tor-freedom-for-whom/#comments</comments>
		<pubDate>Tue, 27 Jun 2006 20:50:42 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2006/06/27/wtf-tor-freedom-for-whom/</guid>
		<description><![CDATA[David &#8216;cdlu&#8217; Graham apparently was trying to make some kind of point about freedom or privacy or&#8230; well, I have no idea what his recent post on NewsForge (&#8220;Tor: Freedom for whom?&#8221;) was trying to say. See if you can parse this bit: Schneier states that the debate is wrongfully categorised as a debate between [...]]]></description>
			<content:encoded><![CDATA[<p>David &#8216;cdlu&#8217; Graham apparently was trying to make some kind of point about freedom or privacy or&#8230; well, I have no idea what his recent post on <a href="http://business.newsforge.com/article.pl?sid=06/06/23/1523242&#038;from=rss">NewsForge (&#8220;Tor: Freedom for whom?&#8221;)</a> was trying to say. See if you can parse this bit:</p>
<blockquote><p>Schneier states that the debate is wrongfully categorised as a debate between privacy and security. I agree &#8212; it is not privacy versus security, it is privacy versus freedom. When one person&#8217;s privacy restricts someone else&#8217;s freedom, we have a problem.In the real world, every country has a legal system with a set of rules by which everyone must live. If someone breaks one of those rules, a police force and judicial system exists to prevent them from continuing to do so. In some cases, the rules are unjust, but generally, rules are designed to protect the freedoms of others. Take the police force and judicial system out of the equation, and you end up with anarchy.</p>
<p>That&#8217;s what Tor brings to the Internet. If everyone on the Internet used Tor, and no one could figure out where anyone was coming from anymore, the Internet would be a complete anarchy, even though most people would still attempt to continue their normal, honest behavior.</p></blockquote>
<p>Whatever point Graham was going for, I think he&#8217;s 100% wrong. It is not Tor&#8217;s fault that some  internet services rely on IP addresses for security. They shouldn&#8217;t. IP addresses are spoofable as it is. It is up to those internet services to figure out security models. Tor has a legitimate use: provide privacy.</p>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/06/27/wtf-tor-freedom-for-whom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwords secure? HAH!</title>
		<link>http://apt-get.biffster.org/2006/05/23/passwords-secure-hah/</link>
		<comments>http://apt-get.biffster.org/2006/05/23/passwords-secure-hah/#comments</comments>
		<pubDate>Tue, 23 May 2006 20:03:17 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2006/05/23/passwords-secure-hah/</guid>
		<description><![CDATA[Security Blog has an article pointing out that most passwords are insecure: Vu, who is a assistant professor in the Psychology Department at California State University, Long Beach, goes on to say that the average password is easy to crack, but access to biographical data makes guessing that much easier with favorites being birthdays and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ddj.com/blog/securityblog/archives/2006/05/password_protec.html">Security Blog has an article pointing out that most passwords are insecure:</a></p>
<blockquote><p>Vu, who is a assistant professor in the Psychology Department at California State University, Long Beach, goes on to say that the average password is easy to crack, but access to biographical data makes guessing that much easier with favorites being birthdays and childrenâ€™s names. &#8220;My colleagues and I use an easily obtained cracking device called LC4 to crack passwords,&#8221; she said. &#8220;It sources a dictionary to try words and combinations of words. It often cracks a password without knowing anything about the user. My research says that 60 percent of passwords can be cracked within a few hours, and some in less time than that.&#8221;</p></blockquote>
<p>One of my job functions is assisting people with creating/resetting passwords. And I am continually amazed at how poor some people&#8217;s passwords are. It would be relatively easy to guess someone&#8217;s password just by knowing a little about that person. Know that Frank&#8217;s dog&#8217;s name is Kemosabe? There&#8217;s a fair chance that is his password, too. Know that Judy is a knitting nut? Her password is probably something along the lines of woolyarn or luv2knit.</p>
<p>I once was personally guilty of this same thing, normally using girlfriend&#8217;s names. Over the years, though, I&#8217;ve gotten much better &#8217;bout this. Thanks to a password vault and constant access to it, I&#8217;ve abandoned the idea of creating passwords, and instead use a random password generator. I keep all my passwords in a password safe, and have a super-strong passphrase protecting the password vault. But I&#8217;m weird that way. Most people are not going to be.</p>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/05/23/passwords-secure-hah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TorPark &#8211; an easy way to try out Tor</title>
		<link>http://apt-get.biffster.org/2006/05/12/torpark-an-easy-way-to-try-out-tor/</link>
		<comments>http://apt-get.biffster.org/2006/05/12/torpark-an-easy-way-to-try-out-tor/#comments</comments>
		<pubDate>Sat, 13 May 2006 06:23:12 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2006/05/12/torpark-an-easy-way-to-try-out-tor/</guid>
		<description><![CDATA[Want to try out Tor, the anonymizing TCP service? TorPark makes it easy with a customized version of Portable Firefox altered to communicate via Tor. With TorPark on a USB flash drive, you can bring the power and flexibility of Firefox with you when you travel &#8212; and count on Tor to keep your browsing [...]]]></description>
			<content:encoded><![CDATA[<p>Want to try out Tor, the anonymizing TCP service? <a href="http://business.newsforge.com/article.pl?sid=06/04/05/1657204&#038;from=rss">TorPark makes it easy with a customized version of Portable Firefox altered to communicate via Tor.</a></p>
<blockquote><p>With TorPark on a USB flash drive, you can bring the power and flexibility of Firefox with you when you travel &#8212; and count on Tor to keep your browsing anonymous and secure at the same time.The current TorPark package (1.5.0.2) is available as a 5.6MB self-extracting Windows archive, localized for more than 30 languages. Expand the archive and inside you will find a folder that you can copy directly onto any rewriteable medium (flash drive, hard drive, etc.). TorPark will not run from a CD, since it must write to a local directory.</p>
<p>The folder contains a portable build of Firefox 1.5, a pre-configured Tor installation, and the Torpark.exe executable. Running Torpark.exe establishes an encrypted circuit to the distributed anonymous network of Tor routers, then launches Firefox. You can test whether TorPark is running by pointing the browser at a Web site like <a href="http://apt-get.biffster.org/wp-admin/whatismyip.com">whatismyip.com</a>; the IP address reported by the site should be different in TorPark than it is in a native browser.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/05/12/torpark-an-easy-way-to-try-out-tor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt-get install keychain</title>
		<link>http://apt-get.biffster.org/2006/05/07/apt-get-install-keychain/</link>
		<comments>http://apt-get.biffster.org/2006/05/07/apt-get-install-keychain/#comments</comments>
		<pubDate>Sun, 07 May 2006 19:17:53 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Debian/Linux]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/2006/05/07/apt-get-install-keychain/</guid>
		<description><![CDATA[ssh (secure shell) is an extremely useful tool. I won&#8217;t say much about it, because odds are if you are reading this blog you know what it is and what it does. One thing I&#8217;ve been meaning to do forever is set up my Linux machines to do passwordless authentication, mainly for security. A password [...]]]></description>
			<content:encoded><![CDATA[<p>ssh (secure shell) is an extremely useful tool. I won&#8217;t say much about it, because odds are if you are reading this blog you know what it is and what it does. One thing I&#8217;ve been meaning to do forever is set up my Linux machines to do passwordless authentication, mainly for security. A password is easy to hack, a private key is definitely not-so-much.</p>
<p>So I sat down yesterday and did some digging. And I found a great guide for <a href="http://www-128.ibm.com/developerworks/library/l-keyc.html">configuring OpenSSH to use RSA/DSA keys on IBM&#8217;s Developer Works Library</a>. The first step is, of course, to generate your keypair. From the article:</p>
<blockquote><p><code class="section">% <span class="boldcode">ssh-keygen</span>Generating public/private rsa1 key pair.<br />
Enter file in which to save the key (/home/drobbins/.ssh/identity): <span class="rboldcode">(hit enter)</span><br />
Enter passphrase (empty for no passphrase): <span class="rboldcode">(enter a passphrase)</span><br />
Enter same passphrase again: <span class="rboldcode">(enter it again)</span><br />
Your identification has been saved in /home/drobbins/.ssh/identity.<br />
Your public key has been saved in /home/drobbins/.ssh/identity.pub.<br />
The key fingerprint is:a4:e7:f2:39:a7:eb:fd:f8:39:f1:f1:7b:fe:48:a1:09<br />
drobbins@localbox</code></p></blockquote>
<p>Easy enough, and anyone who has used gpg will have a feel for what&#8217;s going on here. A public/private key pair is created in this step. The private key (<span style="font-style: italic">identity</span> in this example) is created and stored in the user&#8217;s .ssh directory. A matching public key  (<span style="font-style: italic">identity.pub</span>) is also created.</p>
<p>The second step of the process is also fairly simple. You have to copy the contents of the public key into the .ssh/authorized_keys on the remote computer. One can use scp or ssh to do this. The beauty of public keys are that they can be freely shared. If someone grabs your public key, there&#8217;s not much they can do with it. And they definitely can&#8217;t use it to break into the remote machine. The most they can do is copy it onto a machine, then try to get you to log into their computer instead of the remote machine. But that still doesn&#8217;t gain them much.</p>
<p>But I digress. After the public key is added to the remote computer&#8217;s <span style="font-style: italic">authorized_keys</span>, ssh will no longer prompt for a password when connecting to the remote computer. It&#8217;ll attempt an RSA or DSA authentication, and &#8211; assuming you have the correct private key &#8211; you&#8217;ll be logged on passwordlessly.</p>
<p>Of course, ssh on the local machine will prompt you for the passphrase for your private key every time it is accessed. This is both a good thing (it provides even more security for your private key) and a bad thing (it is a pain in the ass to have to enter a long passphrase over and over and over.</p>
<p>The solution? ssh-agent!</p>
<blockquote><p><code>ssh-agent</code>, included with the <a href="http://www.openssh.com/">OpenSSH</a> distribution, is a special program designed to make dealing with RSA and DSA keys both pleasant and secure (see  <a href="http://www.ibm.com/developerworks/library/l-keyc.html">Part 1 of this series</a> for an introduction to RSA and DSA authentication.) <code>ssh-agent</code>, unlike <code>ssh</code>, is a long-running daemon designed for the sole purpose of caching your decrypted private keys.</p>
<p><code>ssh</code> includes built-in support that allows it to communicate with <code>ssh-agent</code>, allowing <code>ssh</code> to acquire your decrypted private keys without prompting you for a password for every single new connection.  With <code>ssh-agent</code> you simply use <code>ssh-add</code> to add your private keys to <code>ssh-agent</code>&#8216;s cache. It&#8217;s a one-time process; after using <code>ssh-add</code>, <code>ssh</code> will grab your private key from <code>ssh-agent</code>, rather than bugging you by prompting for a passphrase.  (<a href="http://www-128.ibm.com/developerworks/library/l-keyc2/">IBM Developer Works Library</a>)</p></blockquote>
<p>In other words, ssh-agent caches your passphrase: enter it once, and ssh-agent remembers it for the rest of that log-in session. Which is definitely a step in the right direction. But there&#8217;s two problems with ssh-agent: first, when you log out of your current session, your cached passphrase is gone. Log back into your local computer and you have to run ssh-agent again. Second, shell scripts and other utilities can&#8217;t access the ssh-agent session, so they can&#8217;t take advantage of ssh-agent.</p>
<p>So there&#8217;s one more piece to add to the puzzle: keychain!</p>
<blockquote><p>To solve these problems, I wrote a handy bash-based <code>ssh-agent</code> front-end called <code>keychain</code>.  What makes <code>keychain</code> special is the fact that it allows you to use a single <code>ssh-agent</code> process <em>per</em> <em>system</em>, not just per login session.  This means that you only need to do one <code>ssh-add</code> per private key, period. As we&#8217;ll see in a bit, <code>keychain</code> even helps to optimize the <code>ssh-add</code> process by only trying to add private keys that aren&#8217;t already in the running <code>ssh-agent</code>&#8216;s cache.</p>
<p>Here&#8217;s a run-through of how <code>keychain</code> works.  When started from your ~/.bash_profile, it will first check to see whether an <code>ssh-agent</code> is already running.  If not, then it will start <code>ssh-agent</code> and record the important SSH_AUTH_SOCK and SSH_AGENT_PID variables in the ~/.ssh-agent file for safe keeping and later use.  Here&#8217;s the best way to start <code>keychain</code>; like using plain old <code>ssh-agent</code>, we perform the necessary setup inside ~/.bash_profile: (<a href="http://www-128.ibm.com/developerworks/library/l-keyc2/">IBM Developer Works Library</a>)</p></blockquote>
<p>One note: if you use the example in the IBM link, the directory that they give in the last step of the example is incorrect. The newest versions of keychain create the file to source in ~/.keychain; the filename format is %HOSTNAME%-sh. So if your local machine hostname is ubuntu1, you&#8217;d want the following line in .bash_profile:</p>
<p>source ~/.keychain/ubuntu1.sh</p>
<p>With that done, you have a fairly-secure solution. You enter your passphrase once, and the combination of keychain and ssh-agent caches that passphrase until you tell it not to. You can log in and out of your remote machine without needing to re-enter your passphrase. Shell scripts can access this to perform passwordless connections. And, as long as your local machine isn&#8217;t compromised (e.g. someone gains physical access to your computer), it&#8217;s fairly secure.</p>
<p>Oh, there is one last step: turning off password authentication for ssh. This ensures that the only way someone can make an ssh connection to the remote computer is if they have an RSA/DSA key listed in the authorized_keys file on the remote computer. I haven&#8217;t done this yet, because it does mean that <span style="font-style: italic; font-weight: bold">no one</span> can connect, not even me! I have to make sure I have a way to get to my computers from anywhere before I do this. I&#8217;m thinking I&#8217;ll probably get a cheap USB key, copy my private key onto it, and then take it with me.</p>
<p>I&#8217;ll post an update here once I turn off password authentication.</p>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/05/07/apt-get-install-keychain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing tax files with GPG</title>
		<link>http://apt-get.biffster.org/2006/02/20/securing-tax-files-with-gpg/</link>
		<comments>http://apt-get.biffster.org/2006/02/20/securing-tax-files-with-gpg/#comments</comments>
		<pubDate>Mon, 20 Feb 2006 22:58:56 +0000</pubDate>
		<dc:creator>Biffster</dc:creator>
				<category><![CDATA[Debian/Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://apt-get.biffster.org/?p=146</guid>
		<description><![CDATA[Okay, so like me, you take the obvious route of using a tax preparation software package, a la TurboTax to take care of your federal and state income tax returns. It&#8217;s silly not to: if you have all the data needed on-hand, and there&#8217;s nothing complex about your financial situation, you can either save a [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so like me, you take the obvious route of <a href="http://turbotax.intuit.com/">using a tax preparation software package, a la TurboTax</a> to take care of your federal and state income tax returns. It&#8217;s silly not to: if you have all the data needed on-hand, and there&#8217;s nothing complex about your financial situation, you can either save a hundred bucks over going to an accountant, or save hours over filling out the forms yourself. It&#8217;s fast, easy, and the software tends to find deductions that you wouldn&#8217;t have thought of if you do the forms yourself.</p>
<p>So you have your tax software do its job, you submit the claim electronically, you print out your forms, and then you have the software save the tax files in case you ever need them. The tax software has done its job, and can then be removed from your computer. All that you need for your own records is the actual tax files the program created.</p>
<p>But there&#8217;s one major problem here, something that the tax software doesn&#8217;t even try to address: security. These files contain an awful lot of very important personal data. If they were to fall into the wrong hands, you can kiss your identity goodbye. Social security number, address, employer, salary, it&#8217;s all right there in one easy-to-handle package. Good for filing your taxes, bad for security.</p>
<p>So what do you do? Personally, I used <a href="http://www.gnupg.org/">GnuPG</a> to deal with this mess. GPG isn&#8217;t exactly intuitive, nor user-friendly, though, so I&#8217;d also recommend adding in <a href="http://developer.kde.org/~kgpg/">kgpg</a> (or whatever it&#8217;s Gnome equivalent is) to help with creating/maintaining keys.</p>
<p>But I digress. GnuPG (gpg for short) is an open-source public/private key encryption application. It is the open-source equivalent of Pretty Good Privacy (PGP), and provides encryption that is at least as good as PGPs.</p>
<p><i>(Note: It is outside of the scope of this article to explain public/private keys.)</i></p>
<p>The basic idea is this: You create a personal private key that is only ever stored on your computer. This key is protected with a passphrase (think a password on steroids) that you generate. Any file that is encrypted using your public key can then only be decrypted using your private key + your passphrase. Assuming you are careful with your private key and passphrase, this should keep anyone but you from being able to access the file.</p>
<p>So I used kgpg&#8217;s Konqueror plugin to encrypt my tax files, then used kgpg to shred (securely delete) the original files (after verifying that I could decrypt the original files, of course). Instantly, the security on my tax files has gone way up. Since I don&#8217;t have my gpg passphrase stored anywhere on my computer, I am safe, even if someone steals my computer. (Unless they are either lucky enough to guess my passphrase, which is highly unlikely, or they are willing to dedicate some serious computing horsepower to hacking the passphrase.)</p>
<p>The general steps to follow are:</p>
<ol>
<li>Install gpg</li>
<li>Install kgpg</li>
<li>If you don&#8217;t already have a public/private key pair, choose the Generate Key Pair option in kgpg. <em>Be sure you choose a strong passphrase that you can remember</em>. Single words are bad. Dictionary words are bad. A passphrase like &#8220;frankie&#8221; is going to be broken into. A better passphrase is &#8220;Frankie is 33 next week!&#8221; An even better passphrase is &#8220;Frankie l0vz Pf dS0tM!&#8221; How would you remember that? Say to yourself, &#8220;Frankie loves Pink Floyd&#8217;s Dark Side of the Moon!&#8221; It&#8217;s up to you to remember which letters are upper-case and which are replaced with numbers.</li>
<li>In Konqueror, right-click on the tax file (e.g. mytaxes.tax). Go to Actions, and you should see an option to Encrypt the file. Clicking this will fire up kgpg&#8217;s front-end. The defaults are fine, so you can choose OK.</li>
<li>kgpg&#8217;s window will close, and you&#8217;ll now have a new file, mytaxes.tax.asc (per our example). This is the actual encrypted file.</li>
<li>Copy this new file to an easy-to-find location.</li>
<li>Navigate to this directory, then try to open the file. You should be presented with kgpg&#8217;s window, requesting that you enter your passphrase (unless you are using gpg-agent, which stores your passphrase in memory). Either way, the file should decrypt.</li>
<li>Check the now-decrypted file (mytaxes.tax in our example) to make sure it still works.</li>
<li>Once you&#8217;ve verified everything works, right-click on the original file and choose the Shred option. Shred will ask if you are positive you want to do this. Assuming the above test worked, it is safe to say yes.</li>
<li>Make sure that you Shred all decrypted copies of the file. Shred copies random data multiple times over the part of the disk where the file was stored. On most filesystems, this ensures that the file cannot be recovered</li>
<li>Save and backup the encrypted file (mytaxes.tax.asc in our example).</li>
</ol>
<p>Yes, this procedure is a bit involved. But it is more than worth the time it takes.</p>
]]></content:encoded>
			<wfw:commentRss>http://apt-get.biffster.org/2006/02/20/securing-tax-files-with-gpg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
