Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-10 Thread Douglas E. Engert
Ludovic Rousseau wrote: > On Thu, Oct 9, 2008 at 6:19 PM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: >> It looks like CKF_TOKEN_PRESENT is set in framework-pkcs15init.c >> (if initilizing cards), and in framework-pkcs15.c. >> pkcs15_create_tokens calls in pkcs15_create_slot >> for the first slo

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-10 Thread Ludovic Rousseau
On Thu, Oct 9, 2008 at 6:19 PM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: > It looks like CKF_TOKEN_PRESENT is set in framework-pkcs15init.c > (if initilizing cards), and in framework-pkcs15.c. > pkcs15_create_tokens calls in pkcs15_create_slot > for the first slot which sets the flag. pkcs15_cr

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-09 Thread Douglas E. Engert
Ludovic Rousseau wrote: On Thu, Oct 9, 2008 at 12:10 AM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: Ludovic Rousseau wrote: Hello, On Mon, Oct 6, 2008 at 8:48 PM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: OpenSC will show a slot is present if there is a reader, but will segfault if C_

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-09 Thread Ludovic Rousseau
On Thu, Oct 9, 2008 at 12:10 AM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: > > > Ludovic Rousseau wrote: >> >> Hello, >> >> On Mon, Oct 6, 2008 at 8:48 PM, Douglas E. Engert <[EMAIL PROTECTED]> >> wrote: >>> >>> OpenSC will show a slot is present if there is a reader, but >>> will segfault if C_

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-08 Thread Douglas E. Engert
Ludovic Rousseau wrote: Hello, On Mon, Oct 6, 2008 at 8:48 PM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: OpenSC will show a slot is present if there is a reader, but will segfault if C_GetMechanismList is called for an unused virtual slot. I submitted to OpenSC ticket number #181 You ha

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-07 Thread Douglas E. Engert
Ludovic Rousseau wrote: > Hello, > > On Mon, Oct 6, 2008 at 8:48 PM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: >> OpenSC will show a slot is present if there is a reader, but >> will segfault if C_GetMechanismList is called for an unused >> virtual slot. I submitted to OpenSC ticket number #

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-06 Thread Ludovic Rousseau
Hello, On Mon, Oct 6, 2008 at 8:48 PM, Douglas E. Engert <[EMAIL PROTECTED]> wrote: > OpenSC will show a slot is present if there is a reader, but > will segfault if C_GetMechanismList is called for an unused > virtual slot. I submitted to OpenSC ticket number #181 You have not responded to my c

Re: [opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-06 Thread Douglas E. Engert
Anthony Scarpino wrote: > Douglas E. Engert wrote: >> Sun appears to be headed down the path of using /usr/lib/libpkcs11.so >> with Kerberos PKINIT as well as pam_pkcs11.so, and it was said >> opensc-pkcs11.so works with libpkcs11. So I wanted to try this for >> myself. >> >> I obtained a elfsign

[opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-06 Thread Douglas E. Engert
[As suggested by Will, this is a repost, with the addition of [EMAIL PROTECTED] Sun appears to be headed down the path of using /usr/lib/libpkcs11.so with Kerberos PKINIT as well as pam_pkcs11.so, and it was said opensc-pkcs11.so works with libpkcs11. So I wanted to try this for myself. I obtain

[opensc-devel] Problems using opensc-pkcs11.so as a cryptoadm provider with Solaris libpkcs11

2008-10-06 Thread Douglas E. Engert
Sun appears to be headed down the path of using /usr/lib/libpkcs11.so with Kerberos PKINIT as well as pam_pkcs11.so, and it was said opensc-pkcs11.so works with libpkcs11. So I wanted to try this for myself. I obtained a elfsign certificate from Sun and signed the opensc-pkcs11.so and installed i

Re: [opensc-devel] problems using OpenSC

2007-08-08 Thread Andreas Jellinghaus
On Saturday 04 August 2007 01:24:06 Siddhartha Kasivajhula wrote: > Thanks Andreas, sorry I didn't respond earlier. > > >>but you shouldn't use opensc-explorer on cardsthe explorer is meant > >> as > > low level >>tool for debugging mostly. > > Yes, I am using it for low-level testing, actually

Re: [opensc-devel] problems using OpenSC

2007-08-03 Thread Siddhartha Kasivajhula
Thanks Andreas, sorry I didn't respond earlier. >>but you shouldn't use opensc-explorer on cardsthe explorer is meant as low level >>tool for debugging mostly. Yes, I am using it for low-level testing, actually. >>then --erase-pkcs15 should work. This is what I get for --erase-pkcs15: -

Re: [opensc-devel] problems using OpenSC

2007-07-20 Thread Andreas Jellinghaus
On Friday 20 July 2007 01:30:21 Siddhartha Kasivajhula wrote: > But if I make an attempt at initializing the card ("pkcs15-init > --create-pkcs15", as per the "QuickStart" tutorial on the OpenSC site), it > fails to initialize the card after the "Enter key(default:):" step > (which is expected, I g

[opensc-devel] problems using OpenSC

2007-07-19 Thread Siddhartha Kasivajhula
Hello, I am running OpenSC 0.11.2 (latest version) on top of pcsc-lite-1.4.3, and I've got a few problems I'm hoping someone can help me with. The card I'm using is a "CRYPTO EGATE 32K" The problems: 1) I am able to 'get' a file from a card, but I am not able to 'put' a file onto the card. Here