Yubico Forum https://forum.yubico.com/ |
|
static password and Alt Gr https://forum.yubico.com/viewtopic.php?f=16&t=2030 |
Page 1 of 1 |
Author: | tchernomax [ Mon Sep 14, 2015 11:21 pm ] |
Post subject: | static password and Alt Gr |
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. |
Author: | Tom2 [ Mon Sep 21, 2015 2:16 pm ] |
Post subject: | Re: static password and Alt Gr |
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 |
Author: | tchernomax [ Sun Sep 27, 2015 11:14 am ] |
Post subject: | Re: static password and Alt Gr |
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". |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |