Am Montag 14 Juni 2010 schrieb Andreas Jellinghaus:

> 1.) define a test.
> for example "pkcs11-tool --test --login --pin ... --slot ...".

I didn't succeed yet in testing all you've proposed.
Here an intermediary result.
The RUB-Card from Bochum works on windows with

http://www.opensc-project.org/files/build/opensc-i686-pc-mingw32-006-
base.tar.bz2 , which is  opensc 0.11.9

The RUB-Card doesn't work with opensc 0.11.9 on Debian Lenny,
while the Uni-Gießen Card  (TCOS) is ok with that. I attach the output of the 
test below.

As I've posted earlier, all the opensc builds higher than 
opensc-i686-pc-mingw32-006 don't work with the Uni-Gießen Card.
To be precise, the command line tools work, but opensc-pkcs11.dll
doesn't.

I didn't find a working configuration for RUB-Card on Linux yet.
I wonder if we have major difference between opensc on Linux and Windows.


Grüße
  Johannes

--------------

$ /usr/local/bin/pkcs11-tool --test --pin 123456
C_SeedRandom() and C_GenerateRandom():
  seeding (C_SeedRandom) not supported
  seems to be OK
Digests:
  all 4 digest functions seem to work
  MD5: OK
  SHA-1: OK
  RIPEMD160: OK
Signatures (currently only RSA signatures)
  testing key 0 (RUBSIGNCERT) 
[opensc-pkcs11] reader-pcsc.c:239:pcsc_transmit: unable to transmit
[opensc-pkcs11] apdu.c:394:do_single_transmit: unable to transmit APDU
[opensc-pkcs11] iso7816.c:832:iso7816_decipher: APDU transmit failed: 
Transmit failed
[opensc-pkcs11] sec.c:39:sc_decipher: returning with: Transmit failed
[opensc-pkcs11] pkcs15-sec.c:125:sc_pkcs15_decipher: sc_decipher() failed: 
Transmit failed
error: PKCS11 function C_SignFinal failed: rv = CKR_GENERAL_ERROR (0x5)

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

Reply via email to