APDU buffer in pcsc-wrapper too short
Andreas Schwier
andreas.schwier.ml at cardcontact.de
Fri Jul 18 18:31:54 CEST 2014
While scd/apdu.c assumes a maximum length of 4096 byte for an extended
length APDU, scd/pcsc-wrapper allocates only 1024 byte for the response.
As most certificates are larger than 1024, reading them with extended
length fails.
The attached patch fixes the buffer size.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-pcsc-Enlarged-APDU-buffer-to-4096-as-most-certificat.patch
Type: text/x-diff
Size: 769 bytes
Desc: not available
URL: </pipermail/attachments/20140718/285aab95/attachment.patch>
More information about the Gnupg-users
mailing list