Re: [opensc-devel] Issue in Certificate logon in XP

2007-07-18 Thread kamal kumar
Yes, Winlogon process calls IDAlly CSP which calls opensc-pkcs11 module. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Hi, > > Yes, Two processes are calling opensc-pkcs11 > module. > > And C_Finalize is called by IdAlly.exe process. > > > > Since Winlogon pro

Re: [opensc-devel] Encryption with NetKey

2007-07-18 Thread Peter Stuge
On Wed, Jul 18, 2007 at 10:43:21AM -0500, Douglas E. Engert wrote: > > If you can use OpenSC in your application why not use only OpenSC? > > > > If you must use CryptoApi then OpenSC can't help. > > I disagree... > IdAlly has a CSP that can call PKCS#11/OpenSC and is usable for > login... > http

Re: [opensc-devel] Encryption with NetKey

2007-07-18 Thread Andreas Jellinghaus
On Wednesday 18 July 2007 11:10:30 Dmitry wrote: > Andreas Jellinghaus dungeon.inka.de> writes: > > you got it to work? great! I once got the binary on the web page to > > work, but everytime I compiled it myself (and got it signed by > > microsoft), it didn't work. did you compile it yourself? c

[opensc-devel] strange behaviour with asn1.c

2007-07-18 Thread Gürer Özen
asn1_decode_entry() allocates (objlen - 1) bytes for SC_ASN1_UTF8STRING types with SC_ASN1_ALLOC flag, then calls the sc_asn1_decode_utf8string() function which then fails with BUFFER TOO SMALL cause it wants to end the string with an extra NULL. I guess, allocation size was supposed to be obj

Re: [opensc-devel] Cardos sign modifes

2007-07-18 Thread Nils Larsch
Dmitry wrote: > Some time ago I tests Cardos SC_CARD_TYPE_CARDOS_M4_3, with atr: > 3b:f2:18:00:02:c1:0a:31:fe:58:c8:08:74 > > Sign fails on final transmit of sign adpu. I analyzed adpu winscard.dll log > of > SmartTrustPersonal, which CSP sign correctly. > And found that it use other way of sig

Re: [opensc-devel] AKIS card support

2007-07-18 Thread Andreas Jellinghaus
On Wednesday 18 July 2007 08:45:23 Gürer Özen wrote: > Sure, I'll prepare a page and send it to you. thanks, I added an initial page with the information so far. https://www.opensc-project.org/opensc/wiki/TurkishEid also I changed our list of authors and credits https://www.opensc-project.org/o

Re: [opensc-devel] Issue in Certificate logon in XP

2007-07-18 Thread Douglas E. Engert
kamal kumar wrote: > Hi, > Yes, Two processes are calling opensc-pkcs11 module. > And C_Finalize is called by IdAlly.exe process. > > Since Winlogon process is not calling C_Finalize But the Winlogin process calls the Id Ally CSP, that calls the PKCS#11, correct? > and > closing all P11 sess

Re: [opensc-devel] Issue in Certificate logon in XP

2007-07-18 Thread kamal kumar
Hi, Yes, Two processes are calling opensc-pkcs11 module. And C_Finalize is called by IdAlly.exe process. Since Winlogon process is not calling C_Finalize and closing all P11 session (P11 session 1, 2 are sill opened), opensc-pkcs11 module keeps the pc/sc connection established by sc_connect_card

Re: [opensc-devel] Encryption with NetKey

2007-07-18 Thread Douglas E. Engert
Peter Stuge wrote: > On Wed, Jul 18, 2007 at 09:10:30AM +, Dmitry wrote: >> I need asymmetric encrypt throw standard Windows CSP, and decrypt >> throw OpenSc, it is possible? >> >> I just want hear, what I'm moving in right direction. > > Either you would use CryptoApi or OpenSC, but I don't

Re: [opensc-devel] Encryption with NetKey

2007-07-18 Thread Peter Stuge
On Wed, Jul 18, 2007 at 09:10:30AM +, Dmitry wrote: > I need asymmetric encrypt throw standard Windows CSP, and decrypt > throw OpenSc, it is possible? > > I just want hear, what I'm moving in right direction. Either you would use CryptoApi or OpenSC, but I don't see much point in using both?

Re: [opensc-devel] AKIS card support

2007-07-18 Thread Gürer Özen
On Wednesday 18 July 2007 11:11:03 Andreas Jellinghaus wrote: > ok, thanks. any idea when the cards will be on sale? is the documentation > public? Card is sold to the public by http://www.plastkart.com You can contact them for orders. ___ opensc-devel

Re: [opensc-devel] Cardos sign modifes

2007-07-18 Thread Dmitry
> any chance you can send a unified diff ("svn diff" or "diff -u" format) with > these changes? that would be great. I did't send, next time will use diff. ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.

Re: [opensc-devel] Encryption with NetKey

2007-07-18 Thread Dmitry
Andreas Jellinghaus dungeon.inka.de> writes: > > you got it to work? great! I once got the binary on the web page to work, > but everytime I compiled it myself (and got it signed by microsoft), it didn't > work. did you compile it yourself? can you share the code? > Sorry, it is pkcscsp2. Firs

Re: [opensc-devel] AKIS card support

2007-07-18 Thread Andreas Jellinghaus
On Wednesday 18 July 2007 08:45:23 Gürer Özen wrote: > National ID is just one of the applications, just like qualified electronic > certificates [1] or another one for health services. Card and operating > system is generic. Some applications (cards issued by government agencies) > may limit user

Re: [opensc-devel] Fail encryption on cardos card

2007-07-18 Thread Dmitry
Andreas Jellinghaus dungeon.inka.de> writes: > > > ah. what is that? is it open source? available for download somewhere? > we have the pkcscsp and csp11 sources but noone found time so far to get them > working and the result signed by microsoft :( > (ok, the signing should be easy, but I'm no