Yubico Forum • View topic (2024)

Page 1 of 2
[ 14 posts ]Go to page 1, 2 Next
Print viewPrevious topic | Next topic
AuthorMessage
Jakob

Post subject: Finding out the Yubikey firmware revision

Posted: Sun Jun 08, 2008 4:14 pm

Yubico Forum • View topic (4)
Site Admin
Yubico Forum • View topic (5)

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

Yubico Forum • View topic (8)

Share On:

Facebook Twitter Tumblr Google+

Simon

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Mon Jun 09, 2008 8:44 am

Yubico Forum • View topic (14)
Site Admin
Yubico Forum • View topic (15)

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

Yubico Forum • View topic (18)
Jakob

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Mon Jun 09, 2008 8:42 pm

Yubico Forum • View topic (20)
Site Admin
Yubico Forum • View topic (21)

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

Yubico Forum • View topic (24)
TomN

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Mon Jun 09, 2008 11:22 pm

Yubico Forum • View topic (26)


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

Yubico Forum • View topic (29)
DavidFlint

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Mon Jun 23, 2008 10:20 pm

Yubico Forum • View topic (31)


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

Yubico Forum • View topic (34)
caitsith6502

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Mon Jun 23, 2008 11:09 pm

Yubico Forum • View topic (36)


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

Yubico Forum • View topic (39)
DavidFlint

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Tue Jun 24, 2008 9:42 am

Yubico Forum • View topic (41)


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

Yubico Forum • View topic (44)
merlin

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Thu Sep 25, 2008 4:35 am

Yubico Forum • View topic (46)


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... Yubico Forum • View topic (47)

Top

Yubico Forum • View topic (50)
harish

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Fri Oct 31, 2008 1:17 pm

Yubico Forum • View topic (52)


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

Yubico Forum • View topic (55)
Simon

Post subject: Re: Finding out the Yubikey firmware revision

Posted: Thu Nov 27, 2008 11:48 am

Yubico Forum • View topic (57)
Site Admin
Yubico Forum • View topic (58)

Joined: Tue May 06, 2008 7:22 pm
Posts: 151

harish wrote:

I guess "bcdDevice 1.31" is the version number?

Yup. Yubico Forum • View topic (59)

/Simon

Top

Yubico Forum • View topic (62)
Page 1 of 2
[ 14 posts ]Go to page 1, 2 Next
Yubico Forum • View topic (2024)

References

Top Articles
Latest Posts
Article information

Author: Ouida Strosin DO

Last Updated:

Views: 5871

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Ouida Strosin DO

Birthday: 1995-04-27

Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

Phone: +8561498978366

Job: Legacy Manufacturing Specialist

Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.