Yubico Forum
https://forum.yubico.com/

Configuration API - Vista issue
https://forum.yubico.com/viewtopic.php?f=4&t=160
Page 1 of 1

Author:  Jakob [ Sat Aug 09, 2008 11:24 pm ]
Post subject:  Configuration API - Vista issue

There has been some scattered reports of issues when using the Yubikey configuration component with Windows Vista.

I decided to spend the evening installing Vista on a laptop and it is now up and running. I downloaded all available upgrades available from Microsoft. Maybe I should have checked without these updates first - maybe there is something related to any KBxxxx fixes. There were some 54 patches to download.

From what I can see, it all works fine. But with that said, I don't say the issue is closed.

Please let me know your experiences.

Regards,

JakobE
Hardware- and firmware guy @ Yubico

Author:  ferrix [ Sat Aug 16, 2008 9:15 pm ]
Post subject:  Re: Configuration API - Vista issue

I will ask my developer for more info. Is there any way we can generate debugging data for you to see where the problem is?

Author:  ferrix [ Tue Sep 02, 2008 2:37 am ]
Post subject:  Re: Configuration API - Vista issue

Here is the script used. The error we get is (4) ykREAD_ERROR

Code:
var yk = new ActiveXObject("YubiKcom.YubiKeyConfig");

if (!yk.ykIsInserted)
{
   WScript.Echo("Please insert the YubiKey before running this script.");
}
else
{
   /*
   0: ykFLAG_TAB_FIRST
   1: ykFLAG_APPEND_TAB1
   2: ykFLAG_APPEND_TAB2
   3: ykFLAG_APPEND_DELAY1
   4: ykFLAG_APPEND_DELAY2
   5: ykFLAG_APPEND_CR
   6: ykFLAG_SEND_REF
   7: ykFLAG_TICKET_FIRST
   8: ykFLAG_PACING_10MS
   9: ykFLAG_PACING_20MS
   10: ykFLAG_ALLOW_HIDTRIG
   */

   WScript.Echo("Configuring YubiKey...");
   yk.ykStaticID = "42424242";
   yk.ykUID = "Brian";
   yk.ykKey = "277e34c4f584be8b1d1268d2c70af8c";
   yk.ykFlagProperty(5) = true;

    // This currently fails on Vista with error code 4.
   var result = yk.ykProgram;

   if (result == 0)
   {
      WScript.Echo("Re-configuration successful!");
   }
   else
   {
   /* I believe these are:
   0: ykOK
   1: ykNO_DEVICE
   2: ykMORE_THAN_ONE
   3: ykREAD_ONLY
   4: ykREAD_ERROR
   5: ykWRITE_ERROR
   */
      WScript.Echo("Error: " + result);
   }
}

Author:  ferrix [ Tue Sep 02, 2008 2:37 am ]
Post subject:  Re: Configuration API - Vista issue

Hello? How long will it take to get any update about this?

Author:  Jakob [ Sat Sep 20, 2008 8:54 pm ]
Post subject:  Re: Configuration API - Vista issue

The issue is now resolved

viewtopic.php?f=2&t=145

Regards,

JakobE
Hardware- and firmware guy @ Yubico

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/