Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:39 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [BUG] keyboard error
PostPosted: Mon Mar 18, 2013 6:09 pm 
Offline

Joined: Tue Feb 26, 2013 6:24 pm
Posts: 3
I programmed a static password with the character "&" in it and it appears correctly in the field, but after programming it it Yubikey returns a "/" 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.

I am talking here about the binary version for Ubuntu 12.04 LTS:
version 3.1.8
library ver. 1.12.0


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

 Post subject: Re: [BUG] keyboard error
PostPosted: Thu Mar 21, 2013 8:29 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello.

The scan-code mode (used when you want to enter a password yourself) is very keyboard layout dependent.

The tool could probably be proved for this.. but it's a bit tricky to capture this in a meaningful way.
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 "scan codes" field in the tool.

/klas


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Sun Apr 28, 2013 2:51 pm 
Offline

Joined: Sun Apr 28, 2013 12:54 pm
Posts: 1
Hi,

I'm also running into spechial chars problem. Tryed to toy around with the "scan codes" field but caused a

"Speicherzugriffsfehler" == "memory access violation"

in the yubikey-personalization-gui when I put in "ad" which should result in "_".

Could you please provide more information about how to convert ASCII to "scan codes" (cli tools) and the language settings (german).

Regards,
Thomas

Ubuntu 12.04 LTS
yubikey-personalization-gui version: 3.1.9-1~ppa1~precise1


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Fri May 31, 2013 7:31 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello,

As you've noted there's a bug with entering the raw scancodes.. A fix for this is already in the git repo (https://github.com/Yubico/yubikey-perso ... 948561c497) and will be in the next release.

/klas


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Sun Nov 17, 2013 11:48 am 
Offline

Joined: Sun Nov 17, 2013 11:43 am
Posts: 8
Yeah, makes it quiet hard to use if you want to enter a specific password (especially with some ((german)) spezial-chars)...


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Mon Nov 18, 2013 8:40 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
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?

/klas


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Mon Nov 18, 2013 7:29 pm 
Offline

Joined: Sun Nov 17, 2013 11:43 am
Posts: 8
I'm using App. Version: 3.1.11, Library Version 1.14.1, Built 09.10.2013, 10:44:44
Please also see my other post:
viewtopic.php?f=30&t=1237


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Tue Nov 19, 2013 7:46 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello,

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?

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.
(see https://github.com/Yubico/yubikey-perso ... /issues/19)

/klas


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Tue Nov 19, 2013 9:40 pm 
Offline

Joined: Sun Nov 17, 2013 11:43 am
Posts: 8
I actually get the error described there, the application does not crash.

I made a quick sketch about the problem:
Image
( Source for the Keyboard => Numbers convertions: http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000520.html )

Is this around right? Then I'd have some ideas how to solve this...

Btw: The posts you mention are almost 6 months old...


Top
 Profile  
Reply with quote  
 Post subject: Re: [BUG] keyboard error
PostPosted: Wed Nov 20, 2013 9:29 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello,

Yes, that is a good summary of the problem, though the scancodes are not ascii but according to this (http://www.win.tue.nl/~aeb/linux/kbd/scancodes-14.html) table for us keyboard. The code in the personalization tool to handle this is at https://github.com/Yubico/yubikey-perso ... anedit.cpp

We're happy to receive any contributions of either code or ideas to make the personalization tool better!

/klas


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group