Re: [opensc-devel] Add card minidriver base on trunk.

2010-02-02 Thread Andreas Jellinghaus
a few comments from my side: * please change all debug strings to english :) * "opensccm" is a big cryptik, what about "cardmodule" or so? (if it is in the opensc source code, we know it relates to opensc, so no need to put "opensc" in the name) * I guess opensccm.c uses some template from micr

[opensc-devel] Add card minidriver base on trunk.

2010-02-02 Thread François Leblanc
Hello, I wish to add base of card minidriver to trunk, so other can start help. This add a file opensccm.c to src/libopensc add code to reader-pcsc.c and Make small modifies to some configurations files. All changes apply only for cross building to windows, no interaction if Card module isn'

[opensc-devel] replacing libopensc/ui.[ch]

2010-02-02 Thread Andreas Jellinghaus
opensc includes a flexible user interface code libopensc/ui.c and ui.h. here is what it does and what I changed. * in ctx.c the language is set to "en" with a call to locale(). In my opinion this should be done - if at all - by the apps using opensc and interacting with the user, not by opensc

Re: [opensc-devel] pkcs15-lib.c: sweep the code that was commented out

2010-02-02 Thread Martin Paljak
On Feb 2, 2010, at 18:10 , Viktor TARASOV wrote: > Hi, > > no objections if I sweep the code, that was commented out three years ago? No. In fact, all dead code should be reaped (svn provides means for recovery if required) -- Martin Paljak http://martin.paljak.pri.ee +3725156495 ___

[opensc-devel] pkcs15-lib.c: sweep the code that was commented out

2010-02-02 Thread Viktor TARASOV
Hi, no objections if I sweep the code, that was commented out three years ago? http://www.opensc-project.org/opensc/browser/trunk/src/pkcs15init/pkcs15-lib.c?rev=#L140 Viktor. -- Viktor Tarasov ___ opensc-devel mailing list [email protected]

Re: [opensc-devel] [opensc-commits] svn opensc changed[3977] PC/SC: Do not try to watch 0 readers on OS X

2010-02-02 Thread Ludovic Rousseau
2010/2/2 Andreas Jellinghaus : > +#ifndef __APPLE__ /* OS X 10.6.2 does not support PnP notification */ > > is this a Mac OS X related thing, or part of the pcsc-lite for > Mac OS X? i.e. will it go away if you compile pcsc-lite yourself? Apple version of pcsc-lite does not (yet) support PnP notif

Re: [opensc-devel] pkcs15init: API question

2010-02-02 Thread Viktor TARASOV
Andreas Jellinghaus wrote: > Am Dienstag 02 Februar 2010 14:04:57 schrieb Viktor TARASOV: > >> I guess not only consolidation -- one day 'pkcs15', 'pkcs15init' and >> 'pkcs11' frameworks in OpenSC should be really 'multi-application'. >> 'Sc_pkcs15_bind' should accept the AID of the application;

Re: [opensc-devel] [opensc-commits] svn opensc changed[3978] Include simclist. h to opensc includes to be able to build OpenSC.tokend

2010-02-02 Thread Andreas Jellinghaus
Am Dienstag 02 Februar 2010 13:53:44 schrieb [email protected]: > Include simclist.h to opensc includes to be able to build OpenSC.tokend ah, the context now includes "list_t readers", thus everyone using "opensc.h" needs to have simclist.h too. hmm, in that case we could export the si

Re: [opensc-devel] [opensc-commits] svn opensc changed[3977] PC/SC: Do not try to watch 0 readers on OS X

2010-02-02 Thread Andreas Jellinghaus
+#ifndef __APPLE__ /* OS X 10.6.2 does not support PnP notification */ is this a Mac OS X related thing, or part of the pcsc-lite for Mac OS X? i.e. will it go away if you compile pcsc-lite yourself? Regards, Andreas ___ opensc-devel mailing list opensc

Re: [opensc-devel] pkcs15init: API question

2010-02-02 Thread Andreas Jellinghaus
Am Dienstag 02 Februar 2010 14:04:57 schrieb Viktor TARASOV: > I guess not only consolidation -- one day 'pkcs15', 'pkcs15init' and > 'pkcs11' frameworks in OpenSC should be really 'multi-application'. > 'Sc_pkcs15_bind' should accept the AID of the application; > 'framework-pkcs15' should make the

Re: [opensc-devel] pkcs15init: API question

2010-02-02 Thread Andreas Jellinghaus
Am Dienstag 02 Februar 2010 12:50:29 schrieb Martin Paljak: > Two separate frameworks in the pkcs#11 module, as they exist now, don't > make sense (separate pkcs15init and pkcs15) so what do we need to do to clean this up and keep only the used code? > the same way separated pkcs15init library

Re: [opensc-devel] pkcs15init: API question

2010-02-02 Thread Viktor TARASOV
Martin Paljak wrote: > On Feb 1, 2010, at 18:54 , Viktor TARASOV wrote: > >> Martin Paljak wrote: >> >>> On Feb 1, 2010, at 17:07 , Andreas Jellinghaus wrote: >>> >>> Am Montag 01 Februar 2010 15:10:05 schrieb Viktor TARASOV: fine with me. btw: if you need to

Re: [opensc-devel] [opensc-commits] svn opensc changed[3978] Include simclist. h to opensc includes to be able to build OpenSC.tokend

2010-02-02 Thread Martin Paljak
On Feb 2, 2010, at 14:53 , [email protected] wrote: > Revision: 3978 > Author: martin > Date: 2010-02-02 12:53:44 + (Tue, 02 Feb 2010) > > Log Message: > --- > Include simclist.h to opensc includes to be able to build OpenSC.tokend As the distributable files should b

Re: [opensc-devel] Problems developing with Starcos 2.3

2010-02-02 Thread Viktor TARASOV
Fernando Sanchez Chaparro wrote: > Finally, I found how to solve my problem thank to your answers. I > really appreciate the help I have received from this list. > > The problem was that I had initialized the smart card with only the SO > Pin, and therefore the opensc-pkcs11.dll didn't find any

Re: [opensc-devel] Problems developing with Starcos 2.3

2010-02-02 Thread Fernando Sanchez Chaparro
Finally, I found how to solve my problem thank to your answers. I really appreciate the help I have received from this list. The problem was that I had initialized the smart card with only the SO Pin, and therefore the opensc-pkcs11.dll didn't find any slot. Using the onepin profile (pkcs15-init -

Re: [opensc-devel] pkcs15init: API question

2010-02-02 Thread Martin Paljak
On Feb 1, 2010, at 18:54 , Viktor TARASOV wrote: > Martin Paljak wrote: >> On Feb 1, 2010, at 17:07 , Andreas Jellinghaus wrote: >> >>> Am Montag 01 Februar 2010 15:10:05 schrieb Viktor TARASOV: >>> >>> fine with me. >>> >>> btw: if you need to touch pkcs11/ for that, maybe you know the >>> code

Re: [opensc-devel] Pkcs15init old API: question

2010-02-02 Thread Andreas Jellinghaus
Am Dienstag 02 Februar 2010 10:52:55 schrieb Viktor TARASOV: > Hi, > > actually the Old API can go in peace. hurray! gratulations! Andreas ___ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinf

Re: [opensc-devel] Pkcs15init old API: question

2010-02-02 Thread Viktor TARASOV
Hi, actually the Old API can go in peace. Any sorrow? Kind wishes, Viktor. -- Viktor Tarasov ___ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel