On Wed, Jun 8, 2011 at 15:28, Ludovic Rousseau
<ludovic.rouss...@gmail.com> wrote:

> The problem is on byte 15.
> Byte 15, 16 are wPINMaxExtraDigit
> In the CCID frame it is 10 06
> So Maximum PIN size = 10h = 16
> and Minimum PIN size = 06h = 6
>
> The Gemalto Pinpad (v1) does not support Maximum PIN size bigger than
> 8. See the notes in
> http://pcsclite.alioth.debian.org/ccid/supported.html#0x08E60x3478
>
> Again the PCSCv2_PART10_PROPERTY_bMaxPINSize feature should be used
> instead of a (hardcoded) value of 16. The OpenSC Feitian card driver
> has the same problem.

This would fix the problem for your CCID driver. To get OpenSC work
"right" with a wide range of cards, readers, reader drivers and
platforms, requires a LOT of testing and probably a lot of conditional
code, unfortunately. At least this is my current understanding and
experience.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to