Hello,
I am new to OpenSC but I was looking for a 3rd party tool with which I
could test my self-developed pkcs11 library and I came across the OpenSC
pkcs11-tool.
I installed OpenSC under Ubuntu11.10, following
http://www.gooze.eu/howto/smartcard-quickstarter-guide/opensc-installation-under-gnu-
On 12/17/2012 7:01 AM, Anna Pavlova wrote:
> Hello,
>
> I am new to OpenSC but I was looking for a 3rd party tool with which I could
> test my self-developed pkcs11 library and I came across the OpenSC
> pkcs11-tool.
>
> I installed OpenSC under Ubuntu11.10, following
> http://www.gooze.eu/how
Hello Douglas,
> Sounds like p11 == NULL, or p11->C_Initialize is NULL or not valid.
I did:
printf("p11 = 0x%0x, p11->C_Initialize = 0x%0x\n", p11, p11->C_Initialize);
in pkcs11-tool.c, just after C_LoadModule and before p11->C_Initialize(NULL)
and got:
p11 = 0xb7214060, p11->C_Initialize =
Anna, greetings --
On Mon, Dec 17, 2012 at 10:37 AM, Anna Pavlova
wrote:
> Unfortunately I'm not very good in gdb :-(
>
> anna@anna:~/OpenSC/src/tools$ export LD_LIBRARY_PATH=`ls ../*/.libs -d | tr
> '\012' :`
> anna@anna:~/OpenSC/src/tools$ cd .libs/
> anna@anna:~/OpenSC/src/tools/.
> libs$ gdb
On 12/17/2012 11:37 AM, Anna Pavlova wrote:
> Hello Douglas,
>
>
> > Sounds like p11 == NULL, or p11->C_Initialize is NULL or not valid.
>
> I did:
>
> printf("p11 = 0x%0x, p11->C_Initialize = 0x%0x\n", p11, p11->C_Initialize);
>
> in pkcs11-tool.c, just after C_LoadModule and before p11->C_Init