I think my last message got cut because of too many attached files, so I'm
resending with links to the files.

Also, please enable debugging (set to 9 and uncomment debug_file in
> opensc.conf) and send the generated log file.


    This file 
(opensc-debug.log<http://www.inf.ufsc.br/%7Efmb/log/opensc-debug.log>)
contains the output of my program running with the debug set to 9.

>
> I'm not sure, but I suspect that  changing hide_empty_tokens = false; in
> opensc.conf can have a difference in the initialization case, as otherwise
> tokens will not be created if there are no user PIN codes. Please try with
> this option enabled as well.
>
>    The second file ( 
> opensc-debug-hide_empty_tokens_false.log<http://www.inf.ufsc.br/%7Efmb/log/opensc-debug-hide_empty_tokens_false.log>)
contains the output of the same program running with hide_empty_tokens =
false uncomented. This time, the error was not CKR_TOKEN_NOT_PRESENT but,
instead, the ouput was 0x54 which means CKR_FUNCTION_NOT_SUPORTED.

Regards.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to