Re: [opensc-devel] Patch to make pkcs11 pin cache working

2009-11-19 Thread Aleksey Samsonov
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] Patch to make pkcs11 pin cache working

2009-11-19 Thread François Leblanc
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

Re: [opensc-devel] swisssign cardos cards and opensc: C_CreateObjects fails because of lifecycle

2009-11-19 Thread Andreas Jellinghaus
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_pkcs1