<?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"
	>

<channel>
	<title>Niek's weblog</title>
	<atom:link href="http://blog.niekie.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.niekie.com</link>
	<description>A geek in a non-geek world.</description>
	<pubDate>Mon, 19 May 2008 13:33:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>More theme changes.</title>
		<link>http://blog.niekie.com/2008/05/18/more-theme-changes/</link>
		<comments>http://blog.niekie.com/2008/05/18/more-theme-changes/#comments</comments>
		<pubDate>Sun, 18 May 2008 17:03:43 +0000</pubDate>
		<dc:creator>Niek Bergman</dc:creator>
		
		<category><![CDATA[Blog stuff]]></category>

		<category><![CDATA[customizations]]></category>

		<category><![CDATA[k2]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.niekie.com/?p=35</guid>
		<description><![CDATA[Yup, it looks different again.
This time, I&#8217;ve done a few style changes to make the top header green, and add some stars to it. This looks way cooler than the blue before. Also, something special happens if I leave a comment on an entry here.
Furthermore, the text for the current page you are at (Blog/Contact [...]]]></description>
			<content:encoded><![CDATA[<p>Yup, it looks different again.</p>
<p>This time, I&#8217;ve done a few style changes to make the top header green, and add some stars to it. This looks way cooler than the blue before. Also, something special happens if I leave a comment on an entry here.</p>
<p>Furthermore, the text for the current page you are at (Blog/Contact Me/Archives etc..) will show up bold now, in addition to being in a white background. This makes it a little bit more clearer.</p>
<p>These changes all happened without editing the core files of K2, my blog theme, as it has a neat way to utilize <a href="http://code.google.com/p/kaytwo/wiki/K2CSSandCustomCSS">custom CSS</a> in it.</p>
<p>As always, feel free to leave your thoughts, they&#8217;ll be duly noted.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.niekie.com/2008/05/18/more-theme-changes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to deal with the recent random number generator bug in OpenSSL and update your SSH keys.</title>
		<link>http://blog.niekie.com/2008/05/14/how-to-deal-with-the-recent-random-number-generator-bug-in-openssl-and-update-your-ssh-keys/</link>
		<comments>http://blog.niekie.com/2008/05/14/how-to-deal-with-the-recent-random-number-generator-bug-in-openssl-and-update-your-ssh-keys/#comments</comments>
		<pubDate>Wed, 14 May 2008 08:57:07 +0000</pubDate>
		<dc:creator>Niek Bergman</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[cryptography]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[openssl]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[ssl]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.niekie.com/?p=23</guid>
		<description><![CDATA[Edit: 16 may 2008: Please read this correction, if you&#8217;ve already read this article.
Edit: 19 may 2008: Doh! Also forgot to mention that you of course need to remove your vulnerable keys from any systems you uploaded them to. You can do this by removing them from your ~/.ssh/id_rsa file (see this comment for more [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Edit: 16 may 2008:</strong> <a href="http://blog.niekie.com/2008/05/14/how-to-deal-with-the-recent-random-number-generator-bug-in-openssl-and-update-your-ssh-keys#important-correction-keys">Please read this correction, if you&#8217;ve already read this article.</a></p>
<p><strong>Edit: 19 may 2008:</strong> Doh! Also forgot to mention that you of course need to remove your vulnerable keys from any systems you uploaded them to. You can do this by removing them from your ~/.ssh/id_rsa file (see <a href="http://blog.niekie.com/2008/05/14/how-to-deal-with-the-recent-random-number-generator-bug-in-openssl-and-update-your-ssh-keys/#comment-30">this comment</a> for more info). Guess that teaches me about getting posts out in a hurry. Luckily, most upgraded SSH servers currently detect most compromised keys, so your compromised keys will usually be rejected.</p>
<p>You may have heard of the <a href="http://lists.debian.org/debian-security-announce/2008/msg00152.html">predictable random number generator bug</a> in Debian and distributions based on Debian (like Ubuntu).</p>
<p>Those of you using SSH to log in to other systems are probably mostly affected by this, so here is a quick tutorial to get you back up and running:</p>
<p>First, make sure you upgrade your system. This is a prerequisite before fixing your SSH keys. On most Debian-based systems, your update process will be like this:</p>
<p><kbd>apt-get update<br />
apt-get upgrade</kbd></p>
<p>You might need to add sudo before both commands if you&#8217;re not root and are on a system that allows you to sudo to root.</p>
<p>Presumably, your system will list that some SSL packages will need to be updated, so run the upgrade.</p>
<p>Your system might ask you to restart some processes, and recommend that you reboot. I&#8217;d recommend following up to this advice and just restarting your system, but if you really can&#8217;t, make sure you at least list the processes that make use of OpenSSL on your system to be restarted.</p>
<p>Next, depending on if you&#8217;re using Debian stable or unstable, or another distribution like Ubuntu, you might have a new application called ssh-vulnkey.</p>
<p>Simply running it without any arguments will <strong><span style="text-decoration: underline;">try</span></strong> to determine if your SSH key is vulnerable, if you have any. Note that this might yield false negatives, so it&#8217;s best to replace your SSH keys anyway, but if you want to take the risk, that&#8217;s fine with me.</p>
<p>The output will be somewhat like this:</p>
<p><code>Unknown (no blacklist information): 2048 d0:c6:da:f5:e2:30:b0:3a:20:df:97:5a:47:2d:87:f0 /home/niek/.ssh/id_rsa.pub</code></p>
<p><strong id="important-correction-keys">Correction (16 may 2008): </strong>your output should look like this (this is <span style="text-decoration: underline;">important</span>, because else the blacklist checker doesn&#8217;t have a good blacklist for your key):</p>
<p><code>Not blacklisted: 2048 d0:c6:da:f5:e2:30:b0:3a:20:df:97:5a:47:2d:87:f0 niek@lithium</code></p>
<p>You might need to install openssh-blacklist for it to show up like that, which you can do like this:</p>
<p><kbd>apt-get install openssh-blacklist</kbd></p>
<p>This presumably means that your key is not vulnerable. You still might want to generate a new one anyway (better safe than sorry, right?)</p>
<p>If you choose to generate a new SSH key, then first back up your old one:</p>
<p><kbd>mv .ssh .ssh.bak</kbd></p>
<p>Next, we can safely generate a new SSH key, just run:</p>
<p><kbd>ssh-keygen</kbd></p>
<p>and follow the interactive prompt.</p>
<p>Next, you might need to tell your servers about your new SSH key, but you just made a new one! Luckily you backed up your old key though, so you can still log in to your server like this:</p>
<p><kbd>ssh -i <em>/location/to/the/backup/of/your/keyfile/here</em> (presumably ~/.ssh.bak/id_rsa) <em>yourserver.invalid</em><br />
</kbd></p>
<p>Next, put your new public key (which probably is in ~/.ssh/id_rsa.pub on your home system) in ~/.ssh/authorized_keys on your server, and log out. Now try to log in again with your new SSH key.</p>
<p>The host key(s) of your OpenSSH server might also be vulnerable, you can check this by issuing the following commands (obviously replacing <em>yourserver.invalid</em> with your actual SSH server):</p>
<p><kbd>ssh-keyscan -t rsa <em>yourserver.invalid</em>|ssh-vulnkey -<br />
ssh-keyscan -t dsa <em>yourserver.invalid</em>|ssh-vulnkey -<br />
ssh-keyscan <em>yourserver.invalid|ssh-vulnkey -</em></kbd></p>
<p>Note that some of these might not work, depending on if your server has a host key with the algorithm we&#8217;re checking for.</p>
<p>The Gentoo wiki has a howto on how to <a href="http://gentoo-wiki.com/TIP_SSHD_Host_Keys">generate host keys</a> should you find yours vulnerable, or decide to update them anyway. Remember to restart your SSH server after updating those, and remember that you will probably get a complaint from your SSH client next time you try to login to your remote system that the host keys have changed.</p>
<p><em>Disclaimer: please note that I&#8217;m not ( currently at least ;-) ) a security or cryptography expert in any way, and some of my advice may be slightly incorrect or just wrong. This information is provided as is, without any warranty. Please contact a real security expert if you feel more secure with that, and don&#8217;t blame me if something goes wrong. Feel free to submit corrections in comments, and I&#8217;ll try to correct any blatant factual errors.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.niekie.com/2008/05/14/how-to-deal-with-the-recent-random-number-generator-bug-in-openssl-and-update-your-ssh-keys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New theme, K2.</title>
		<link>http://blog.niekie.com/2008/05/12/new-theme-k2/</link>
		<comments>http://blog.niekie.com/2008/05/12/new-theme-k2/#comments</comments>
		<pubDate>Mon, 12 May 2008 19:21:48 +0000</pubDate>
		<dc:creator>Niek Bergman</dc:creator>
		
		<category><![CDATA[Blog stuff]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[k2]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.niekie.com/?p=21</guid>
		<description><![CDATA[So, as you can see, this blog looks a bit different from when it started. I&#8217;ve switched to K2 as the new theme for this weblog. Nice added features are AJAX-based search and commenting, and some other cool stuff.
I&#8217;ll soon customize it to have some kind of header picture probably, as that&#8217;ll look a bit [...]]]></description>
			<content:encoded><![CDATA[<p>So, as you can see, this blog looks a bit different from when it started. I&#8217;ve switched to K2 as the new theme for this weblog. Nice added features are AJAX-based search and commenting, and some other cool stuff.</p>
<p>I&#8217;ll soon customize it to have some kind of header picture probably, as that&#8217;ll look a bit neater.</p>
<p>If there&#8217;s any problems with the new theme, just notify me and I&#8217;ll get them sorted out.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.niekie.com/2008/05/12/new-theme-k2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My birthday presents.</title>
		<link>http://blog.niekie.com/2008/05/12/my-birthday-presents/</link>
		<comments>http://blog.niekie.com/2008/05/12/my-birthday-presents/#comments</comments>
		<pubDate>Mon, 12 May 2008 14:33:59 +0000</pubDate>
		<dc:creator>Niek Bergman</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[birthday]]></category>

		<category><![CDATA[camera]]></category>

		<category><![CDATA[dvd]]></category>

		<category><![CDATA[garfield]]></category>

		<category><![CDATA[photography]]></category>

		<category><![CDATA[presents]]></category>

		<category><![CDATA[tripod]]></category>

		<guid isPermaLink="false">http://blog.niekie.com/?p=15</guid>
		<description><![CDATA[Since it&#8217;s been my birthday, I&#8217;ve gotten a new digital camera. It&#8217;s a Traveler DC-XZ6. I&#8217;ve already used it to take some neat pictures which can be seen at my Picasa album. Of course I&#8217;m new with this thing, so don&#8217;t expect miracles.
I&#8217;ve also gotten a tripod, a Velbon CX-300. It&#8217;s a pretty neat tripod, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.niekie.com/wp-content/uploads/2008/05/cam-small.jpg"><img class="alignleft size-thumbnail wp-image-18" title="My new photo camera." src="http://blog.niekie.com/wp-content/uploads/2008/05/cam-small-150x150.jpg" alt="My new photo camera." width="150" height="150" /></a>Since it&#8217;s been my birthday, I&#8217;ve gotten a new digital camera. It&#8217;s a Traveler DC-XZ6. I&#8217;ve already used it to take some neat pictures which can be seen at <a href="http://picasaweb.google.com/niekbergman">my Picasa album</a>. Of course I&#8217;m new with this thing, so don&#8217;t expect miracles.</p>
<p>I&#8217;ve also gotten a tripod, a Velbon CX-300. It&#8217;s a pretty neat tripod, which folds up to 45 centimeters and comes with a nice carrying <span style="text-decoration: line-through;">case</span> bag.<a href="http://blog.niekie.com/wp-content/uploads/2008/05/tripod.jpg"><img class="alignright size-thumbnail wp-image-19" title="Velbon CX-300 Tripod" src="http://blog.niekie.com/wp-content/uploads/2008/05/tripod-150x150.jpg" alt="Velbon CX-300 Tripod" width="150" height="150" /></a></p>
<p>The camera also comes with a fully manual control, which allows you to set shutter times. I&#8217;ve used this to take some nice pictures of cars passing by at night, which can be seen at my <a href="http://picasaweb.google.com/niekbergman/CarPicturesWithLongShutterTime10May2008">Car pictures with long shutter time</a> album.</p>
<p>Overall, I&#8217;m pretty happy with the camera, and it also has allowed me to take some cool panorama pictures with the aid of my tripod (more about that later.)</p>
<p>I&#8217;ve also gotten a Garfield pocket (#49 to be exact) and the DVD &#8220;If I knew I was a genius&#8221;, and some <a href="http://en.wikipedia.org/wiki/Celebrations">Celebrations</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.niekie.com/2008/05/12/my-birthday-presents/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://blog.niekie.com/2008/05/01/hello-world/</link>
		<comments>http://blog.niekie.com/2008/05/01/hello-world/#comments</comments>
		<pubDate>Thu, 01 May 2008 10:49:11 +0000</pubDate>
		<dc:creator>Niek Bergman</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blog.niekie.com/?p=3</guid>
		<description><![CDATA[Hey everyone who might be visiting. Welcome to this shiny new blog. After much poking from tuntis, I finally caved in and got myself one.
So, what can you expect from this new blog? I have no idea. Any good suggestions are welcome. I&#8217;ll probably also make some periodical ramblings about what&#8217;s new and cool in [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone who might be visiting. Welcome to this shiny new blog. After much poking from <a title="Tuntis's website." href="http://tuntis.net/">tuntis</a>, I finally caved in and got myself one.</p>
<p>So, what can you expect from this new blog? I have no idea. Any good suggestions are welcome. I&#8217;ll probably also make some periodical ramblings about what&#8217;s new and cool in the open-source world, or whine when stuff won&#8217;t work as I like.</p>
<p>As it&#8217;s my birthday soon and I&#8217;m getting a new camera, there might also be some cool pictures up here soon.</p>
<p>Oh yeah, I also might set up a cool theme up soon, but that&#8217;s not a priority for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.niekie.com/2008/05/01/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
