OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] MacOSX and Smartcards

From: Yziquel Guillaume (guillaume.yziquelfree.fr)
Date: Mon Mar 26 2007 - 09:45:33 CDT


Ludovic Rousseau a écrit :
> On 25/03/07, Yziquel Guillaume <guillaume.yziquelfree.fr> wrote:
>> Well, the Apple pcsc-lite does seem to work fine. pcscd launched
>> automatically when I plug in my SPR 532 card reader.
>>
>> However, pcsctest (and not testpcsc) yields only
>>
>> > MUSCLE PC/SC Lite Test Program
>> >
>> > Testing SCardEstablishContext : Command successful.
>> > Testing SCardGetStatusChange
>>
>> It then freezes, and it seems pcscd gets killed. I also gathered that
>> the CCID drivers are also preinstalled. So I do not really know what is
>> missing.
>
> Apple provides a CCID driver that is limited but should work with your
> SPR 532 and a T=0 card.
>
> You can try to start pcscd in the foreground to have some debug.
> - kill the "securityd" process. This process starts pcscd when a
> reader is connected
> - kill any running pcscd
> - start "pcscd -d stdout"
> It should give some debug, and possibly the source of the problem.
>
> Bye

There you are: I typed some ctrl-c while executing pcscd because it stalled.

ibook-g4-de-guillaume:~/Desktop/Encryption/PCSC fsfe-yziquel$ sudo pcscd
-d stdout
src/PCSC/pcscdaemon.c:314 main: debug messages to stdout
src/PCSC/pcscdaemon.c:505 main: warning: no reader.conf found

src/PCSC/pcscdaemon.c:523 main: pcsc-lite daemon ready.
src/PCSC/hotplug_macosx.c:297 error getting product friendly name from
bundle
pcscd(2017) malloc: *** Deallocation of a pointer not malloced:
0x18380; This could be a double free(), or free() called with the middle
of an allocated block; Try setting environment variable MallocHelp to
see tools to help debug
src/PCSC/hotplug_macosx.c:297 error getting product friendly name from
bundle
pcscd(2017,0x1808e00) malloc: *** Deallocation of a pointer not
malloced: 0x18380; This could be a double free(), or free() called with
the middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
src/PCSC/hotplug_macosx.c:297 error getting product friendly name from
bundle
pcscd(2017,0x1808e00) malloc: *** Deallocation of a pointer not
malloced: 0x18380; This could be a double free(), or free() called with
the middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
src/PCSC/hotplug_macosx.c:297 error getting product friendly name from
bundle
pcscd(2017,0x1808e00) malloc: *** Deallocation of a pointer not
malloced: 0x18380; This could be a double free(), or free() called with
the middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
src/PCSC/hotplug_macosx.c:297 error getting product friendly name from
bundle
pcscd(2017,0x1808e00) malloc: *** Deallocation of a pointer not
malloced: 0x18380; This could be a double free(), or free() called with
the middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
^Csrc/PCSC/pcscdaemon.c:585 Preparing for suicide
src/PCSC/winscard_svc.c:231 MSGServerProcessEvents: Select returns with
failure: Interrupted system call
src/PCSC/pcscdaemon.c:218 SVCServiceRun: Error in MSGServerProcessEvents
src/PCSC/readerfactory.c:1628 RFCleanupReaders: entering cleaning function
src/PCSC/pcscdaemon.c:546 at_exit: cleaning /var/run/pcscd
ibook-g4-de-guillaume:~/Desktop/Encryption/PCSC fsfe-yziquel$ lsusb
Bus 001 Device 001-05ac-8005-09-00: ID 05ac:8005 Apple Computer, Inc.
Bus 001 Device 003-05ac-030b-00-00: ID 05ac:030b Apple Computer, Inc.
Bus 001 Device 002-05ac-030b-00-00: ID 05ac:030b Apple Computer, Inc.
Bus 002 Device 001-05ac-8005-09-00: ID 05ac:8005 Apple Computer, Inc.
Bus 003 Device 001-05ac-8005-09-00: ID 05ac:8005 Apple Computer, Inc.
Bus 003 Device 002-04e6-e003-00-00: ID 04e6:e003 SCM Microsystems, Inc.
SPR532 PinPad SmartCard Reader
Bus 004 Device 001-05ac-8006-09-00: ID 05ac:8006 Apple Computer, Inc.

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle