<?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=4&amp;t=775" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2012-03-21T05:57:27+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=4&amp;t=775</id>
<entry>
<author><name><![CDATA[Jakob]]></name></author>
<updated>2012-03-21T05:57:27+01:00</updated>
<published>2012-03-21T05:57:27+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=775&amp;p=2975#p2975</id>
<link href="https://forum.yubico.com/viewtopic.php?t=775&amp;p=2975#p2975"/>
<title type="html"><![CDATA[NDEF configuration options]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=775&amp;p=2975#p2975"><![CDATA[
I got an e-mail question today regarding the Yubikey NEO NDEF configuration, so I would like to describe how this works a bit more in detail.<br /><br />First - everyone who wants to dig deeper into the concept of NDEFs, please visit the NFC Forum - <!-- m --><a class="postlink" href="http://www.nfc-forum.org/home/">http://www.nfc-forum.org/home/</a><!-- m --> <br /><br />The NDEF URI type allows a URL/URI to be written to a Yubikey NEO. Once scanned with an NFC reader, the NEO concatenates this URI/URL with the OTP output of the configuration. In order to save bytes in the field, some known types are compressed into an &quot;URI Identifier code&quot;. <!-- m --><a class="postlink" href="http://www">http://www</a><!-- m -->. is for example equivalent to the value 1, <!-- m --><a class="postlink" href="https://www">https://www</a><!-- m -->. is equivalent to 2 etc. A value of 0 means &quot;no predefined prefix&quot;, and the string is then not compressed. This means that <!-- m --><a class="postlink" href="http://www.foobar.com">http://www.foobar.com</a><!-- m --> could either be stored as 1 + foobar.com (=11 bytes) or uncompressed (=21 bytes).<br /><br />A typical custom login string could then be <!-- m --><a class="postlink" href="http://www.foobar.com/login?id=">http://www.foobar.com/login?id=</a><!-- m -->&lt;otp-value-here&gt;<br /><br />1. Set type to <!-- m --><a class="postlink" href="http://www">http://www</a><!-- m -->.<br />2. Enter URI string foobar.com/login?id=<br /><br />The Yubikey will then output a NDEF string like <!-- m --><a class="postlink" href="http://www.foobar.com/login?id=ccccclctlfnhulftjgdgtttetfdkikjruhvirgkkiurc">http://www.foobar.com/login?id=ccccclct ... virgkkiurc</a><!-- m --> and you'll then get an out-of-the-box experience, allowing an instant navigation to this URL by simply tapping the Yubikey with your NFC phone.<br /><br />A full description of the URI record type, read the NFC forum document &quot;NFCForum-TS-RTD_URI_1.0&quot;<br /><br /><br />The NDEF text type is simpler and just stores an arbitrary text element. Please read the NFC forum document &quot;NFCForum-TS-RTD_Text_1.0&quot; for more information<br /><br /><br />Best regards,<br /><br />JakobE<br />Hardware- and firmware guy @ Yubico<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=83">Jakob</a> — Wed Mar 21, 2012 5:57 am</p><hr />
]]></content>
</entry>
</feed>