[Pcsclite-muscle] Failure to read Gemalto IDPrime MD with USB Shell Token V2

Ronald Osure rosure
Mon May 4 02:22:36 PDT 2015


Hi Ludovic,

Here's a snip of pcsc_scan output containing the ATR:
<snip>
Mon May  4 12:19:43 2015
Reader 0: Gemalto USB Shell Token V2 (20798DD0) 00 00
  Card state: Card inserted, 
  ATR: 3B 7F 96 00 00 80 31 80 65 B0 84 23 27 E5 12 0F FE 82 90 00

ATR: 3B 7F 96 00 00 80 31 80 65 B0 84 23 27 E5 12 0F FE 82 90 00
+ TS = 3B --> Direct Convention
+ T0 = 7F, Y(1): 0111, K: 15 (historical bytes)
  TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
    250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 80 31 80 65 B0 84 23 27 E5 12 0F FE 82 90 00
  Category indicator byte: 80 (compact TLV data object)
    Tag: 3, len: 1 (card service data byte)
      Card service data byte: 80
        - Application selection: by full DF name
        - EF.DIR and EF.ATR access services: by GET RECORD(s) command
        - Card with MF
    Tag: 6, len: 5 (pre-issuing data)
      Data: B0 84 23 27 E5
    Tag: 1, len: 2 (country code, ISO 3166-1)
      Country code: 0F FE
    Tag: 8, len: 2 (status indicator)
      SW: 9000

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
        NONE

find: `/root/.cache/smartcard_list.txt': No such file or directory
Your card is not present in the database.
Please submit your unknown card at:
http://smartcard-atr.appspot.com/parse?ATR=3B7F96000080318065B0842327E5120FFE829000
</snip>
Following the link above correctly identifies the card on the smartcard-atr website.

Thanks.

Ronald.

----- Original Message -----
From: "Ludovic Rousseau" <ludovic.rousseau at gmail.com>
To: "Talks about MUSCLE" <pcsclite-muscle at lists.alioth.debian.org>
Sent: Monday, May 4, 2015 11:41:02 AM
Subject: Re: [Pcsclite-muscle] Failure to read Gemalto IDPrime MD with USB Shell Token V2

2015-05-04 10:20 GMT+02:00 Ronald Osure <rosure at kenet.or.ke>:
> Hi Ludovic,
>
> Many thanks for the response. Its surprising that it ended in your spam folder and we aren't on any spam blacklists.
>
> Here is the error I get when I try to run some commands:
> <snip>
> root at ca:/etc/opensc# pkcs11-tool --module  /usr/lib/libgtop11dotnet.so.0 -L
> Available slots:
> Slot 0 (0x0): (GetSlotInfo failed, CKR_TOKEN_NOT_PRESENT)
> Slot 1 (0x1): empty
>   (empty)
> Slot 2 (0x2): empty
>   (empty)
> Slot 3 (0x3): empty
>   (empty)
> Slot 4 (0x4): empty
>   (empty)
>
> Aborting.
> root at ca:/etc/opensc# pkcs11-tool --module  /usr/lib/libgtop11dotnet.so.0 --login --pin 0000 --list-slots
> Available slots:
> Slot 0 (0x0): (GetSlotInfo failed, CKR_TOKEN_NOT_PRESENT)
> Slot 1 (0x1): empty
>   (empty)
> Slot 2 (0x2): empty
>   (empty)
> Slot 3 (0x3): empty
>   (empty)
> Slot 4 (0x4): empty
>   (empty)
> error: PKCS11 function C_OpenSession failed: rv = CKR_TOKEN_NOT_PRESENT (0xe0)
>
> Aborting.
> </snip>

It looks like the PC/SC part is working correctly.

What is the card ATR (returned by pcsc_scan)?

Bye

-- 
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
Pcsclite-muscle at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle




More information about the pcsclite-muscle mailing list