[opensc-devel] Bug in pcsc-reader

2009-04-16 Thread Marc Rios Valles
Hi, I think we (C3PO) have discovered a bug in the file pcsc-reader.c. We are developing a card driver that needs to call 2 times each execution to sc_reset because its a card that works under secure_channel and we need to assure that we break the secure channel befor we recreate it. If I execu

Re: [opensc-devel] Developing an emv driver

2009-04-16 Thread Andreas Jellinghaus
Am Donnerstag 16 April 2009 12:25:40 schrieb Egon: > I dont know how can I write a pks15-emulator, is there any example? sure, have a look at the estid code or the tcos code or piv code. all those cards are initialized in formats other than pkcs#15, thus they have en emulation layer in opensc. >

Re: [opensc-devel] Developing an emv driver

2009-04-16 Thread Andreas Jellinghaus
Am Donnerstag 16 April 2009 09:18:19 schrieb Egon: > How can I write this two files in order to get pkcs15 filesystem support to > my card... Can I create a dedicated EF into my card and create all pkcs15 > structure on it? Must I create all the architecture of pkcs15 into my card? > My card is rea

Re: [opensc-devel] Developing an emv driver

2009-04-16 Thread Egon
Thanks for your quick response > Hi Egon, > > On 16.04.2009, at 10:18, Egon wrote: > > I have a smartcard that opensc identifies as an emv > card and it says that it is unsupported. > OpenSC does not support EMV cards. There is a dummy driver > that detects your card as an EMV compatible one, bu

Re: [opensc-devel] Developing an emv driver

2009-04-16 Thread Martin Paljak
Hi Egon, On 16.04.2009, at 10:18, Egon wrote: > I have a smartcard that opensc identifies as an emv card and it says > that it is unsupported. OpenSC does not support EMV cards. There is a dummy driver that detects your card as an EMV compatible one, but that's it. > I know that i must to wri

Re: [opensc-devel] [opensc-user] eap-tls + smartcard+ pkcs.... ?!

2009-04-16 Thread Andreas Jellinghaus
if the card you have is a blank javacard, then you can install the musclecard applet and use it with opensc. muscle card applet provides a very basic filesystem to opensc. > --> I understand why shoud I write an emulation for opensc, but: opensc works with pkcs#15 data structures. a) you have a

[opensc-devel] Developing an emv driver

2009-04-16 Thread Egon
Hi everybody I have a smartcard that opensc identifies as an emv card and it says that it is unsupported. I know that i must to write libopensc/card-mycard.c and libopensc/pkcs15-mycard.c in order to get a driver with read-only support. But I dont know how to do this step. I have several com