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