<?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>Schadenfreude &#187; passwords</title>
	<atom:link href="http://www.ralree.com/tag/passwords/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:49:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>KeePassX: The Perfect Password App</title>
		<link>http://www.ralree.com/2011/10/16/keepassx-the-perfect-password-app/</link>
		<comments>http://www.ralree.com/2011/10/16/keepassx-the-perfect-password-app/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 17:30:46 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[keepassx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23197</guid>
		<description><![CDATA[Recently, I&#8217;ve been having some trouble with passwords. Either the login name is a string I never use, and therefore never commit to memory (like my real phone number that I mask with Google Voice), or the password policy forces me to use a password that I&#8217;ll never remember (like sites that keep track of your past passwords, or require 11 characters of alternating symbols, letters and numbers, etc.). Since I use spamgourmet, any site that requires an email address [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been having some trouble with passwords.  Either the login name is a string I never use, and therefore never commit to memory (like my real phone number that I mask with Google Voice), or the password policy forces me to use a password that I&#8217;ll never remember (like sites that keep track of your past passwords, or require 11 characters of alternating symbols, letters and numbers, etc.).  Since I use <a href="http://spamgourmet.com/">spamgourmet</a>, any site that requires an email address as a username is another puzzle &#8211; sometimes I even have to login there to find the right one.  Also, I have a concern that if I die, my wife will have real trouble getting into all my accounts, so it would be nice if I could just leave her one password to give her access to all that information.  So, I broke down and started using a password organizer app.  Now, I have always been averse to using these applications for a variety of reasons (online companies having all your passwords, plaintext in swap space / memory, keyloggers, insecure encryption, etc.), but I managed to find one that&#8217;s open source, never caches my master password, widely used, and has extreme cross-platform capabilities.  KeePassX is the name, and it&#8217;s available in Ubuntu.  Installing it is left as an exercise to the reader.  Once you get in there and add a few passwords, it starts to look something like this:</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2011/10/Screenshot-at-2011-10-16-131825.png"><img src="http://www.ralree.com/newblog/wp-content/uploads/2011/10/Screenshot-at-2011-10-16-131825.png" alt="" title="Screenshot at 2011-10-16 13:18:25" width="633" height="502" class="aligncenter size-full wp-image-23198" /></a></p>
<p>It allows you to mask both your usernames and passwords (both optionally) from the top-level view.  It has clipboard capabilities, so you can just copy your password to the clipboard by clicking a button, and never see it on the screen in plain-text.  Their <a href="http://keepass.info/help/base/security.html" title="KeePassX: Security">security</a> is really well-done.  But the big realization today was that they have an <a href="http://www.androlib.com/android.application.com-android-keepass-qtw.aspx" title="KeePassDroid">Android App</a>!  This app only need the kdb file from any instance of the application, and of course the password to decrypt it.  It&#8217;s available in the market too!  But, how do you sync changes between your main desktop and your phone?  Dropbox!  Using the dropbox mobile app, I simply synced the kdb file onto the phone, and then opened it.  KeePassDroid popped up and asked if I wanted to make it the default database, and I checked the box.  Done.  </p>
<p>Now, whenever I make a change, it syncs over Dropbox like magic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/10/16/keepassx-the-perfect-password-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Good Passwords with GnuPG</title>
		<link>http://www.ralree.com/2009/08/22/good-passwords-with-gnupg/</link>
		<comments>http://www.ralree.com/2009/08/22/good-passwords-with-gnupg/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 03:15:45 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[passwords]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/good-passwords-with-gnupg</guid>
		<description><![CDATA[I found out from this site that GPG can be used to generate random text for passwords. Here’s the command: gpg --gen-random 1 20 &#124; gpg --enarmor &#124; sed -n 5p Very simple. I may have to use this in the future. WARNING This limits you to the Base64 character set, greatly limiting the search space for password cracking.  One should really use something other than enarmor to spit out a random printable ASCII string&#8230; Update OK, I did it.  [...]]]></description>
			<content:encoded><![CDATA[<p>I found out from <a href="http://www.linuxjournal.com/article/8732">this site</a> that GPG can be used to generate random text for passwords.  Here’s the command:</p>
<pre><code>
 gpg --gen-random 1 20 | gpg --enarmor | sed -n 5p
</code></pre>
<p>Very simple.  I may have to use this in the future.</p>
<h1>WARNING</h1>
<p>This limits you to the Base64 character set, greatly limiting the search space for password cracking.  One should really use something other than enarmor to spit out a random printable ASCII string&#8230;</p>
<h1>Update</h1>
<p>OK, I did it.  It took some time, but it works nicely now, and generates MUCH better passwords:</p>
<pre style="overflow:auto;"><code>
hank@tardis:/nexus/tardis/hank$ for i in 1 2 3 4; \
  do gpg --gen-random 1 20 | \
  perl -ne's/[\x00-\x20]/chr(ord($^N)+50)/ge;s/([\x7E-\xDB])/chr(ord($^N)-93)/ge;s/([\xDC-\xFF])/chr(ord($^N)-129)/ge;print $_, "\n"';
done
p8$K`frjdkp;i-c2]2a2
glj#""I/eY\aYe3p}2y@
U2cXL&amp;2^2/@7P2d#;?E=
kG)|N?[ZP2t2'bH22e;$
</code></pre>
<p>I know that probably looks like gobbledy-gook, but the main part of it is this:</p>
<pre style="overflow:auto;"><code>gpg --gen-random 1 20 | perl -ne'print "Your password: ";s/[\x00-\x20]/chr(ord($^N)+50)/ge;s/([\x7E-\xDB])/chr(ord($^N)-93)/ge;s/([\xDC-\xFF])/chr(ord($^N)-129)/ge;print $_, "\n"'</code></pre>
<p>Run that in a terminal, and <strong>profit</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/08/22/good-passwords-with-gnupg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Horray for pwgen</title>
		<link>http://www.ralree.com/2006/11/04/horray-for-pwgen/</link>
		<comments>http://www.ralree.com/2006/11/04/horray-for-pwgen/#comments</comments>
		<pubDate>Sat, 04 Nov 2006 17:29:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/horray-for-pwgen</guid>
		<description><![CDATA[I wanted to generate a new password today and I decided I would try a command line utility that does just that. It&#8217;s called pwgen. hank@rura-penthe ~ $ sudo apt-get install pwgen Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: pwgen 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 18.7kB of archives. After unpacking 77.8kB of additional disk space will be used. Get:1 [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to generate a new password today and I decided I would try a command<br />
line utility that does just that.  It&#8217;s called <strong>pwgen</strong>.</p>
<pre><code>
hank@rura-penthe ~ $ sudo apt-get install pwgen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  pwgen
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 18.7kB of archives.
After unpacking 77.8kB of additional disk space will be used.
Get:1 http://ftp.osuosl.org edgy/main pwgen 2.05-1ubuntu1 [18.7kB]
Fetched 18.7kB in 0s (28.2kB/s)
Selecting previously deselected package pwgen.
(Reading database ... 173873 files and directories currently installed.)
Unpacking pwgen (from .../pwgen_2.05-1ubuntu1_i386.deb) ...
Setting up pwgen (2.05-1ubuntu1) ...
</code></pre>
<p>Now the fun begins.</p>
<pre><code>
hank@rura-penthe ~ $ pwgen -sy 16 10
YaQcm?3@Ty~c=U|$     cthv{@O*|X79&#038;=k_     |Fr&#038;PH#b2%.&gt;}*Wo     rOtTfJ^.GP=l{L41
Wb?%i[42y'Q'pF+F     0M`N9{I:8;9Eii}&lt;     *vP~-N,ofuIXE{`1     ^Rq[?xm#"\1EQ~wl
'I9JIktnw`bW@zH&gt;     &gt;/FD6+tdc;+SINHx
</code></pre>
<p>Now, I have a bunch of passwords to select from.  <strong>&#45;s</strong> gives me &#8216;secure&#8217;<br />
passwords which are very hard to remember.  Lucky for me I have a good memory<br />
for hard to remember things (though things that are easy to remember escape<br />
me).  <strong>&#45;y</strong> gives me symbols since a larger character set always enhances a<br />
password.  Now, I&#8217;m all set to do battle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2006/11/04/horray-for-pwgen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

