Re[2]: PKCS#11 module: C_GetAttributeValue problems

2010-08-12 Thread Konstantin Andreev
On 08/12/10 00:18, Matej Kurpel wrote: [ ... skip ...] Later, thunderbird asks for its attributes CKA_TOKEN and CKA_LABEL but gives zero-sized buffers for both values. This is where my problem lies - I don't know what to return and if I have to fill the values in the template or not.

Re: PKCS#11 module: C_GetAttributeValue problems

2010-08-12 Thread Matej Kurpel
Dňa 12. 8. 2010 11:03, Konstantin Andreev wrote / napísal(a): On 08/12/10 00:18, Matej Kurpel wrote: [ ... skip ...] Later, thunderbird asks for its attributes CKA_TOKEN and CKA_LABEL but gives zero-sized buffers for both values. This is where my problem lies - I don't know what to return

Re[5]: PKCS#11 module: C_GetAttributeValue problems

2010-08-12 Thread Konstantin Andreev
On 08/12/10 14:26, Matej Kurpel wrote: Dňa 12. 8. 2010 11:03, Konstantin Andreev wrote / napísal(a): On 08/12/10 00:18, Matej Kurpel wrote: [ ... skip ...] Later, thunderbird asks for its attributes CKA_TOKEN and CKA_LABEL but gives zero-sized buffers for both values. This is where my

Re: PKCS#11 module: C_GetAttributeValue problems

2010-08-12 Thread Robert Relyea
On 08/11/2010 09:53 PM, Wan-Teh Chang wrote: On Wed, Aug 11, 2010 at 1:18 PM, Matej Kurpel mkur...@gmail.com wrote: Hello, I am trying to implement a PKCS#11 module for my diploma thesis. It is intended to be used with thunderbird. I am using opensc pkcs11-spy module to debug it. I have