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

2009-11-20 Thread François Leblanc
>> As for me, the 'p15card->pin_cache[]' system is more attractive. >> Somebody have the reasons for the other or for the both ? > >There's another option: take the part that deals with PIN codes in >keycache.c >and make it use libopensc PIN cache and leave the keycache.c in >pkcs15init? > > >Th

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

2009-11-20 Thread Martin Paljak
Hi. On 20.11.2009, at 11:18, Viktor TARASOV 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.htm

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

2009-11-20 Thread François Leblanc
>What for there are two PIN cache systems? >Why do not use the unique one? Probably historic reasons... > >As for me, the 'p15card->pin_cache[]' system is more attractive. >Somebody have the reasons for the other or for the both ? I agree, "p15card->pin_cache" seems more interesting. François.

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

2009-11-20 Thread Viktor TARASOV
Aleksey Samsonov wrote: > 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 >