<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>/ Andreas &#124; System administrator / &#187; OTP</title>
	<atom:link href="http://blog.bogosity.se/tag/otp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bogosity.se</link>
	<description></description>
	<lastBuildDate>Sat, 14 Jan 2012 11:50:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.bogosity.se' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>/ Andreas &#124; System administrator / &#187; OTP</title>
		<link>http://blog.bogosity.se</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.bogosity.se/osd.xml" title="/ Andreas &#124; System administrator /" />
	<atom:link rel='hub' href='http://blog.bogosity.se/?pushpress=hub'/>
		<item>
		<title>Using the YubiKey</title>
		<link>http://blog.bogosity.se/2010/03/07/using-the-yubikey/</link>
		<comments>http://blog.bogosity.se/2010/03/07/using-the-yubikey/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 15:51:01 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[OTP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[YubiKey]]></category>

		<guid isPermaLink="false">http://www.andreasolsson.se/?p=262</guid>
		<description><![CDATA[One of the keys I carry around on my keyring is a YubiKey. This post really isn&#8217;t about the YubiKey itself, but more about me sharing a few insights I&#8217;ve gained on using the key. If you already run a WordPress blog you can easily turn it into an OpenID provider to be used with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.bogosity.se&amp;blog=3175717&amp;post=262&amp;subd=andolsys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the keys I carry around on my keyring is a <a href="http://www.yubico.com/products/yubikey/">YubiKey</a>. This post really isn&#8217;t about the YubiKey itself, but more about me sharing a few insights I&#8217;ve gained on using the key.</p>
<ul>
<li>If you already run a WordPress blog you can easily turn it into an OpenID provider to be used with your YubiKey.  What you need is the <a href="http://wordpress.org/extend/plugins/openid/">OpenID plugin</a> and the <a href="http://wordpress.org/extend/plugins/yubikey-plugin/">YubiKey plugin</a>.</li>
<li>If you decide to personalize your YubiKey I can very much recommend the <a href="https://wiki.duckcorp.org/YubikeyHelp">DuckCorp YubikeyHelp</a>, in addition to the official documentation.</li>
<li>The new 2.x version of <a href="http://code.google.com/p/yubikey-val-server-php/">yubikey-val-server-php</a> seems to prefer being part of a group of validation servers, being kept in sync with each other. Failing to figure out how to configure my standalone installation to disregard that synchronization I modified ykval-verify.php (see <a href="http://files.bogosity.se/ykval-verify.php.patch">patch</a>) not to perform those checks.</li>
<li>The YubiKey WordPress plugin mentioned earlier is hardcoded into using the official Yubico validation server. Apart from  the validation URL, set in the function yubikey_verify_otp(), there is also the length of the key id. Just look for the numeric value 12 and you will find where the key id is being used.</li>
</ul>
<p>No, this post is not meant to make sense on its own. You probably need to be at least somewhat familiar with the YubiKey as well as the services provided by Yubico.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andolsys.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andolsys.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andolsys.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andolsys.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andolsys.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andolsys.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andolsys.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andolsys.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.bogosity.se&amp;blog=3175717&amp;post=262&amp;subd=andolsys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.bogosity.se/2010/03/07/using-the-yubikey/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b8504423137e4de7ddd0aa67a628fe18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andolsys</media:title>
		</media:content>
	</item>
		<item>
		<title>Debian – Ubuntu, S/Key and OPIE</title>
		<link>http://blog.bogosity.se/2008/05/31/debian-ubuntu-skey-and-opie/</link>
		<comments>http://blog.bogosity.se/2008/05/31/debian-ubuntu-skey-and-opie/#comments</comments>
		<pubDate>Sat, 31 May 2008 11:12:30 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[OPIE]]></category>
		<category><![CDATA[OTP]]></category>
		<category><![CDATA[PAM]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.andreasolsson.se/2008/05/31/debian-ubuntu-skey-and-opie/</guid>
		<description><![CDATA[Been looking for a simple way to enabling  S/Key support in Linux. Once I found out the magical keyboards being OPIE and PAM it became almost trivial to allow ssh-logins using One Time Passwords (OTP). The following instructions are specifically written to apply on Debian and Ubuntu. On a general note the concept should work [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.bogosity.se&amp;blog=3175717&amp;post=27&amp;subd=andolsys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Been looking for a simple way to enabling  <a href="http://en.wikipedia.org/wiki/S/Key">S/Key</a> support in Linux. Once I found out the magical keyboards being OPIE and PAM it became almost trivial to allow ssh-logins using One Time Passwords (OTP).</p>
<p>The following instructions are specifically written to apply on Debian and Ubuntu. On a general note the concept should work on any Linux system using OpenSSH and PAM.</p>
<p>First of all you should install the package <em>opie-server</em>. It will give you the necessary PAM-module and some accompanying tools.</p>
<p>Now edit <em>/etc/pam.d/ssh</em>, remove (comment) the inclusion of common-auth, and add these lines.</p>
<blockquote><p>auth       sufficient pam_unix.so<br />
auth       sufficient pam_opie.so<br />
auth       required  pam_deny.so</p></blockquote>
<p>If you only want allow OTP-logins; this line will do.</p>
<blockquote><p>auth       required   pam_opie.so</p></blockquote>
<p>Next it&#8217;s time to edit <em>/etc/ssh/sshd_config</em>.</p>
<blockquote><p>ChallengeResponseAuthentication yes</p></blockquote>
<p>That&#8217;s it. Restart your sshd and it will be ready to accept OTP-logins. To initialize a user; run <em>opiepasswd</em> (equivivalent of keyinit). Responses are generated using <em>opiekey</em>.</p>
<p>Client-side it&#8217;s usually enough to install the package <em>opie-client</em>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andolsys.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andolsys.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andolsys.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andolsys.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andolsys.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andolsys.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andolsys.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andolsys.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andolsys.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andolsys.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.bogosity.se&amp;blog=3175717&amp;post=27&amp;subd=andolsys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.bogosity.se/2008/05/31/debian-ubuntu-skey-and-opie/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b8504423137e4de7ddd0aa67a628fe18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andolsys</media:title>
		</media:content>
	</item>
	</channel>
</rss>
