Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Jun 08, 2008 4:14 pm 
Offline
Site Admin
Site Admin

Joined: Wed May 28, 2008 7:04 pm
Posts: 263
Location: Yubico base camp in Sweden - Now in Palo Alto
I've been asked how to check the Yubikey firmware version a few times.

It can be read out via the configuration tool and also via the OS. It is stored in one of the USB descriptors.

Under Windows:
- Fire up the System properties. Go in under Hardware / Device manager.
- Check under "Human Interface Devices". Beside mice, keyboard and other stuff you'll find the "Yubico Yubikey Touch"
- Check under "Details" and browse through the list until "Firmware revision" is found.

Under MacOS X:
- Under "About this Mac" / "More info..." / USB, the Yubikey can be found.
- The firmware revision is shown right away

I just assume there is some straight-foward way to get it under Linux. If you happen to know how, please let me/us know.


Regards,

Jakob E
Hardware- and firmware guy @ Yubico


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Jun 09, 2008 8:44 am 
Offline
Site Admin
Site Admin

Joined: Tue May 06, 2008 7:22 pm
Posts: 151
Under GNU/Linux you can use 'lsusb':

Code:
jas@mocca:~$ lsusb
Bus 005 Device 012: ID 1050:0010 
...


This is the yubikey. For some reason the linux USB repository I'm using doesn't know this is a yubikey, I thought they retrieved USB listings for upstream automatically.

To look at the details, you can run:

Code:
jas@mocca:~$ lsusb -d 1050:0010 -v

Bus 005 Device 012: ID 1050:0010 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x1050
  idProduct          0x0010
  bcdDevice            1.10
  iManufacturer           1 Yubico
  iProduct                2 Yubico Yubikey Touch
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      71
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)
jas@mocca:~$


I suspect the 'bcdDevice' is the firmware version, but I'm not sure. Jakob?

/Simon


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 09, 2008 8:42 pm 
Offline
Site Admin
Site Admin

Joined: Wed May 28, 2008 7:04 pm
Posts: 263
Location: Yubico base camp in Sweden - Now in Palo Alto
Right so. The version number in the USB descriptor is a 16-bit BCD number and 0x0110 is version 1.1.0

... which reveals that the USB descriptor was not updated when the firmware version number was lifted to 1.2.0. Sorry for that.

JakobE
Hardware- and firmware guy @ Yubico


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 09, 2008 11:22 pm 
Offline

Joined: Fri Jun 06, 2008 10:58 pm
Posts: 6
The Yubikey I received last week also shows version 1.10 under WinXP's Device Manager.

Tomn


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 23, 2008 10:20 pm 
Offline

Joined: Mon Jun 23, 2008 9:13 pm
Posts: 2
JakobE wrote:
I've been asked how to check the Yubikey firmware version a few times.

It can be read out via the configuration tool and also via the OS. It is stored in one of the USB descriptors.

Under Windows:
- Fire up the System properties. Go in under Hardware / Device manager.
- Check under "Human Interface Devices". Beside mice, keyboard and other stuff you'll find the "Yubico Yubikey Touch"
- Check under "Details" and browse through the list until "Firmware revision" is found.

......


Regards,

Jakob E
Hardware- and firmware guy @ Yubico


I have Windows Vista SP1.

The Device Manager shows Human Interface Device but doesn't mention Yubico or Yubikey. The driver and details are all for a Microsoft Driver 6.0.6001.18000.

Am I missing something?

I also discovered Yubikeys on Security Now!

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 23, 2008 11:09 pm 
Offline

Joined: Mon Jun 09, 2008 6:12 pm
Posts: 19
Under windows, if it doesn't show up as a Yubico Yubikey touch, You can still find out its version.

It will most likely be listed as "HID Keyboard Device" under Keyboards. In any case, Yubikeys will have VID = 0x1050 and PID = 0x0010. If you go under details, and select Hardware IDs, you will find the Revision, = 0x0110. (Either 1.1 or 1.2 yubikeys, since they forgot to update the revision number for 1.2), or 0x0130 for 1.30 Yubikeys.

(Oh yeah, I am another one to have discovered yubikey by security now.)


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 24, 2008 9:42 am 
Offline

Joined: Mon Jun 23, 2008 9:13 pm
Posts: 2
caitsith6502 wrote:
Under windows, if it doesn't show up as a Yubico Yubikey touch, You can still find out its version.

It will most likely be listed as "HID Keyboard Device" under Keyboards. In any case, Yubikeys will have VID = 0x1050 and PID = 0x0010. If you go under details, and select Hardware IDs, you will find the Revision, = 0x0110. (Either 1.1 or 1.2 yubikeys, since they forgot to update the revision number for 1.2), or 0x0130 for 1.30 Yubikeys.

(Oh yeah, I am another one to have discovered yubikey by security now.)


Thanks - it still shows as a generic HID but I have checked the details and they do indicate it is a Version 1.1(or2) Yubikey.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 25, 2008 4:35 am 
Offline

Joined: Sat Aug 30, 2008 3:08 pm
Posts: 3
Hi Jakob

In another post (viewtopic.php?p=180#p180) you mention the bit layout of the decrypted OTP may be revised in the future.

Would it would it be possible to include the firmware version (or at least the OTP layout version) in a known/fixed place in the decrypted OTP. This would allow the authentication server to know what bit layout it's trying to interpret

Just a thought... :)


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 31, 2008 1:17 pm 
Offline

Joined: Fri Oct 31, 2008 12:55 pm
Posts: 2
I am trying to check the firmware and other details from my Fedora 10 machine. Here's what
I have from two command lsusb and lsusb -d 1050:0010 -v

[root@qbic ~]# lsusb
Bus 001 Device 002: ID 0bc2:3000 Seagate RSS LLC
Bus 001 Device 001: ID 1d6b:0002
Bus 004 Device 003: ID 1050:0010
Bus 004 Device 002: ID 045e:006a Microsoft Corp.
Bus 004 Device 001: ID 1d6b:0001
Bus 003 Device 002: ID 5543:0003 UC-Logic Technology Corp. Genius MousePen 4x3 Tablet/Aquila L1 Tablet
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
[root@qbic ~]# lsusb -d 1050:0010
Bus 004 Device 003: ID 1050:0010

[root@qbic ~]# lsusb -d 1050:0010 -v

Bus 004 Device 003: ID 1050:0010
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1050
idProduct 0x0010
bcdDevice 1.31
iManufacturer 1 Yubico
iProduct 2 Yubico Yubikey Touch
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 50mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 71
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10

I guess "bcdDevice 1.31" is the version number?

Harish


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 27, 2008 11:48 am 
Offline
Site Admin
Site Admin

Joined: Tue May 06, 2008 7:22 pm
Posts: 151
harish wrote:
I guess "bcdDevice 1.31" is the version number?


Yup. :)

/Simon


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 5 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