Am Mittwoch 13 Januar 2010 12:31:38 schrieb Jean-Michel Pouré:
> When looking at crypt0001 test, it has these lines:
> p15_init --no-so-pin
> p15_set_pin -a 01
> p15_gen_key rsa/1024 --id 45 -a 01
> 
> My system does not seem to have p15_init. If you explain me more, I can
> handle a few test and maybe contribute testing code.

those are functions defined in the "functions" file.
the first line of crypt0001 is ". functions" to source
those functions. basically they call pkcs15-init with the
parameters shown, plus parameters passed to runall or
the test script (e.g. -T (cryptoflex), --split-key (cardos), ...).

you can run the test suite both in the source code directory
and with installed opensc commands (add "--installed" parameter).

but warning: most old drivers such as cryptoflex and cardos
work very well and have been tested many times using the test suite.
but for new drivers like entersafe I have no clue if that is the
case.

also some drivers have limitations that result in some test
not working (e.g. pin0002 with starcos driver).

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

Reply via email to