Pin-pad on SPR332 smartcard reader does not work under OSX

Niobos niobos at dest-unreach.be
Mon Feb 9 15:07:22 CET 2015


On 2015-02-09 14:31, NIIBE Yutaka wrote:
> On 02/09/2015 07:07 PM, Niobos wrote:
>> I've tried to debug this myself. This is what I found:
>> I can see scdaemon doing pcsc_vendor_specific_init(), but failing:
>>
>>> pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538
> 
> It means:
> In order to use pinpad input, scdaemon asked PC/SC service to get code
> of FEATURE_VERIFY_PIN_DIRECT and FEATURE_MODIFY_PIN_DIRECT, by
> GET_FEATURE_REQUEST command.  But failed.
> 
> In this point, scdaemon had no way to use pinpad input.

That is what I guessed it would mean, thank you for confirming that.


>> How should I proceed to get this to work? Is it even supposed to work
>> under OSX? What additional info do you need?
> 
> I haven't got any report for OS X about pinpad input.
> 
> I think that scdaemon's apdu.c assumes using PC/SC-lite on OS X.
> If not, I think that we need to fix the line 248-259 of apdu.c,
> which defines CM_IOCTL_GET_FEATURE_REQUEST.
> 
> Could you please check your PC/SC service and version?

How should I do that? Here is what I've found so far:

% /usr/sbin/pcscd -v
PCSC Framework version 1.4.0.
Copyright (C) 1999-2002 by David Corcoran <corcoran at linuxnet.com>.
Copyright (C) 2001-2005 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
Portions Copyright (C) 2000-2007 by Apple Inc.
Report bugs to <sclinux at linuxnet.com>.

% readlink
/usr/libexec/SmartCardServices//drivers/ifd-ccid.bundle/Contents/MacOS/libccid.dylib
libccid.dylib.1.3.11


Niobos



More information about the Gnupg-users mailing list