Hi,

I have an ACS ACR30U smart card reader, which I've been using with PC/SC
using the Linux drivers available from the ACS website.[1] The README in
the file I downloaded[2] credits David Corcoran as the author and refers
to the LICENCE file for licence details. However the LICENCE file is
missing from the tarball, so it's not clear under what licence the
driver is distributed. I e-mailed David to ask if he could help clarify
the licence and he said he thought it was under a BSD licence and
suggested I e-mail here for further help. I have also e-mailed ACS but
haven't heard back from them. Obviously, with the licence unclear, the
drivers can't be redistributed by third parties. Can anyone help clarify
the status of these drivers?

My second problem is that I have been experiencing segfaults in pcscd
when performing certain actions on my OpenPGP smartcard using GPG via
the PC/SC interface. pcscd recognises my card reader and the card that
is inserted into it. Whenever I try to set my name on the card, GnuPG
returns an error and pcscd segfaults.

$ gpg --disable-ccid --debug-all -vv --card-edit
Command> admin
Admin commands are allowed
Command> name
Cardholder's surname: Whitmore
Cardholder's given name: Antony
gpg: DBG: send apdu: c=00 i=CA p0=00 p1=C4 lc=-1 le=256
gpg: DBG:   PCSC_data: 00 CA 00 C4 00
gpg: DBG:  response: sw=9000  datalen=7
gpg: DBG:       dump:  00 FE FE FE 03 03 03
gpg: 3 Admin PIN attempts remaining before card is permanently locked

Admin PIN
gpg: DBG: send apdu: c=00 i=20 p0=00 p1=83 lc=8 le=-1
gpg: DBG:   PCSC_data: 00 20 00 83 08 31 32 33 34 35 36 37 38
gpg: DBG:  response: sw=9000  datalen=0
gpg: DBG:      dump:
gpg: DBG: send apdu: c=00 i=DA p0=00 p1=5B lc=16 le=-1
gpg: DBG:   PCSC_data: 00 DA 00 5B 10 57 68 69 74 6D 6F 72 65 3C 3C 41
6E 74 6F 6E 79
gpg: pcsc_transmit failed: comm error (0x80100013)
gpg: apdu_send_simple(0) failed: card I/O error
gpg: failed to set `DISP-NAME': general error
gpg: error setting Name: general error

pcscd produces this (output from after enter is hit after entering the
admin PIN):

APDU: 00 20 00 83 08 31 32 33 34 35 36 37 38
T=1 -> 0 20 0 83 8 31 32 33 34 35 36 37 38
T=1 <- 90 0
SW: 90 00
APDU: 00 DA 00 5B 10 57 68 69 74 6D 6F 72 65 3C 3C 41 6E 74 6F 6E 79
T=1 -> 0 da 0 5b 10 57 68 69 74 6d 6f 72 65 3c 3c 41 6e 74 6f 6e 79
Segmentation fault

I'd appreciate any advice as to where to look next or what further
testing I can do. This seems likely to be a bug in in pcscd or a bug in
the driver for my card reader.

Thanks in advance,

Tony

[1] http://www.acs.com.hk/DriversManual.asp?PID=53
[2] http://www.acs.com.hk/downloads_driver/ACR30U_PCSC_LINUX_1_0.zip

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to