Re: [opensc-devel] adding support for a java applet

2012-10-22 Thread aidin boghaniyan
Hello again, Do anybody have any idea? Thanks in advance On Tue, Oct 16, 2012 at 9:54 AM, aidin boghaniyan aidinb...@gmail.comwrote: Hi, I have some kona25 http://www.tagsystems.net/downloads java card, and I must provide a pkcs11 interface for them. I know that the best way for using them

Re: [opensc-devel] adding support for a java applet

2012-10-22 Thread helpcrypto helpcrypto
Maybe Im wrong, but AFAIK if opensc says unsupported card, then you have to make a driver for it: http://www.opensc-project.org/opensc/wiki/FrequentlyAskedQuestions#Q:WhattodoifmycardisnotsupportedbyOpenSC On Mon, Oct 22, 2012 at 8:48 AM, aidin boghaniyan aidinb...@gmail.com wrote: Hello again,

Re: [opensc-devel] adding support for a java applet

2012-10-22 Thread Andreas Schwier
Dear Aidin, for writing a card driver I would suggest to pick one of the existing drivers and adapt to your specific needs. It's a little bit of work, but it can be done. It's probably best to start with the integration into opensc-explorer. Once you get that to work, take the next step and

Re: [opensc-devel] PIN not sent to card before signing

2012-10-22 Thread Douglas E. Engert
Based on the information in this thread, it looks like pkcs11-tool is is missing two lines that would check if the CKA_ALWAYS_AUTHENTICATE is set for the key in the sign_data routine. Can you try the attached patch? On 10/22/2012 3:10 AM, Mathias Tausig wrote: On Sunday 21. October 2012

[opensc-devel] [PATCH] buffer overflow fix

2012-10-22 Thread Emmanuel Dreyfus
Hi Please check in the fix below. --- src/pkcs11/pkcs11-global.c.orig 2012-10-22 09:11:56.0 +0200 +++ src/pkcs11/pkcs11-global.c 2012-10-22 09:12:14.0 +0200 @@ -43,9 +43,9 @@ #if defined(HAVE_PTHREAD) defined(PKCS11_THREAD_LOCKING) #include pthread.h CK_RV