Testing pinpad support for REINER SCT cyberJack RFID komfort

NIIBE Yutaka gniibe at fsij.org
Sat Mar 16 02:33:26 CET 2013


On 2013-03-15 at 15:03 +0100, Alina Friedrichsen wrote:
> 2013-03-15 14:49:29 scdaemon[6085] DBG: send secure: c=00 i=20 p1=00
> p2=82 len=24 pinmax=25
> 2013-03-15 14:49:29 scdaemon[6085] DBG:  response: sw=6B80  datalen=2

Here is the error.  I guess that pinmax=25 is the issue (as same as
cyberJack go).

In the function pcsc_pinpad_verify (gnupg/scd/apdu.c), we have:

    pininfo->maxlen = 25;

The value is copied from ccid-driver.c, and this value seemed to come
from SPR532.  I think that SPR532 is rather special, and it is better
to have default value of 15, and let SPR532 to change the value.

I will change the code (apdu.c for PC/SC, and ccid-driver.c) to do
that.
-- 





More information about the Gnupg-devel mailing list