2011/12/14 Johannes Becker <johannes.bec...@hrz.uni-giessen.de>:
> Hello,
>
> Am Dienstag 13 Dezember 2011 schrieb Ludovic Rousseau:
>
>> Johannes can you attach a "pkcs15-crypt --sign" log with the same card
>> and same reader on Linux?
>
>
> http://www.uni-giessen.de/~g013/opensc/pkcs15-sign-linux.log
>
> The log on Mac was
> http://www.uni-giessen.de/~g013/opensc/pkcs15-crypt.log

I found the source of the difference between Mac and Linux.

Mac OS X uses the ccid driver version 1.3.8 (March 2009)
Linux uses the latest version.

The difference is the patch 4510 [1] from October 2009. The buffer for
commands has been increased from 262 bytes to 64 KB.

> @Martin: The effect is the same with Kobil readers. I have a
> new Xiring reader that supports extended APDU.

The reader does not declare it supports extended APDU. But it supports
APDU of up to 512 bytes.
It does work on Linux because of a side effect in the CCID driver I
just discovered. The mystery is now solved. Thanks for your time.

The solution is to upgrade the CCID driver on Mac OS X. Or use a
reader with a "real" support of extended APDU.

Bye

[1] 
http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2009-October/004028.html

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

Reply via email to