<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Yoann Gini wrote:
<blockquote cite="mid:BF275B63-4E08-4BD4-9527-37512AD038FC@gmail.com"
type="cite">
<blockquote type="cite"><pre wrap="">Le 18 janv. 2015 à 14:07, Henrik Brautaset Aronsen <a class="moz-txt-link-rfc2396E" href="mailto:henrik@synth.no"><henrik@synth.no></a> a écrit :
Is it possible to generate a key and store it on an NFC tag, so that it shows up with "sc_auth hash"?
I'm trying to login to OSX using NFC using info from <a class="moz-txt-link-freetext" href="http://support.apple.com/kb/TA24244">http://support.apple.com/kb/TA24244</a>. The tag I have is a 13.56MHz ISO14443A & NFC Type 2 compliant NTAG216 RFID chipset, and I'm using a ACS ACR122T USB reader.
</pre></blockquote>
<pre wrap=""><!---->
Which driver did you use for that?
By default, PC/SC Lite don’t know how to talk with cards, you need a driver for that.
For what I’ve see, a project is started called ifdnfc to bring this functionality and support NFC card for PKCS11 via OpenSC.
But the source code isn’t really active and I don’t know if it work now.</pre>
</blockquote>
<br>
Hi Yoann,<br>
<br>
Thanks for your swift reply! I wasn't aware of the driver requirement,
that's good to know.<br>
<br>
I built pcscd and ifdnfc. <span><span>ifdnfc-activate connects to
pcscd, but says</span> </span><span>that it "Cannot find a smart card
reader". testpcsc says:<br>
<br>
Testing SCardEstablishContext : Command successful.<br>
Testing SCardIsValidContext : Command successful.<br>
Testing SCardIsValidContext : Invalid handle. (don't panic)<br>
Testing SCardListReaderGroups : Command successful.<br>
Group 01: SCard$DefaultReaders<br>
Testing SCardFreeMemory : Command successful.<br>
Testing SCardListReaders : Cannot find a smart card reader. (don't
panic)<br>
Testing SCardGetStatusChange <br>
Please insert a working reader :<br>
<br>
<br>
</span><span>The stock OSX version of pcsctest finds the reader just
fine:<br>
<br>
$ /usr/bin/pcsctest<br>
<br>
Testing SCardEstablishContext : Command successful.<br>
Testing SCardGetStatusChange <br>
Please insert a working reader : Command successful.<br>
Testing SCardListReaders : Command successful.<br> Reader 01:
ACS ACR122U <br>
<br>
<br>
Maybe I need ifdnfc to talk to </span><span>/System/Library/Frameworks/PCSC.framework/Versions/A/XPCServices/com.apple.ctkpcscd.xpc/Contents/MacOS/com.apple.ctkpcscd
instead of my self-built pcscd?</span><br>
<br>
Best regards,<br>
Henrik<br>
<br>
<br>
</body></html>