Guys, I figured out that Thunderbird didn't like this assignment of
CKA_TOKEN when assigning the values (with the buffers of right sizes
already allocated):
>
> pTemplate[i].pValue = (CK_BBOOL *)TRUE;
>
> (but it compiled fine). I changed it to
>
> *((CK_BBOOL *)pTemplate[i].pValue) = TRUE;
Oh, yes
Dňa 13. 8. 2010 18:35, Robert Relyea wrote / napísal(a):
On 08/13/2010 05:37 AM, Konstantin Andreev wrote:
On 08/13/10 04:44, Robert Relyea wrote:
On Wed, Aug 11, 2010 at 1:18 PM, Matej Kurpel
wrote:
[ ... skip ... ] Later, thunderbird asks for its attributes
CKA_TOKEN and CKA_LABEL but give
On 08/13/2010 05:37 AM, Konstantin Andreev wrote:
> On 08/13/10 04:44, Robert Relyea wrote:
>>> On Wed, Aug 11, 2010 at 1:18 PM, Matej Kurpel
>>> wrote:
>>>
[ ... skip ... ] Later, thunderbird asks for its attributes
CKA_TOKEN and CKA_LABEL but gives zero-sized buffers for both
valu
On 08/13/10 04:44, Robert Relyea wrote:
On Wed, Aug 11, 2010 at 1:18 PM, Matej Kurpel wrote:
[ ... skip ... ] Later, thunderbird asks for its attributes CKA_TOKEN and
CKA_LABEL but gives zero-sized buffers for both values. ... According to the
specification (if I understood correctly), I sho
On 08/11/2010 09:53 PM, Wan-Teh Chang wrote:
> On Wed, Aug 11, 2010 at 1:18 PM, Matej Kurpel 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 a proble
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 problem
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 an
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.
Accordin
On Wed, Aug 11, 2010 at 1:18 PM, Matej Kurpel 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 a problem for quite some days I don't seem to be able to
> solve
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 a problem for quite some days I don't seem to
be able to solve myself.
At first, thunderbird searches for token certificat
10 matches
Mail list logo