Help with USB key from Certeurope

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

Help with USB key from Certeurope

Benjamin Dauvergne-2
Hi, I'm trying to use a certificate emitted by Certeurope and embedded
in a Gemalto GemPC Key. I updated my 'smartcard identifier' db and the
card is identified as a GEMALTO Clasic TPC IM CC[1] but pkcs15-tool[1]
does not seem to know this card, could you help me ? (I'm using pcsc and
opensc tools from Debian lenny).

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

[1]: $ pcsc_scan
PC/SC device scanner
V 1.4.15 (c) 2001-2009, Ludovic Rousseau <[hidden email]>
Compiled with PC/SC lite version: 1.4.102
Scanning present readers...
0: Gemplus GemPC Key 00 00

Tue Oct  5 15:19:36 2010
  Reader 0: Gemplus GemPC Key 00 00
   Card state: Card inserted,
   ATR: 3B 7D 96 00 00 80 31 80 65 B0 83 11 00 C8 83 00 90 00

ATR: 3B 7D 96 00 00 80 31 80 65 B0 83 11 00 C8 83 00 90 00
+ TS = 3B --> Direct Convention
+ T0 = 7D, Y(1): 0111, K: 13 (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 83 11 00 C8 83 00 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 83 11 00 C8
     Tag: 8, len: 3 (status indicator)
       LCS (life card cycle): 00 (No information given)
       SW: 9000 (Normal processing.)

Possibly identified card (using /home/bdauvergne/.smartcard_list.txt):
3B 7D 96 00 00 80 31 80 65 B0 83 11 00 C8 83 00 90 00
        GEMALTO Clasic TPC IM CC

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

[2]: $ pkcs15-tool -v -c
                                             [15:22:50 on 10-10-05]
Using reader with a card: Gemplus GemPC Key 00 00
Connecting to card in reader Gemplus GemPC Key 00 00...
Using card driver Default driver for unknown cards.
Trying to find a PKCS#15 compatible card...
[pkcs15-tool] pkcs15.c:532:sc_pkcs15_bind_internal: unable to enumerate
apps: Incorrect parameters in APDU
[pkcs15-tool] pkcs15.c:799:sc_pkcs15_bind: returning with: Unsupported card
PKCS#15 initialization failed: Unsupported card
_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: Help with USB key from Certeurope

Martin Paljak-2
Hello,
On Oct 5, 2010, at 4:24 PM, Benjamin Dauvergne wrote:

> Hi, I'm trying to use a certificate emitted by Certeurope and embedded
> in a Gemalto GemPC Key. I updated my 'smartcard identifier' db and the
> card is identified as a GEMALTO Clasic TPC IM CC[1] but pkcs15-tool[1]
> does not seem to know this card, could you help me ? (I'm using pcsc and
> opensc tools from Debian lenny).
>
> Trying to find a PKCS#15 compatible card...
> [pkcs15-tool] pkcs15.c:532:sc_pkcs15_bind_internal: unable to enumerate
> apps: Incorrect parameters in APDU
> [pkcs15-tool] pkcs15.c:799:sc_pkcs15_bind: returning with: Unsupported card
> PKCS#15 initialization failed: Unsupported card

Your card is not supported by OpenSC.

If you have the specification for your card and feel like you could write a card driver, you could add support for it in OpenSC.

--
@MartinPaljak.net
+3725156495

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: Help with USB key from Certeurope

Benjamin Dauvergne-2
In reply to this post by Benjamin Dauvergne-2
Martin Paljak <[hidden email]> wrote:

> On Oct 5, 2010, at 4:24 PM, Benjamin Dauvergne wrote:
>
>> Hi, I'm trying to use a certificate emitted by Certeurope and
>> embedded in a Gemalto GemPC Key. I updated my 'smartcard
>> identifier' db and the card is identified as a GEMALTO Clasic TPC
>> IM CC[1] but pkcs15-tool[1] does not seem to know this card, could
>> you help me ? (I'm using pcsc and opensc tools from Debian lenny).
>>
>> Trying to find a PKCS#15 compatible card... [pkcs15-tool]
>> pkcs15.c:532:sc_pkcs15_bind_internal: unable to enumerate apps:
>> Incorrect parameters in APDU [pkcs15-tool]
>> pkcs15.c:799:sc_pkcs15_bind: returning with: Unsupported card
>> PKCS#15 initialization failed: Unsupported card
>
> Your card is not supported by OpenSC.
>
> If you have the specification for your card and feel like you could
> write a card driver, you could add support for it in OpenSC.

I have found an ancient patch for what is claimed to be also a GEMALTO
Classic TPC IM in the archive of the mailing list[1], the ATR does not
match mine and the given patch seem to lack much of the functions I see
in other drivers, so I'm not sure I will be sufficient to just add the
ATR of my card. But I'm determinated to advance on the support for this
card but need some guidance :) Is there some tutorial on adding pkcs#15
support for a card ?

[1]:
http://www.mail-archive.com/opensc-devel@.../msg04314.html

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: Help with USB key from Certeurope

Jean-Michel Pouré - GOOZE
In reply to this post by Benjamin Dauvergne-2
Le mardi 05 octobre 2010 à 15:24 +0200, Benjamin Dauvergne a écrit :
> Hi, I'm trying to use a certificate emitted by Certeurope and embedded
> in a Gemalto GemPC Key. I updated my 'smartcard identifier' db and the
> card is identified as a GEMALTO Clasic TPC IM CC[1] but pkcs15-tool[1]
> does not seem to know this card, could you help me ? (I'm using pcsc
> and
> opensc tools from Debian lenny).

Dear Benjamin,

This card is not supported.

You may buy a supported Feitian ePass PKI for 34,90€ from our shop:
http://www.gooze.eu/feitian-epass-pki-token

The tutorial is available here in HTML:
http://www.gooze.eu/howto/smartcard-quickstarter-guide

And here:
http://www.gooze.eu/printpdf/book/export/html/36

Kind regards,
--
                  Jean-Michel Pouré - Gooze - http://www.gooze.eu

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user

smime.p7s (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help with USB key from Certeurope

Martin Paljak-2
In reply to this post by Benjamin Dauvergne-2
Hello,

On Wed, Oct 6, 2010 at 16:42, Benjamin Dauvergne
<[hidden email]> wrote:
> I have found an ancient patch for what is claimed to be also a GEMALTO
> Classic TPC IM in the archive of the mailing list[1], the ATR does not
> match mine and the given patch seem to lack much of the functions I see
> in other drivers, so I'm not sure I will be sufficient to just add the
> ATR of my card. But I'm determinated to advance on the support for this
> card but need some guidance :) Is there some tutorial on adding pkcs#15
> support for a card ?

Unfortunately not. The procedure of adding a new card driver consists
of "basic operation" unless the stock ISO7816 driver does not work
(src/libopensc/card-*.c), a PKCS#15 emulation driver if the card is
not writeable (src/libopensc/pkcs15-*.c) or a profile and associated
card driver in src/pkcs15init/pkcs15-*.c for cards that will be
personalized with OpenSC.

Feel free to ask questions on opensc-devel if you get stuck.
_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user