Is the OpenSC card driver missing some chaining of input code for this card?

If his card can support an RSA key = 2048 it will need to send receive
256 bytes of data. If the card can support RSA key > 2048 then it
will have to read the data in multiple operations or uses extended APDUs.



Ludovic Rousseau wrote:
On 14/03/07, Douglas E. Engert <[EMAIL PROTECTED]> wrote:
I wonder if this is one of the cards/readers that can not handle
the default max_send_size/max_recv_size = 256.

It looks like he is using the SCM SPR 532 [1]. This reader is limited
to an APDU of 260 bytes [2] (dwMaxCCIDMessageLength - 10) so only 255
bytes of data.
It is 1 byte less than the maximum.

You should only be able to get a 2040-bits length key with this reader. Too bad!

Bye

[1] http://www.opensc-project.org/pipermail/opensc-devel/2007-March/009623.html [2] http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/readers/SPR532.txt?op=file&rev=0&sc=0


--

 Douglas E. Engert  <[EMAIL PROTECTED]>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439
 (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to