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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-11-21T10:23:11+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=30&amp;t=1006</id>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2013-11-21T10:23:11+01:00</updated>
<published>2013-11-21T10:23:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4652#p4652</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4652#p4652"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4652#p4652"><![CDATA[
Yeah, one of the issues is to keep the tool completely cross-platform (windows, osx, linux, bsds...)<br /><br />There seems to exist an API in qt to get keyboard layout (<!-- m --><a class="postlink" href="http://qt-project.org/doc/qt-4.8/qapplication.html#keyboardInputLocale">http://qt-project.org/doc/qt-4.8/qappli ... nputLocale</a><!-- m -->) so this could be used to detect what layout the user is currently using.<br /><br />The &quot;issue&quot; then would be to keep lists of relevant layouts for mapping characters &lt;-&gt; scancodes and have a good way to show the user what layout we think and maybe select between different..<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Thu Nov 21, 2013 10:23 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ifci]]></name></author>
<updated>2013-11-21T08:24:26+01:00</updated>
<published>2013-11-21T08:24:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4650#p4650</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4650#p4650"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4650#p4650"><![CDATA[
The personalisation-tool is written in C++, right? Sorry, but my C++-Skills suck <img src="https://forum.yubico.com/images/smilies/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><br /><br />I'm doing some research right now. Here's what I've found so far. I will edit this post as soon as my ideas are ready and have survived the reality-check <img src="https://forum.yubico.com/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br /><a href="http://stackoverflow.com/questions/661722/extracting-keyboard-layouts-from-windows" class="postlink">Here Someone askes how to extract KBD-Layouts (in C#)</a> and gets the answer that <a href="http://blogs.msdn.com/b/michkap/archive/2006/04/22/581107.aspx" class="postlink">has done it and has a big documentation about it</a>.<br /><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms645530%28v=vs.85%29.aspx" class="postlink">Here we have some C++-Reference for KBD-Input classes</a>.<br />Possibly another way is, to extract <a href="http://search.cpan.org/~ilyaz/UI-KeyboardLayout-0.10/lib/UI/KeyboardLayout.pm#WINDOWS_GOTCHAS" class="postlink">the data from a DB and DLL-Files</a>, more <a href="http://www.kbdedit.com/manual/admin_deploy.html#Keyboard_Layout_DLL_files" class="postlink">here</a>.<br /><br /><a href="http://www.quadibloc.com/comp/scan.htm" class="postlink">Article: Scan Codes Demystified</a><br /><br /><a href="http://msdn.microsoft.com/en-us/goglobal/bb964665.aspx" class="postlink">Windows Layout Editor</a><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2696">ifci</a> — Thu Nov 21, 2013 8:24 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2013-11-20T09:29:43+01:00</updated>
<published>2013-11-20T09:29:43+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4648#p4648</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4648#p4648"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4648#p4648"><![CDATA[
Hello,<br /><br />Yes, that is a good summary of the problem, though the scancodes are not ascii but according to this (<!-- m --><a class="postlink" href="http://www.win.tue.nl/~aeb/linux/kbd/scancodes-14.html">http://www.win.tue.nl/~aeb/linux/kbd/scancodes-14.html</a><!-- m -->) table for us keyboard. The code in the personalization tool to handle this is at <!-- m --><a class="postlink" href="https://github.com/Yubico/yubikey-personalization-gui/blob/master/src/ui/scanedit.cpp">https://github.com/Yubico/yubikey-perso ... anedit.cpp</a><!-- m --><br /><br />We're happy to receive any contributions of either code or ideas to make the personalization tool better!<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Wed Nov 20, 2013 9:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ifci]]></name></author>
<updated>2013-11-19T21:40:45+01:00</updated>
<published>2013-11-19T21:40:45+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4647#p4647</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4647#p4647"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4647#p4647"><![CDATA[
I actually get the error described there, the application does not crash.<br /><br />I made a quick sketch about the problem:<br /><img src="http://aypac.de/Dateien/yubico_key_issue.png" alt="Image" /><br />( Source for the Keyboard =&gt; Numbers convertions: <a href="http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000520.html" class="postlink">http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000520.html</a> )<br /><br />Is this around right? Then I'd have some ideas how to solve this...<br /><br />Btw: The posts you mention are almost 6 months old...<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2696">ifci</a> — Tue Nov 19, 2013 9:40 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2013-11-19T07:46:51+01:00</updated>
<published>2013-11-19T07:46:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4640#p4640</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4640#p4640"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4640#p4640"><![CDATA[
Hello,<br /><br />To be clear, the bug discussed here is that when you enter a scancode password by entering the raw scancodes the application crashes, is that what you're seeing?<br /><br />If the issue you're seeing is that some characters you enter come out another way that's more or less expected when you're not using a US keyboard. There is no way (or at least no good way) for the application to know what layout you're using or what scancodes the characters you enter correspond to. So it's mapping the characters you enter to US scancodes.<br />(see <!-- m --><a class="postlink" href="https://github.com/Yubico/yubikey-personalization-gui/issues/19">https://github.com/Yubico/yubikey-perso ... /issues/19</a><!-- m -->)<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Tue Nov 19, 2013 7:46 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ifci]]></name></author>
<updated>2013-11-18T19:29:19+01:00</updated>
<published>2013-11-18T19:29:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4638#p4638</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4638#p4638"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4638#p4638"><![CDATA[
I'm using App. Version: 3.1.11, Library Version 1.14.1, Built 09.10.2013, 10:44:44<br />Please also see my other post:<br /><!-- l --><a class="postlink-local" href="http://forum.yubico.com/viewtopic.php?f=30&amp;t=1237">viewtopic.php?f=30&amp;t=1237</a><!-- l --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2696">ifci</a> — Mon Nov 18, 2013 7:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2013-11-18T08:40:54+01:00</updated>
<published>2013-11-18T08:40:54+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4631#p4631</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4631#p4631"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4631#p4631"><![CDATA[
A fix for this is in since the release of version 3.1.10, do you see issues with this since that version as well?<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Mon Nov 18, 2013 8:40 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ifci]]></name></author>
<updated>2013-11-17T11:48:27+01:00</updated>
<published>2013-11-17T11:48:27+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4628#p4628</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4628#p4628"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4628#p4628"><![CDATA[
Yeah, makes it quiet hard to use if you want to enter a specific password (especially with some ((german)) spezial-chars)...<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2696">ifci</a> — Sun Nov 17, 2013 11:48 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2013-05-31T07:31:13+01:00</updated>
<published>2013-05-31T07:31:13+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4013#p4013</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4013#p4013"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=4013#p4013"><![CDATA[
Hello,<br /><br />As you've noted there's a bug with entering the raw scancodes.. A fix for this is already in the git repo (<!-- m --><a class="postlink" href="https://github.com/Yubico/yubikey-personalization-gui/commit/d2c7d4adf6be8df4df729701dd21d2948561c497">https://github.com/Yubico/yubikey-perso ... 948561c497</a><!-- m -->) and will be in the next release.<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Fri May 31, 2013 7:31 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[phoen1x]]></name></author>
<updated>2013-04-28T14:51:12+01:00</updated>
<published>2013-04-28T14:51:12+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3918#p3918</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3918#p3918"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3918#p3918"><![CDATA[
Hi,<br /><br />I'm also running into spechial chars problem. Tryed to toy around with the &quot;scan codes&quot; field but caused a<br /><br />&quot;Speicherzugriffsfehler&quot;  == &quot;memory access violation&quot;<br /><br />in the yubikey-personalization-gui when I put in &quot;ad&quot; which should result in &quot;_&quot;.<br /><br />Could you please provide more information about how to convert ASCII to &quot;scan codes&quot; (cli tools) and the language settings (german).<br /><br />Regards,<br />Thomas<br /><br />Ubuntu 12.04 LTS<br />yubikey-personalization-gui version: 3.1.9-1~ppa1~precise1<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2420">phoen1x</a> — Sun Apr 28, 2013 2:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2013-03-21T08:29:12+01:00</updated>
<published>2013-03-21T08:29:12+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3787#p3787</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3787#p3787"/>
<title type="html"><![CDATA[Re: [BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3787#p3787"><![CDATA[
Hello.<br /><br />The scan-code mode (used when you want to enter a password yourself) is very keyboard layout dependent.<br /><br />The tool could probably be proved for this.. but it's a bit tricky to capture this in a meaningful way.<br />So what the tool does is take what you enter and convert it to the US scan code equivalent. So if you want to control exactly what is sent to the key you need to convert your strings to scan codes for your layout and then enter that in the &quot;scan codes&quot; field in the tool.<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Thu Mar 21, 2013 8:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[null]]></name></author>
<updated>2013-03-18T18:09:31+01:00</updated>
<published>2013-03-18T18:09:31+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3771#p3771</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3771#p3771"/>
<title type="html"><![CDATA[[BUG] keyboard error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1006&amp;p=3771#p3771"><![CDATA[
I programmed a static password with the character &quot;&amp;&quot; in it and it appears correctly in the field, but after programming it it Yubikey returns a &quot;/&quot; instead. When I compare keyboard layout then I see that that the shift-6 I entered  on the Spanish keyboard is a slash on the US keyboard. <br /><br />I am talking here about the binary version for Ubuntu 12.04 LTS:<br />version 3.1.8<br />library ver. 1.12.0<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2320">null</a> — Mon Mar 18, 2013 6:09 pm</p><hr />
]]></content>
</entry>
</feed>