Re: [opensc-devel] Patch to make pkcs11 pin cache working
François Leblanc wrote: > For now I propose this small patch to permit "generate_key" with pkcs11-tool. More universal (but not full and not good for future) patch is here: http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012863.html ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
[opensc-devel] Patch to make pkcs11 pin cache working
For now I propose this small patch to permit "generate_key" with pkcs11-tool. There are two cache one using pkcs15-pin.c with functions like sc_pkcs15_pincache_add and another one in keycache.c with functions like sc_keycache_put_pin. Opensc switch between the two style, pkcs15-pin seems more robust but sc_keycache_put_pin more convenient since pkcs15-pin refer to object and keycache use OP (SC_AC_OP_WRITE, SC_AC_OP_READ...) The challenge will be to group the two in one... They are still pkcs11 function not working properly (for me at least) pkcs11-tool -init-token return an error for me. François. opensc-pkcs11-framework-pkcs15.patch Description: opensc-pkcs11-framework-pkcs15.patch ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
Re: [opensc-devel] swisssign cardos cards and opensc: C_CreateObjects fails because of lifecycle
any expert on the profile code in opensc here? I'm down to this: the opensc code does: Don 19 Nov 2009 10:23:37 CET - [opensc-pkcs11] profile.c:672:sc_profile_instantiate_file: Instantiated certificate at 3f00501531f2 ... Don 19 Nov 2009 10:23:37 CET - [opensc-pkcs11] pkcs15- lib.c:3405:sc_pkcs15init_update_file: called, path=3f00501531f2, 1480 bytes but marc needs to store certitificates as "5015 4304 4301" (4302, 4303, ...). does anyone know how he needs to edit cardos.profile to archive that effect? Regards, Andreas ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel