[opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Egon
Hi everybody Several days ago I wrote a message about testing a new driver. I wrote my new driver over piv driver. Now, I am testing it... My driver uses a pkcs15-emulator. When I use pkcs15-init -C , I get the following message: [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 1

[opensc-devel] OpenSC 0.11.8 released with security update

2009-05-12 Thread Rickard Bondesson
> Hej Rickard, > > I think we met after the EPP presentations? Hmm... Sorry, can't recall that I was at the EPP presentations. > I saw it, and it is still in my inbox (along with thousands > of other open source messages that I could and should attend > to if I had time) but because you didn't

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Andreas Jellinghaus
Am Dienstag 12 Mai 2009 09:32:57 schrieb Egon: > Hi everybody > > Several days ago I wrote a message about testing a new driver. I wrote my > new driver over piv driver. Now, I am testing it... My driver uses a > pkcs15-emulator. > > When I use pkcs15-init -C , I get the following message: I'm no

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Fleblanc
Hi Egon, I think, if you use pkcs15 emulation you can't or didn't need to use pkcs15-init tool, using pkcs15 emulation it's required when cards are uncompatible with real pkcs15 structure so pkcs15-init tool can't use them. Use an another tool to init them or create yours... François. Egon

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Egon
Thank you for your quick response. If I want to test my new driver, I must to write card-CARD.c and pkcs15-CARD.c . With pkcs15-tool can be useful? pkcs11-tool -I can be useful? My card have no pkcs15 structure, but it has an emulation layer. I think that I must to modify my pkcs15-CARD.c in o

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Andreas Jellinghaus
Hi Egon, so I get this right: you have a blank card, and you want to write a driver for it, so you can initialize that card, create PINs, create or store keys, store certificates and so on? but you don't want to implement PKCS#15, but some other format instead? I think you need to write a huge a

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Fleblanc
Sorry, I've done. I've integreated "westcos" cards. You need to implement a "card-xxx.c " a "pkcs15-xxx.c" and to create a tool "xxx-tool.c" With westcos-tool I use opensc api to write file I need on the card, I use pkcs15-westcos.c to emulate pkcs15 structure for this card and of course car

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Egon
Hi Andreas and François and everybody! Thank you for your quick response. I have already initialized the card, this one have no pkcs15 structure, but I can create a few EFs into a DF. I think that I can implement a file system into a large EF and I will use it to store all pkcs15 structure. Th

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Douglas E. Engert
Egon wrote: > Hi everybody > > Several days ago I wrote a message about testing a new driver. I wrote my new > driver over piv driver. Now, I am testing it... My driver uses a > pkcs15-emulator. > The piv driver was never designed to work with pkcs15-init. as the card is not file based, and