Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 1:06 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Sep 14, 2015 11:21 pm 
Offline

Joined: Mon Sep 14, 2015 11:03 pm
Posts: 2
Hello,

I would like to know if the yubikey is able to use the modifier key Alt Gr in static configuration mode ? (even if it's implemented yet in the configuration software).

I found that you have to add 0x80 to any scancode to use the Shift modifier key on it but I didn't found anything about Alt Gr.
It seams the transformation between press scancode and press/release/modifier scancode is done internally inside the yubikey (first line "9c141a", last line "9c 14 1a") :
Code:
ykpersonalize -1 -v -oshort-ticket -o fixed=h:9c141a -a00000000000000000000000000000000
Firmware version 3.4.3 Touch level 1543 Program sequence 5

fixed: m:krbfbl
uid: 000000000000
key: h:00000000000000000000000000000000
acc_code: h:000000000000
ticket_flags: APPEND_CR
config_flags: SHORT_TICKET
extended_flags:

Commit? (y/n) [n]: y
YK_DEBUG: Write 58 bytes to YubiKey :
00 03 04 03 05 07 06 00
9c 14 1a 00 00 00 00 80



Regards.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Sep 21, 2015 2:16 pm 
Online
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
Hello,

When the Yubikey "press" a scancode will then release it before pressing the next one.

Thus, you cannot press and hold the modifies "shift + next scancode" without first releasing shift. Hence why is not working :)


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 27, 2015 11:14 am 
Offline

Joined: Mon Sep 14, 2015 11:03 pm
Posts: 2
Tom2 wrote:
When the Yubikey "press" a scancode will then release it before pressing the next one.
Thus, you cannot press and hold the modifies "shift + next scancode" without first releasing shift. Hence why is not working :)


In fact it does work with Shift, meaning you can program the yubikey to "press" the shift scancode, "press" and "release" another key and then "release" shift.
When you configure the yubikey, add 0x80 to the "other" key scancode ; it's a trick to tell the yubikey it has to "press" the shift key before to "press & release" the key scancode and then "release" the shift.

(normaly key scancode + 0x80 is the scancode for "release" key event)

What I wanted to know is if there is another "trick" or another way to configure the yubikey which would allow me to use "Alt Gr".


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


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