Hi.

I'm trying to authenticate myself on OSX with a ACS ACR122U USB reader and a NFC tag [1]. It should be doable according to Apple's "Enabling smart card login" document [2]. I basically need to store a key on the tag, and get "sc_auth hash" to show a hash from that key.


OSX's version of /usr/bin/pcsctest finds the reader and reads the tag without problems. So far so good.

I found the ifdnfc project [3] which support NFC card for PKCS11 via OpenSC. But I couldn't get it to build using the docs from nfc-tools.org [4]. I tried adding some configure parameters, but the build just fails searching for pcsc-lite header files:

$ ./configure PCSC_CFLAGS="-I/System/Library/Frameworks/PCSC.framework/Versions/A/Headers" --enable-usbdropdir=/usr/libexec/SmartCardServices/driver CFLAGS="-framework PCSC"
   [...]
   $ make
   [...]
   clang: warning: -framework PCSC: 'linker' input unused
   ifd-nfc.c:21:10: fatal error: 'debuglog.h' file not found


So I built pcsc-lite [5], and ifdnfc builds nicely against that. But pcscd doesn't seem to find the reader. testpcsc says:

   Testing SCardIsValidContext    : Invalid handle. (don't panic)
Testing SCardListReaders : Cannot find a smart card reader. (don't panic)

Any ideas?

Best regards,
Henrik

[1] 13.56MHz ISO14443A & NFC Type 2 compliant NTAG216 RFID chipset
[2] http://support.apple.com/kb/TA24244
[3] https://code.google.com/p/ifdnfc/
[4] http://nfc-tools.org/index.php?title=Ifdnfc
[5] https://alioth.debian.org/frs/download.php/file/4126/pcsc-lite-1.8.13.tar.bz2


_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle

Reply via email to