Re: [opensc-devel] engine_pkcs11 ticket #11

2009-02-23 Thread Aron Griffis
Aron Griffis wrote: [Mon Feb 23 2009, 05:43:34PM EST] > I'd like to re-open the bug or append a comment that says it > isn't fixed, but there doesn't seem to be an option in the trac > interface. Am I missing something? Well I'm scratching my head now. I reloaded the page and I'm seeing the abi

[opensc-devel] engine_pkcs11 ticket #11

2009-02-23 Thread Aron Griffis
I filed this ticket: engine-pkcs11-0.1.4 fails in get_pin http://www.opensc-project.org/engine_pkcs11/ticket/11 Later "crash" reported a tangentially related bug (segfault) as a comment and provided a patch. The patch was accepted and the ticket was closed. However the original report stands.

[opensc-devel] pkcs11-tool keygen

2009-02-23 Thread Rickard Bondesson
> Good find! Any chance you can send a patch? Thanks! Ohh sorry. This patch is more correct. Forgot to increase the attribute counter with one. // Rickard pkcs11-tool-keygen.patch Description: Binary data PGP.sig Description: PGP signature ___ opens

[opensc-devel] pkcs11-tool keygen

2009-02-23 Thread Rickard Bondesson
> Good find! Any chance you can send a patch? Thanks! Here is the patch // Rickard pkcs11-tool-keygen.patch Description: Binary data PGP.sig Description: PGP signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.ope

Re: [opensc-devel] pkcs11-tool keygen

2009-02-23 Thread Peter Stuge
Hi, Rickard Bondesson wrote: > The publicKeyTemplate when generating a keypair should contain: > > {CKA_TOKEN, &_true, sizeof(_true)}, Good find! Any chance you can send a patch? Thanks! //Peter pgpCoeODjsoZs.pgp Description: PGP signature ___ op

[opensc-devel] pkcs11-tool keygen

2009-02-23 Thread Rickard Bondesson
Hi The publicKeyTemplate when generating a keypair should contain: {CKA_TOKEN, &_true, sizeof(_true)}, http://www.opensc-project.org/opensc/browser/trunk/src/tools/pkcs11-tool.c#L1043 Or else will the public key be deleted when the session closes. The CKA_TOKEN defaults to false when not spe