Re: [opensc-devel] [opensc-commits] svn opensc changed[3917] pkcs15init: use pinpad

2010-01-18 Thread Viktor TARASOV
Martin Paljak wrote: > On Jan 17, 2010, at 11:08 PM, webmas...@opensc-project.org wrote: > > >> Revision: 3917 >> +if (use_pinpad) >> +r = sc_verify(card, type, reference, NULL, 0, NULL); >> +else >> +r = sc_verify(card, type, refer

Re: [opensc-devel] keycache broken between pkcs11 and pkcs15 layers

2010-01-18 Thread Xiaoshuo Wu
On Mon, 18 Jan 2010 18:55:56 +0800, Aktiv Co. Aleksey Samsonov wrote: > Please see patch in > http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012863.html > for interim measures. That's more subtle, more preferable, I saw its been partly applied in OpenSC, thank you all! __

Re: [opensc-devel] OpenSC-Java required Dll and exe

2010-01-18 Thread Andreas Schwier (ML)
Hi Harry, to access a PKCS#11 DLL you will just need the opensc-java.jar included in your classpath and opensc-PKCS11-0.3.dll file in a directory contained in the PATH environment variable or defined in java.library.path. The location and name of the PKCS#11 DLL is passed to the PKCS11Provider co

[opensc-devel] OpenSC-Java required Dll and exe

2010-01-18 Thread Harry Anuszewski
Hello, I am just wondering what the minimally required dlls / exe to use opensc-java on a Windows 32 bit machine. Without using the Smart Card Bundle and just compiling a fresh copy of OpenSC what is needed to be copied to the System32 directory to make openSC-java load the provider and work.

Re: [opensc-devel] [opensc-commits] svn opensc changed[3917] pkcs15init: use pinpad

2010-01-18 Thread Martin Paljak
On Jan 17, 2010, at 11:08 PM, webmas...@opensc-project.org wrote: > Revision: 3917 > + if (use_pinpad) > + r = sc_verify(card, type, reference, NULL, 0, NULL); > + else > + r = sc_verify(card, type, reference, pinbuf, *pinsize, > NUL

Re: [opensc-devel] Add more functions in libopensc.exports

2010-01-18 Thread Martin Paljak
Hello François (Cc added to opensc-devel) On Jan 18, 2010, at 4:00 PM, François Leblanc wrote: > On Jan 18, 2010, at 12:28 PM, François Leblanc wrote: >>> I wish to add sc_apdu_log, sc_apdu_get_octets and sc_apdu_set_resp to >> Why do you want to do that? These are internal functions and should no

Re: [opensc-devel] Add more functions in libopensc.exports

2010-01-18 Thread François Leblanc
>On Jan 18, 2010, at 12:28 PM, François Leblanc wrote: >> I wish to add sc_apdu_log, sc_apdu_get_octets and sc_apdu_set_resp to >Why do you want to do that? These are internal functions and should not be >>used outside of libopensc. >> I need doing this since I wan't to provide a pcsc drivers

Re: [opensc-devel] Add more functions in libopensc.exports

2010-01-18 Thread Martin Paljak
Hello, On Jan 18, 2010, at 12:28 PM, François Leblanc wrote: > I wish to add sc_apdu_log, sc_apdu_get_octets and sc_apdu_set_resp to Why do you want to do that? These are internal functions and should not be used outside of libopensc. > I need doing this since I wan't to provide a pcsc drivers

Re: [opensc-devel] keycache broken between pkcs11 and pkcs15 layers

2010-01-18 Thread Aktiv Co. Aleksey Samsonov
Hello, > Xiaoshuo Wu wrote: >> On Sun, 17 Jan 2010 20:36:53 +0800, Xiaoshuo Wu >> wrote: >> >>> I'd like to hear your plan for these changes so as to help me fix this. >> I recovered cache_pin() in rev 3783, renamed it add_pins_to_keycache() >> and had some adjustment. When login/change PIN/init

[opensc-devel] Add more functions in libopensc.exports

2010-01-18 Thread François Leblanc
Hello, I wish to add sc_apdu_log, sc_apdu_get_octets and sc_apdu_set_resp to libopensc.exports but if I do this compilation fail with : "/usr/bin/ld:.libs/libopensc.ver:216: syntax error in VERSION script collect2: ld returned 1 exit status" Someone can help me? I need doing this since I wan

Re: [opensc-devel] keycache broken between pkcs11 and pkcs15 layers

2010-01-18 Thread Viktor TARASOV
Xiaoshuo Wu wrote: > On Sun, 17 Jan 2010 20:36:53 +0800, Xiaoshuo Wu > wrote: > >> I'd like to hear your plan for these changes so as to help me fix this. > I recovered cache_pin() in rev 3783, renamed it add_pins_to_keycache() > and had some adjustment. When login/change PIN/init PIN/create obj