<?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=283" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2009-03-06T23:06:24+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=283</id>
<entry>
<author><name><![CDATA[ferrix]]></name></author>
<updated>2009-03-06T23:06:24+01:00</updated>
<published>2009-03-06T23:06:24+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1248#p1248</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1248#p1248"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1248#p1248"><![CDATA[
Then how about c#?<br /><!-- m --><a class="postlink" href="http://wiki.yubico.com/wiki/index.php/Applications:CSharp.NET_Validation_Library">http://wiki.yubico.com/wiki/index.php/A ... on_Library</a><!-- m --><br />There are other ones too,<br /><!-- m --><a class="postlink" href="http://wiki.yubico.com/wiki/index.php/Category:Application_Development_Tools">http://wiki.yubico.com/wiki/index.php/C ... ment_Tools</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=162">ferrix</a> — Fri Mar 06, 2009 11:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[metamind]]></name></author>
<updated>2009-03-06T09:53:00+01:00</updated>
<published>2009-03-06T09:53:00+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1243#p1243</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1243#p1243"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1243#p1243"><![CDATA[
Hmm. I was hoping you weren't going to say that. I have been looking in there but I don't really speak c very well.<br /><br />Quote:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">uint16_t<br />yubikey_crc16 (const uint8_t *buf, size_t buf_size)<br />{<br />  uint16_t m_crc = 0xffff;<br /><br />  while (buf_size--)<br />    {<br />      int i, j;<br />      m_crc ^= (uint8_t) * buf++ &amp; 0xFF;<br />      for (i = 0; i &lt; 8; i++)<br />   {<br />     j = m_crc &amp; 1;<br />     m_crc &gt;&gt;= 1;<br />     if (j)<br />       m_crc ^= 0x8408;<br />   }<br />    }<br /><br />  return m_crc;<br />}<br /><br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=86">metamind</a> — Fri Mar 06, 2009 9:53 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2009-03-06T07:13:58+01:00</updated>
<published>2009-03-06T07:13:58+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1242#p1242</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1242#p1242"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1242#p1242"><![CDATA[
Please refer to the following Project for the token parsing information and CRC computation:<br /><br /><!-- m --><a class="postlink" href="http://code.google.com/p/yubico-c/">http://code.google.com/p/yubico-c/</a><!-- m --><br /><br />Feel free to write back to us in case you face any problems.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Fri Mar 06, 2009 7:13 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[metamind]]></name></author>
<updated>2009-03-05T20:32:10+01:00</updated>
<published>2009-03-05T20:32:10+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1236#p1236</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1236#p1236"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1236#p1236"><![CDATA[
any pointers on the crc?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=86">metamind</a> — Thu Mar 05, 2009 8:32 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[metamind]]></name></author>
<updated>2009-03-05T17:51:28+01:00</updated>
<published>2009-03-05T17:51:28+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1235#p1235</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1235#p1235"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1235#p1235"><![CDATA[
OK. I think I have the secret ID bit. I think you need to use the sdk in &quot;C:\Program Files\Yubico\YubiKCom SDK&quot;<br /><br />Correct me if there is a simpler way.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=86">metamind</a> — Thu Mar 05, 2009 5:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[metamind]]></name></author>
<updated>2009-03-05T17:18:36+01:00</updated>
<published>2009-03-05T17:18:36+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1234#p1234</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1234#p1234"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1234#p1234"><![CDATA[
Is there a way to set the secret id with the personalisation tool?<br /><br />Also, is there a specification of the crc check somewhere?<br /><br />Thanks<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=86">metamind</a> — Thu Mar 05, 2009 5:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2009-03-05T17:12:20+01:00</updated>
<published>2009-03-05T17:12:20+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1233#p1233</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1233#p1233"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1233#p1233"><![CDATA[
Here is the link to download the documentation which provides more information on the YubiKey structure:<br /><br /><!-- m --><a class="postlink" href="http://www.yubico.com/files/YubiKey_Security_Review.pdf">http://www.yubico.com/files/YubiKey_Security_Review.pdf</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Thu Mar 05, 2009 5:12 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Kamikaze28]]></name></author>
<updated>2009-03-05T17:06:40+01:00</updated>
<published>2009-03-05T17:06:40+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1232#p1232</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1232#p1232"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1232#p1232"><![CDATA[
No, the secret ID and the public ID do not have to be the same, although they could, but they shouldn't <img src="https://forum.yubico.com/images/smilies/icon_e_biggrin.gif" alt=":D" title="Very Happy" /> This is just a measure of determining if the public ID, AES cypher and secret ID match together:<br /><br />Server gets a key - looks up the AES cypher that goes with the public ID<br />Server decrypts the whole thing with this AES cypher<br />Server compares secret ID of the decrypted token to the secret ID that belongs to the public ID<br />If they match, everything's fine, if they don't, the OTP is not valid.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=446">Kamikaze28</a> — Thu Mar 05, 2009 5:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[metamind]]></name></author>
<updated>2009-03-05T16:49:08+01:00</updated>
<published>2009-03-05T16:49:08+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1231#p1231</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1231#p1231"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1231#p1231"><![CDATA[
Hi,<br /><br />I am looking for information on how to decode the decrypted token (e.g. 0000000000000200000000006EC25E00). Including how the timestamps and crc are used. I think I know how the counter and session use work. <br /><br />I found this:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Input:<br />  token: hknhfjbrjnlnldnhcujvddbikngjrtgh<br />          69 b6 48 1c 8b ab a2 b6 0e 8f 22 17 9b 58 cd 56 <br />  aeskey: urtubjtnuihvntcreeeecvbregfjibtn<br />          ec de 18 db e7 6f bd 0c 33 33 0f 1c 35 48 71 db <br />Output:<br />          87 92 eb fe 26 cc 13 00 30 c2 00 11 c8 9f 23 c8 <br /><br />Struct:<br />  uid: 87 92 eb fe 26 cc <br />  counter: 19 (0x0013)<br />  timestamp (low): 49712 (0xc230)<br />  timestamp (high): 0 (0x00)<br />  session use: 17 (0x11)<br />  random: 40904 (0x9fc8)<br />  crc: 51235 (0xc823)<br /></div><br /><br />in the readme of the sdk. It mentions that the first 6 bytes are the &quot;uid&quot;. Should this be the same as the static string at the beginning of the yk's output when the key is pressed? Mine are all zeros.<br /><br />Thanks.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=86">metamind</a> — Thu Mar 05, 2009 4:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2009-03-05T16:39:23+01:00</updated>
<published>2009-03-05T16:39:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1230#p1230</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1230#p1230"/>
<title type="html"><![CDATA[Re: where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1230#p1230"><![CDATA[
We would appreciate if you can elaborate on which documentation you want. We would provide it ASAP.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Thu Mar 05, 2009 4:39 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[metamind]]></name></author>
<updated>2009-03-05T16:20:09+01:00</updated>
<published>2009-03-05T16:20:09+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=283&amp;p=1229#p1229</id>
<link href="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1229#p1229"/>
<title type="html"><![CDATA[where is the documentation?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=283&amp;p=1229#p1229"><![CDATA[
I have decrypted the token and got:<br /><br />000000000000010063BA01051FAC0C00<br />0000000000000200000000006EC25E00<br /><br /><br />Now where is that documentation so I can decode this? It is probably me being blind but I have been looking around the site for about an hour now and can't find it.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=86">metamind</a> — Thu Mar 05, 2009 4:20 pm</p><hr />
]]></content>
</entry>
</feed>