Troubles with a Gemalto USB token

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Troubles with a Gemalto USB token

latac
Hello

I have troubles with a Gemalto USB token. It is listed as supported
on OpenSC wiki, but OpenSC is unable to use it.

Here is what happens:
$ opensc-tool -n
Using reader with a card: Gemalto USB Shell Token V2 (3F91D002) 00 00
Unsupported card

Here is the configuration:
  USB token "Gemalto USB Shell Token V2 (3F91D002)"

PCSC-lite version:
  pcsc-lite version 1.8.10.
  Copyright (C) 1999-2002 by David Corcoran <corcoran@linuxnet.com>.
  Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rousseau@free.fr>.
  Copyright (C) 2003-2004 by Damien Sauveron <sauveron@labri.fr>.
  Report bugs to <muscle@lists.musclecard.com>.
  Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d

CCID version:
  CCID 1.4.15

OpenSC version:
  opensc 0.13.0 [gcc  4.8.2]
  Enabled features: zlib readline openssl pcsc(libpcsclite.so.1)

OS version:
  Ubuntu 14.04 LTS
  Linux virtual-ubuntu 3.16.0-36-generic #48~14.04.1-Ubuntu SMP Wed Apr 15 13:11:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

And attached is the pcscd log.
log.txt
Reply | Threaded
Open this post in threaded view
|

Re: Troubles with a Gemalto USB token

Douglas E Engert


On 6/10/2015 3:31 AM, latac wrote:
> Hello
>
> I have troubles with a Gemalto USB token. It is listed as supported
> on OpenSC wiki, but OpenSC is unable to use it.

The Wiki is at:
https://github.com/OpenSC/OpenSC/wiki/Supported-hardware-(smart-cards-and-USB-tokens)

Can you point out where it says it is supported?
It may be supported by pcsc, but not by OpenSC.

It might also need to be initialized, or have some applet loaded to work with OpenSC.

Google for:  OpenSC Gemalto USB Shell Token

May be a virtualization problem:
http://opensc.1086184.n5.nabble.com/Smartcard-recognized-by-pcsc-scan-but-not-opensc-tools-td13768.html

>
> Here is what happens:
> $ opensc-tool -n
> Using reader with a card: Gemalto USB Shell Token V2 (3F91D002) 00 00
> Unsupported card

Says it is not supported.
OpenSC-0.13.0 is from 2012, 0.15.0 is from 2015, maybe the support is in 0.15.0.


>
> Here is the configuration:
>    USB token "Gemalto USB Shell Token V2 (3F91D002)"
>
> PCSC-lite version:
>    pcsc-lite version 1.8.10.
>    Copyright (C) 1999-2002 by David Corcoran <[hidden email]>.
>    Copyright (C) 2001-2011 by Ludovic Rousseau <[hidden email]>.
>    Copyright (C) 2003-2004 by Damien Sauveron <[hidden email]>.
>    Report bugs to <[hidden email]>.
>    Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev
> usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd
> configdir=/etc/reader.conf.d
>
> CCID version:
>    CCID 1.4.15
>
> OpenSC version:
>    opensc 0.13.0 [gcc  4.8.2]
>    Enabled features: zlib readline openssl pcsc(libpcsclite.so.1)
>
> OS version:
>    Ubuntu 14.04 LTS
>    Linux virtual-ubuntu 3.16.0-36-generic #48~14.04.1-Ubuntu SMP Wed Apr 15
> 13:11:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
> And attached is the pcscd log.
> log.txt <http://opensc.1086184.n5.nabble.com/file/n15367/log.txt>

What is output of: opensc-tool -a

>
>
> --
> View this message in context: http://opensc.1086184.n5.nabble.com/Troubles-with-a-Gemalto-USB-token-tp15367.html
> Sent from the Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Opensc-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel
>

--

  Douglas E. Engert  <[hidden email]>


------------------------------------------------------------------------------
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Troubles with a Gemalto USB token

Ludovic Rousseau
Hello,

2015-06-10 13:46 GMT+02:00 Douglas E Engert <[hidden email]>:

>
>
> On 6/10/2015 3:31 AM, latac wrote:
>> Hello
>>
>> I have troubles with a Gemalto USB token. It is listed as supported
>> on OpenSC wiki, but OpenSC is unable to use it.
>
> The Wiki is at:
> https://github.com/OpenSC/OpenSC/wiki/Supported-hardware-(smart-cards-and-USB-tokens)
>
> Can you point out where it says it is supported?
> It may be supported by pcsc, but not by OpenSC.
>
> It might also need to be initialized, or have some applet loaded to work with OpenSC.
>
> Google for:  OpenSC Gemalto USB Shell Token
>
> May be a virtualization problem:
> http://opensc.1086184.n5.nabble.com/Smartcard-recognized-by-pcsc-scan-but-not-opensc-tools-td13768.html
>
>>
>> Here is what happens:
>> $ opensc-tool -n
>> Using reader with a card: Gemalto USB Shell Token V2 (3F91D002) 00 00
>> Unsupported card
>
> Says it is not supported.
> OpenSC-0.13.0 is from 2012, 0.15.0 is from 2015, maybe the support is in 0.15.0.

The "Gemalto USB Shell Token V2" is not a token but a smart card
reader with a SIM size smart card in it.
The problem is not with the smart card reader but with the smart card
inserted in the reader.

>> Here is the configuration:
>>    USB token "Gemalto USB Shell Token V2 (3F91D002)"
>>
>> PCSC-lite version:
>>    pcsc-lite version 1.8.10.
>>    Copyright (C) 1999-2002 by David Corcoran <[hidden email]>.
>>    Copyright (C) 2001-2011 by Ludovic Rousseau <[hidden email]>.
>>    Copyright (C) 2003-2004 by Damien Sauveron <[hidden email]>.
>>    Report bugs to <[hidden email]>.
>>    Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev
>> usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd
>> configdir=/etc/reader.conf.d
>>
>> CCID version:
>>    CCID 1.4.15
>>
>> OpenSC version:
>>    opensc 0.13.0 [gcc  4.8.2]
>>    Enabled features: zlib readline openssl pcsc(libpcsclite.so.1)
>>
>> OS version:
>>    Ubuntu 14.04 LTS
>>    Linux virtual-ubuntu 3.16.0-36-generic #48~14.04.1-Ubuntu SMP Wed Apr 15
>> 13:11:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>
>> And attached is the pcscd log.
>> log.txt <http://opensc.1086184.n5.nabble.com/file/n15367/log.txt>
>
> What is output of: opensc-tool -a

According to the log the ATR is
3B 7F 96 00 00 00 31 B8 64 40 F3 85 10 73 94 01 80 82 90 00

According to https://smartcard-atr.appspot.com/parse?ATR=3B7F9600000031B86440F3851073940180829000
the card is a "IAS ECC Type 1".

I don't know if this smart card is supported by OpenSC.

Bye

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Troubles with a Gemalto USB token

Thomas Calderon

Hi,

Douglas and Ludovic are right.

You should try out compiling OpenSC 0.15.0.
I worked on those IAS cards, it should work with the latest release.

Bye.

Thomas

Le 10 juin 2015 10:34 PM, "Ludovic Rousseau" <[hidden email]> a écrit :
Hello,

2015-06-10 13:46 GMT+02:00 Douglas E Engert <[hidden email]>:
>
>
> On 6/10/2015 3:31 AM, latac wrote:
>> Hello
>>
>> I have troubles with a Gemalto USB token. It is listed as supported
>> on OpenSC wiki, but OpenSC is unable to use it.
>
> The Wiki is at:
> https://github.com/OpenSC/OpenSC/wiki/Supported-hardware-(smart-cards-and-USB-tokens)
>
> Can you point out where it says it is supported?
> It may be supported by pcsc, but not by OpenSC.
>
> It might also need to be initialized, or have some applet loaded to work with OpenSC.
>
> Google for:  OpenSC Gemalto USB Shell Token
>
> May be a virtualization problem:
> http://opensc.1086184.n5.nabble.com/Smartcard-recognized-by-pcsc-scan-but-not-opensc-tools-td13768.html
>
>>
>> Here is what happens:
>> $ opensc-tool -n
>> Using reader with a card: Gemalto USB Shell Token V2 (3F91D002) 00 00
>> Unsupported card
>
> Says it is not supported.
> OpenSC-0.13.0 is from 2012, 0.15.0 is from 2015, maybe the support is in 0.15.0.

The "Gemalto USB Shell Token V2" is not a token but a smart card
reader with a SIM size smart card in it.
The problem is not with the smart card reader but with the smart card
inserted in the reader.

>> Here is the configuration:
>>    USB token "Gemalto USB Shell Token V2 (3F91D002)"
>>
>> PCSC-lite version:
>>    pcsc-lite version 1.8.10.
>>    Copyright (C) 1999-2002 by David Corcoran <[hidden email]>.
>>    Copyright (C) 2001-2011 by Ludovic Rousseau <[hidden email]>.
>>    Copyright (C) 2003-2004 by Damien Sauveron <[hidden email]>.
>>    Report bugs to <[hidden email]>.
>>    Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev
>> usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd
>> configdir=/etc/reader.conf.d
>>
>> CCID version:
>>    CCID 1.4.15
>>
>> OpenSC version:
>>    opensc 0.13.0 [gcc  4.8.2]
>>    Enabled features: zlib readline openssl pcsc(libpcsclite.so.1)
>>
>> OS version:
>>    Ubuntu 14.04 LTS
>>    Linux virtual-ubuntu 3.16.0-36-generic #48~14.04.1-Ubuntu SMP Wed Apr 15
>> 13:11:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>
>> And attached is the pcscd log.
>> log.txt <http://opensc.1086184.n5.nabble.com/file/n15367/log.txt>
>
> What is output of: opensc-tool -a

According to the log the ATR is
3B 7F 96 00 00 00 31 B8 64 40 F3 85 10 73 94 01 80 82 90 00

According to https://smartcard-atr.appspot.com/parse?ATR=3B7F9600000031B86440F3851073940180829000
the card is a "IAS ECC Type 1".

I don't know if this smart card is supported by OpenSC.

Bye

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

------------------------------------------------------------------------------

_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Troubles with a Gemalto USB token

latac
It works well with OpenSC 0.15.0

Thanks !