<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=5&amp;t=109" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2009-05-10T18:58:15+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=109</id>
<entry>
<author><name><![CDATA[thomas]]></name></author>
<updated>2009-05-10T18:58:15+01:00</updated>
<published>2009-05-10T18:58:15+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=109&amp;p=1462#p1462</id>
<link href="https://forum.yubico.com/viewtopic.php?t=109&amp;p=1462#p1462"/>
<title type="html"><![CDATA[Re: Yubikey support in Textpattern]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=109&amp;p=1462#p1462"><![CDATA[
I'd be very interested in seeing such a solution.<br /><br />Since I've never modified Txp (or written a Txp plugin) I'd also be grateful for any hints how to do it if you don't find the time.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=636">thomas</a> — Sun May 10, 2009 6:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jwoltman]]></name></author>
<updated>2008-06-18T02:26:21+01:00</updated>
<published>2008-06-18T02:26:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=109&amp;p=310#p310</id>
<link href="https://forum.yubico.com/viewtopic.php?t=109&amp;p=310#p310"/>
<title type="html"><![CDATA[Yubikey support in Textpattern]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=109&amp;p=310#p310"><![CDATA[
If anyone here uses the <!-- m --><a class="postlink" href="http://www.textpattern.com/">http://www.textpattern.com/</a><!-- m --> blog system, I've added support for self-hosted Yubikey authentication.  It does <strong>not</strong> use Yubico's server, but instead your own MySQL database.  It is a proof-of-concept for the yubico-php-lib and its MySQL support.<br /><br />I am using this on my site to login, and it works great.  There is no administration front-end yet, so you have to create tables and edit user Yubikey info with SQL or a separate frontend such as phpmyadmin.  To support this, I started writing MySQL support for my YubiAuthenticator system (<!-- m --><a class="postlink" href="http://code.google.com/p/yubico-php-lib/">http://code.google.com/p/yubico-php-lib/</a><!-- m -->).  You can download the modified txp_auth.php at <!-- m --><a class="postlink" href="http://www.jwoltman.net/downloads/txp_auth.zip">http://www.jwoltman.net/downloads/txp_auth.zip</a><!-- m -->.  It goes in textpattern/include/.<br /><br />Here's the SQL to create the table (public id is modhex, private is hex, AES key is hex):<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">CREATE TABLE `yubikeys` (<br />  `username` varchar(32) NOT NULL,<br />  `yu_public_id` varchar(32) NOT NULL,<br />  `yu_private_id` varchar(64) NOT NULL,<br />  `yu_aes_key` varchar(128) NOT NULL,<br />  `yu_counter` int(11) default NULL,<br />  `yu_timestamp` int(11) default NULL,<br />  `yu_server_timestamp` int(11) default NULL,<br />  PRIMARY KEY  (`username`)<br />);</div><br /><br /><strong>Note:</strong><br />Authenticating to your own system is good if you're willing to give up Yubico's own authentication.  This is okay for me, and probably for companies who are going to work with Yubikeys.  In my personal system I have multiple client applications (phpMyID, Textpattern, and in the future Windows XP) authenticating to a single database so I don't mind if my Yubikey data does not match that of Yubico.<br /><br />I'm sure it'd be trivial to add &quot;normal&quot; Yubico.com support to TxP.  If someone is interested, I will look into it.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=125">jwoltman</a> — Wed Jun 18, 2008 2:26 am</p><hr />
]]></content>
</entry>
</feed>