|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] CCID bogus firmware checking is ... well ... bogus :)
From: Iain MacDonnell (muscle
dseven.org)
Date: Wed Mar 29 2006 - 07:28:55 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ludovic Rousseau wrote on 03/28/06 10:56 PM:
> On 28/03/06, Iain MacDonnell <muscle
dseven.org> wrote:
>> Trying to use a SCM SCR331 with the current SVN trunk version of the
>> CCID IFD Handler, it's reporting that my firmware, which it reports
>> as "2.06", is old. Since this is reported in hex, I believe that
>> makes it (2x256 + 6 =) 518 decimal. The current version, according
>> to [1], is still 5.18.
>>
>> Looking at ccid_usb.c:
>>
>> static struct _bogus_firmware Bogus_firmwares[] = {
>> ...
>> { 0x04e6, 0xe001, 0x0516 }, /* SCR 331 */
>>
>>
>> Is that supposed to represent v5.16? If so, I think it should be
>>
>> { 0x04e6, 0xe001, 0x0204 }, /* SCR 331 */
>>
>> ?
>>
>> BTW, I also have a SCR331 with ActivCard v2 firmware on it, which I
>> believe is up-to-date. It is also reported as "bogus", with a value
>> of "0.CA".
>
> Can you run the ccid-1.0.0/src/parse command with each of your readers
> and send me the outputs?
Attached.
~Iain
idVendor: 0x09C3
iManufacturer: ActivCard
idProduct: 0x0008
iProduct: ActivCard USB Reader V2
bcdDevice: 0.CA (firmware release?)
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 3
bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
bInterfaceSubClass: 1
UNSUPPORTED SubClass
bInterfaceProtocol: 1
UNSUPPORTED InterfaceProtocol
iInterface: 4
CCID Class Descriptor
bLength: 0x36
bDescriptorType: 0x21
bcdCCID: 1.00
bMaxSlotIndex: 0x00
bVoltageSupport: 0x01
5.0V
dwProtocols: 0x0000 0x0003
T=0
T=1
dwDefaultClock: 4.000 MHz
dwMaximumClock: 4.000 MHz
bNumClockSupported: 0 (will use whatever is returned)
IFD does not support GET CLOCK FREQUENCIES request
dwDataRate: 9600 bps
dwMaxDataRate: 115200 bps
bNumDataRatesSupported: 0 (will use whatever is returned)
IFD does not support GET_DATA_RATES request
dwMaxIFSD: 252
dwSynchProtocols: 0x00000000
dwMechanical: 0x00000000
No special characteristics
dwFeatures: 0x000100BA
....02 Automatic parameter configuration based on ATR data
....08 Automatic ICC voltage selection
....10 Automatic ICC clock frequency change according to parameters
....20 Automatic baud rate change according to frequency and Fi, Di params
....80 Automatic PPS made by the CCID
01.... TPDU level exchange
dwMaxCCIDMessageLength: 263 bytes
bClassGetResponse: 0xFF
echoes the APDU class
bClassEnveloppe: 0xFF
echoes the APDU class
wLcdLayout: 0x0000
bPINSupport: 0x00
bMaxCCIDBusySlots: 1
idVendor: 0x04E6
iManufacturer: SCM Microsystems Inc.
idProduct: 0xE001
iProduct: SCRx31 USB Smart Card Reader
bcdDevice: 2.06 (firmware release?)
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 3
bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
bInterfaceSubClass: 0
bInterfaceProtocol: 0
iInterface: 4
CCID Class Descriptor
bLength: 0x36
bDescriptorType: 0x21
bcdCCID: 1.00
bMaxSlotIndex: 0x00
bVoltageSupport: 0x01
5.0V
dwProtocols: 0x0000 0x0003
T=0
T=1
dwDefaultClock: 4.000 MHz
dwMaximumClock: 12.000 MHz
bNumClockSupported: 0 (will use whatever is returned)
IFD does not support GET CLOCK FREQUENCIES request
dwDataRate: 9600 bps
dwMaxDataRate: 307200 bps
bNumDataRatesSupported: 0 (will use whatever is returned)
IFD does not support GET_DATA_RATES request
dwMaxIFSD: 252
dwSynchProtocols: 0x00000000
dwMechanical: 0x00000000
No special characteristics
dwFeatures: 0x000100BA
....02 Automatic parameter configuration based on ATR data
....08 Automatic ICC voltage selection
....10 Automatic ICC clock frequency change according to parameters
....20 Automatic baud rate change according to frequency and Fi, Di params
....80 Automatic PPS made by the CCID
01.... TPDU level exchange
dwMaxCCIDMessageLength: 263 bytes
bClassGetResponse: 0xFF
echoes the APDU class
bClassEnveloppe: 0xFF
echoes the APDU class
wLcdLayout: 0x0000
bPINSupport: 0x00
bMaxCCIDBusySlots: 1
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]