On Wed, Jan 28, 2015 at 11:37 PM, Linda Yu <[hidden email]> wrote:
> Did anyone make a NFC compliant PC/SC reader work recently? If you did, > could you provide the detailed info about your platform and > middleware/driver version numbers? I hava few different (probably older) ACS readers but they are not so easy to use via pc/sc. What works flawlessly is Gemalto Prox DU/SU: http://www.smartcardfocus.com/shop/ilp/id~478/gemalto-prox-du-idbridge-cl3000-/p/index.shtml -- Martin +372 515 6495 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
In reply to this post by William Roberts
On 01/30/2015 08:25 PM, William Roberts wrote:
> So how does that guy get into you're office building with the crazy > hardware? Consider the amount of door reader systems in place in business's > that use the > 14443 UID as the identifier to let the individual in. No second factor > authentication, and are trivial to spoof. You can buy a 30 dollar reader > writer from Amazon > that does it. I did a demo at work where I was able to clone a dozen > employee cards without them knowing. Just get close, zap it, and walk away. > Go back and > make a clone. Yes, that is the sad reality of physical access today. We've started a project with ideas to change that, but there is little to no interest in the industry [1]. Unless customer demand for more security in badges, things will not change and people will stick with proprietary technologies like Mifare, Legic or HID. Opacity is a promising concept, but the current patent situation and control from a single vendor prevents widespread use. Andreas [1] http://www.coolpacs.org -- --------- CardContact Software & System Consulting |.##> <##.| Andreas Schwier |# #| Schülerweg 38 |# #| 32429 Minden, Germany |'##> <##'| Phone +49 571 56149 --------- http://www.cardcontact.de http://www.tscons.de http://www.openscdp.org http://www.smartcard-hsm.com ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
On 1/31/2015 4:25 AM, Andreas Schwier wrote: > On 01/30/2015 08:25 PM, William Roberts wrote: >> So how does that guy get into you're office building with the crazy >> hardware? Consider the amount of door reader systems in place in business's >> that use the >> 14443 UID as the identifier to let the individual in. No second factor >> authentication, and are trivial to spoof. You can buy a 30 dollar reader >> writer from Amazon >> that does it. I did a demo at work where I was able to clone a dozen >> employee cards without them knowing. Just get close, zap it, and walk away. >> Go back and >> make a clone. > > Yes, that is the sad reality of physical access today. We've started a > project with ideas to change that, but there is little to no interest in > the industry [1]. Unless customer demand for more security in badges, > things will not change and people will stick with proprietary > technologies like Mifare, Legic or HID. > > Opacity is a promising concept, but the current patent situation and > control from a single vendor prevents widespread use. As I understand it, the single vendor control issue was a driving force in NIST releasing the FIPS-201 and 800-73 documents. They define PIV including objects on the card for physical access. The previous CAC card for DoD was a single vendor. CAC cards are now dual CAC/PIV eventually to be PIV. Multiple card vendors make PIV cards and at least two vendors have PACS readers. And Microsoft wrote a PIV driver for Windows. See: http://www.idmanagement.gov/approved-products-list > > Andreas > > [1] http://www.coolpacs.org > -- Douglas E. Engert <[hidden email]> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
In reply to this post by Andreas Schwier (ML)
On Saturday, January 31 at 11:25AM, Andreas Schwier wrote:
> On 01/30/2015 08:25 PM, William Roberts wrote: > > So how does that guy get into you're office building with the crazy > > hardware? Consider the amount of door reader systems in place in business's > > that use the > > 14443 UID as the identifier to let the individual in. No second factor > > authentication, and are trivial to spoof. You can buy a 30 dollar reader > > writer from Amazon > > that does it. I did a demo at work where I was able to clone a dozen > > employee cards without them knowing. Just get close, zap it, and walk away. > > Go back and > > make a clone. > > Yes, that is the sad reality of physical access today. We've started a > project with ideas to change that, but there is little to no interest in > the industry [1]. Unless customer demand for more security in badges, > things will not change and people will stick with proprietary > technologies like Mifare, Legic or HID. https://code.google.com/p/libfreefare/ You can easily bootstrap secure systems from here https://github.com/henryk/libopenkey (and you may even be compatible with some proprietary systems) > Opacity is a promising concept, but the current patent situation and > control from a single vendor prevents widespread use. Which patents do you mean? They claim to have published all their work instead of filing any patent... > [1] http://www.coolpacs.org As far as I know, PKI systems (i.e. asymmetric cryptography) is very slow on smart cards. Which times have you measured for the authentication process with coolpacs? Which protocol are you using for physical access? From slide slide 12 you state that it takes 400ms, but that only authenticates the card, if I'm not mistaken. Greets, Frank. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
> Mifare is documented well enough by this implementation
> https://code.google.com/p/libfreefare/ You can easily bootstrap > secure systems from here https://github.com/henryk/libopenkey (and > you may even be compatible with some proprietary systems) True, but you are not allowed to implement Mifare on your own card, because otherwise you violate NXPs IPR. It not an open protocol. > >> Opacity is a promising concept, but the current patent situation >> and control from a single vendor prevents widespread use. > > Which patents do you mean? They claim to have published all their > work instead of filing any patent... > >> [1] http://www.coolpacs.org > > As far as I know, PKI systems (i.e. asymmetric cryptography) is > very slow on smart cards. Which times have you measured for the > authentication process with coolpacs? Which protocol are you using > for physical access? From slide slide 12 you state that it takes > 400ms, but that only authenticates the card, if I'm not mistaken. with a CVC containing a device specific key. It's an open protocol that has no patent issues (unlike Opacity for which the original contributor to NIST hold patents). The transaction time is around 400ms, which includes field activation, reading two CVCs and performing ChipAuthentication V2. This with a PC and Reiner SCT Basisleser. I'm sure on dedicated hardware this can be tweaked to be even a little faster. The beauty of the approach is, that you can have a local PIN verification against the card. This is possible, because the reader can use ChipAuthentication and secure messaging to issue a VERIFY APDU to the card. As the verification result is send with secure messaging, it proves to the reader that a valid PIN was verified by a genuine device. Of course PIN verification is optional, on a reader with less security it would be sufficient to just authenticate the card. > > Greets, Frank. > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, > from weekly thought leadership blogs to news, videos, case studies, > tutorials and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net/ > > > > _______________________________________________ Opensc-devel > mailing list [hidden email] > https://lists.sourceforge.net/lists/listinfo/opensc-devel > -- --------- CardContact Software & System Consulting |.##> <##.| Andreas Schwier |# #| Schülerweg 38 |# #| 32429 Minden, Germany |'##> <##'| Phone +49 571 56149 --------- http://www.cardcontact.de http://www.tscons.de http://www.openscdp.org http://www.smartcard-hsm.com -- --------- CardContact Software & System Consulting |.##> <##.| Andreas Schwier |# #| Schülerweg 38 |# #| 32429 Minden, Germany |'##> <##'| Phone +49 571 56149 --------- http://www.cardcontact.de http://www.tscons.de http://www.openscdp.org http://www.smartcard-hsm.com ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
In reply to this post by Douglas E Engert
On Fri, Jan 30, 2015 at 7:07 PM, Douglas E Engert <[hidden email]> wrote:
Again, the government has a much different attack vector than commercial industry.
Theirs a few ways to mitigate the risk here. The first and simplest is, don't load the objects that dont need pin. Additionally, one can tweak the security requirements to pin. Even OpenSC prompts for the pin on the 9E key before using it and sends a VERIFY. Outside of those things, because this is being done on a handset one can add additional things, like the phone must be unlocked, NFC can be turned on and off, a secondary pin prompt occurs, etc etc. Also, I have never claimed PIV compliance, just some loose compatibility on the card edge. Its nice to be able to leverage existing infrastructure.
Respectfully,
William C Roberts ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
In reply to this post by Douglas E Engert
From: Douglas E Engert [via OpenSC] <ml-node+[hidden email]>
Sent: Friday, January 30, 2015 5:00 PM To: Linda Yu Subject: Re: Seeking recommendation of any NFC compliant smart card reader On 1/30/2015 9:36 AM, Linda Yu wrote: > Thanks everyone for sharing your knowledge and experience. Much appreciated! > I am new to NFC and smart cards. > > Probably, I should tell you a little bit about the project I am working on. > We are adding Bluetooth to our device and trying to do Bluetooth pairing via > NFC. My first step is to develop a demo application on PC (Ubuntu 14.04 > LTS). Try to write a Bluetooth address to a NFC compliant smart card and > have it read back. The Bluetooth application will take over from here. The PIV card may not be for you. I don't know what you mean by "write a Bluetooth address to a NFC compliant smart card" The PIV a a specific set of objects, consisting of certificates, private keys, fingerprints, iris images, facial images, and other associated ID type stuff. These can be used for physical access, like door locks, to login/web server login, email signnature and data encryption. The full system setup for our demo is as follows: On one end is a development board with Bluetooth and NFC tag/device, on the other end is a PC/tablet with Bluetooth and NFC reader. The NFC reader only needs to read some data (Bluetooth pairing info including Bluetooth address in
this case) from the tag. I need to write to the tag for testing before tag side application is ready. I initially thought I had to rely on pcsclite APIs according to ACR122u document. I'll focus on higher level NFC library as Bill suggested.
If you goal is to use a gov issued PIV card with a mobile device. This has been a goal for a long time, and there are blue tooth readers that you ware around your neck and insert your PIV badge. There are iPhone and Android drivers to uses these with a PIV card. Its very clunky... NIST has recognized the problems of using the FIPS 201 infrastructure with mobile devices and the restriction of no pins over NFC and are addressing this in two ways: http://csrc.nist.gov/publications/PubsSPs.html#800-73-4 NIST 800-73-4 (draft) as I said in previous note, adds secure messaging to the NFC. This would require new cards. http://csrc.nist.gov/publications/PubsSPs.html#800-157 NIST 800-157 defines delegated PIV credentials that can be loaded on the mobile device. The device or its TPMS hardware replace the smart card, and are not requires to use the ISO card-edge interface at all! I would expect mobile device vendors to support this... > > I am not concerned about the security at this point since it's a demo. I > hope to find a NFC compliant smart card that is easy to be unlocked and > written to. I have used Oberthur card, but they don't sell in small numbers. You could also get the NIST set of 16 test cards, with preloaded credentials. http://csrc.nist.gov/groups/SNS/piv/testcards.html I the beta version I have, has some cards from Oberthur and Gemalto. This is a demo set of cards, and the data is identical from set to set, with the certs, objects and key listed in the docs. See: > If you have any other reader to recommend, it would be great as > well. Currently, I have a Motorola Boom 89605N Headset with an integrated > PIV (NIST SP 800-73 according to Windows device manager). That does not sound correct. How would you use the audio device as a smart card??? Sorry, I didn't make it clear. I don't plan to use it for my development. I just use it to check if the driver and middleware for ACR122u are working since it's the only tag I have right now. > > I am still digesting all information here. > > > > -- > View this message in context: http://opensc.1086184.n5.nabble.com/Seeking-recommendation-of-any-NFC-compliant-smart-card-reader-tp15093p15106.html > Sent from the Developer mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Opensc-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/opensc-devel > . > -- Douglas E. Engert <[hidden email]> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel If you reply to this email, your message will be added to the discussion below:
http://opensc.1086184.n5.nabble.com/Seeking-recommendation-of-any-NFC-compliant-smart-card-reader-tp15093p15114.html
|
In reply to this post by Martin Paljak-4
Thanks Martin for your recommendation. I'll check it out.
Linda
From: Martin Paljak-4 [via OpenSC] <ml-node+[hidden email]>
Sent: Saturday, January 31, 2015 5:10 AM To: Linda Yu Subject: Re: Seeking recommendation of any NFC compliant smart card reader On Wed, Jan 28, 2015 at 11:37 PM, Linda Yu <[hidden email]> wrote:
> Did anyone make a NFC compliant PC/SC reader work recently? If you did, > could you provide the detailed info about your platform and > middleware/driver version numbers? I hava few different (probably older) ACS readers but they are not so easy to use via pc/sc. What works flawlessly is Gemalto Prox DU/SU: http://www.smartcardfocus.com/shop/ilp/id~478/gemalto-prox-du-idbridge-cl3000-/p/index.shtml -- Martin +372 515 6495 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel If you reply to this email, your message will be added to the discussion below:
http://opensc.1086184.n5.nabble.com/Seeking-recommendation-of-any-NFC-compliant-smart-card-reader-tp15093p15118.html
|
In reply to this post by William Roberts
From: William Roberts [via OpenSC] <ml-node+[hidden email]>
Sent: Friday, January 30, 2015 4:16 PM To: Linda Yu Subject: Re: Seeking recommendation of any NFC compliant smart card reader On Fri, Jan 30, 2015 at 11:02 AM, Douglas E Engert
<[hidden email]> wrote:
Both of you are are doing demos. But you are putting off the security issues of using NFC So for me, I am stuck within the confines of the PIV card edge, but for Linda's situation, I don't think she needs much. She can just
set up session keys as described in the 4th edition draft, which is really just a 0 key protocol as described by Opacity (No Forward Secrecy). Once an encrypted
session is set up then the transmission of the BT pairing pins can be sent. Linda would additional want to require a users consent to actually do the automatic pairing,
so rouge "taps" don't result in pairing with a rogue machine.
As far as my case, for more CIV uses of the card, NFC is fine for the whole protocol. NFC only has a working range of 4 -10cm unless you get a ridiculous
piece of hardware that can read it from 30+ft, however, if someone is in your office building with that, you probably have bigger problems. Although normal
NFC traffic is plain-text, its difficult to snoop. While the federal government deems that for their uses of PIV and their threat models, NFC is too easy to snoop.
For a SMB or even large enterprise, they might deem it's difficulty to capture is sufficient. Even cables emit electromagnetic fields that can be read at very very
short distances... again level of paranoia.
So how does that guy get into you're office building with the crazy hardware? Consider the amount of door reader systems in place in business's that use the
14443 UID as the identifier to let the individual in. No second factor authentication, and are trivial to spoof. You can buy a 30 dollar reader writer from Amazon
that does it. I did a demo at work where I was able to clone a dozen employee cards without them knowing. Just get close, zap it, and walk away. Go back and
make a clone.
Our use case is very similar to Android beam. The Bluetooth pairing will start once the tag touches the NFC reader. Did you mean I still need to deal with NDEF formatting even if I use libnfc? I am stuck with Qt/Linux since my GUI and Bluetooth prototypes were done in that environment. Thanks!
Respectfully,
William C Roberts ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel If you reply to this email, your message will be added to the discussion below:
http://opensc.1086184.n5.nabble.com/Seeking-recommendation-of-any-NFC-compliant-smart-card-reader-tp15093p15112.html
|
On Mon, Feb 2, 2015 at 2:06 PM, Linda Yu <[hidden email]> wrote:
libnfc should make it easy, I have never used their C apis and they example code on libnfc only shows how to read a tag, something needs to produce that tag. Outside of the beam stuff, I don't know how you can just "be a tag". Maybe these links will help: Alternatively, one could do HCE on the Android device, and just read and write the raw apdu traffic from the desktop, again no reason ro write a card driver for this, right now. Just use libnfc and follow the http://nfc-tools.org/index.php?title=Libnfc:APDU_example
Respectfully,
William C Roberts ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
Hi!
> Alternatively, one could do HCE on the Android device, and just read and > write the raw apdu traffic from the desktop, again no reason ro write a > card driver for this, right now. Just use libnfc and follow the > http://nfc-tools.org/index.php?title=Libnfc:APDU_example I think you mean relaying an NFC card from Android's reader mode to the desktop. There already is an app for this: https://frankmorgner.github.io/vsmartcard/remote-reader/README.html Greets, Frank. -- Frank Morgner Virtual Smart Card Architecture http://vsmartcard.sourceforge.net OpenPACE http://openpace.sourceforge.net IFD Handler for libnfc Devices http://sourceforge.net/projects/ifdnfc ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
No thats not what I mean. > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
In reply to this post by Douglas E Engert
On 2/3/2015 4:57 PM, Simon Josefsson wrote: > Douglas E Engert <[hidden email]> writes: > >> NIST 800-73-4 (draft) adds secure messaging over contactless interface, >> to allow more operations over contactless. I believe this is still >> draft, and I don't >> know if there are any cards available or if Yubico is looking at this for their >> PIV applet. > > We are aware of it -- but we haven't seen a real use-case for it at this > point, so it has been difficult to justify any investment in this area. > Is there anything interesting someone here would need that ability for? PIV card with a pad or phone? But 800-157 gives a different way to use the PIV infrastructure with mobile devices with having a card. > >> Its not clear were the NEO is headed, with their PIV applet, since part of the >> FIPS 201 says the PIV is a smart card in a smart card format, usable >> as a ID badge >> and has a mag strip too. So although the NEO PIV applet might pass the >> card interface >> part of the specs, it violates the crypto over contactless and it does >> not pass the >> physical aspects of the specs. > > We know about the physical aspect -- but what crypto-over-contactless > issue are you referring to? PIN-protected operations? I was under the impression that the NEO exposed all objects, and could do a PIN verify over NFC. 800-73 says only the card authentication key, 9E can be used over contactless, and 9E does not require the PIN. Since the FIPS-201 and 800-73 were designed for government agencies to issue the certificates and key, the 9E key and its cert would identify the card, and not a user. If an end user is given control over the certificates on a personal device, (yubico-piv-tool for example) they might use the 9E key and cert for authentication, signature or encryption as a user over the network, thus bypassing the need for a PIN and doing crypto over NFC and any types of NFC attack. > >> But for non government use it is still useful, partly because it works >> with the Microsoft >> builtin PIV card driver, as well as OpenSC on other platforms. > > Yes, these two uses are our main use-case. > >> In the article, that also say "don't trust OpenSC". The OpenSC code >> assumes the card supports >> the NIST standards and reports RSA 2048, and ECC 256 and 386 are >> supported. Its the NEO that >> is not following the standards. > That should have been ECC 256 and 384, not 386. > What are we doing wrong here? It sounds like the chip is not capable of ECC greater then 320 is that correct? > The forum post suggest rsa3k and ecc384 which is incorrect. There is no easy way to tell what keys are on the card, their size or algorithm, other then reading the certificates and extracting the SPKI from the certificates There could be 4 keys, plus any keys listed in the history object. Reading all of these could be time consuming. pkcs11-tool -M lists the mechanisms supported, with min and max key sizes supported by the card in general. (And all the hashes supported by the software.) The OpenSC code returns that a PIV card can do RSA 1024, 2048 and ECC 256 and 384 for all PIV cards. Its hard coded in card-piv.c. One of the earlier versions of 800-73 had algorithm identifiers defined for RSA 3072 I think it was 0x05. These algorithm ids are now in 800-78-2 as a separate doc and table 3-3 refers to RSA 3072, but table 6.2 does not list the algorithm ID for RSA 3072. The same early version of 800-73 also allowed for passing ECC parameters to the card. That was greatly simplified to only 2 curves in later versions. (When I retired, I threw out the paper copies of earlier versions, and I can't find then online.) 800-78-2 also has dates and after 12/31/2010, only SHA-256 or SHA-384 should be used. So today, maybe pkcs11-tool -M should only say RSA 1024-2048 and ECC 256 and 384, and only allow SHA-256 and 384. > >> Sorry for the long reply, but I got on a roll... I do that too... > > Thank you :-) > > /Simon > -- Douglas E. Engert <[hidden email]> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
Douglas E Engert <[hidden email]> writes:
>>> Its not clear were the NEO is headed, with their PIV applet, since >>> part of the >>> FIPS 201 says the PIV is a smart card in a smart card format, usable >>> as a ID badge >>> and has a mag strip too. So although the NEO PIV applet might pass the >>> card interface >>> part of the specs, it violates the crypto over contactless and it does >>> not pass the >>> physical aspects of the specs. >> >> We know about the physical aspect -- but what crypto-over-contactless >> issue are you referring to? PIN-protected operations? > > I was under the impression that the NEO exposed all objects, and could > do a PIN verify over NFC. 800-73 says only the card authentication > key, 9E can be used > over contactless, and 9E does not require the PIN. > > Since the FIPS-201 and 800-73 were designed for government agencies to issue > the certificates and key, the 9E key and its cert would identify the card, > and not a user. > > If an end user is given control over the certificates on a personal device, > (yubico-piv-tool for example) they might use the 9E key and cert for > authentication, > signature or encryption as a user over the network, thus bypassing the need for > a PIN and doing crypto over NFC and any types of NFC attack. property somewhere, if that isn't done already, since it may be unobvious. Since the NEO really isn't an "approved" PIV card, we only make use of the technology because it is widely implemented, and if something makes sense that isn't covered by the specs, I think we can consider it. >> What are we doing wrong here? > > It sounds like the chip is not capable of ECC greater then 320 > is that correct? Yes. >> The forum post suggest rsa3k and ecc384 which is incorrect. > > There is no easy way to tell what keys are on the card, > their size or algorithm, other then reading the certificates > and extracting the SPKI from the certificates There could be 4 keys, > plus any keys listed in the history object. Reading all of these > could be time consuming. > > pkcs11-tool -M lists the mechanisms supported, with min and max key sizes > supported by the card in general. (And all the hashes supported by the > software.) > The OpenSC code returns that a PIV card can do RSA 1024, 2048 and ECC > 256 and 384 > for all PIV cards. Its hard coded in card-piv.c. printed by OpenSC here doesn't reflect the card's support, but what OpenSC supports. > So today, maybe pkcs11-tool -M should only say RSA 1024-2048 and ECC > 256 and 384, > and only allow SHA-256 and 384. +1 >>> Sorry for the long reply, but I got on a roll... > > I do that too... We all appreciate that! /Simon >> >> Thank you :-) >> >> /Simon >> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
In reply to this post by William Roberts
I tried to read Texas Instruments Dynamic NFC Interface Transponder (RF430CL330H) using ACR122U and got invalid card error message. Does that mean libpcsclite/pcscd
middleware doesn’t support this card? This is the candidate card for our demo. It seems like libnfc depends on libpcsclite. How long does it take to get a new card supported if I submit it at:
http://smartcard-atr.appspot.com? This is a NFC tag type 4 and supposed to be ISO 14443-compliant. The reader beeped and LED turned green by taping this card. The card works well with my smart
phone. Thanks again! *********************************************************************************** $ pcsc_scan PC/SC device scanner V 1.4.22 (c) 2001-2011, Ludovic Rousseau <[hidden email]> Compiled with PC/SC lite version: 1.8.10 Using reader plug'n play mechanism Scanning present readers... ACS ACR122U 00 00 Wed Feb 11 15:30:13 2015 Reader 0: ACS ACR122U 00 00 Card state: Card inserted,
ATR: 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94 ATR: 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94 + TS = 3B --> Direct Convention + T0 = 8C, Y(1): 1000, K: 12 (historical bytes) TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
----- TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
----- + Historical bytes: 50 77 3B 2D BD 00 00 00 11 00 81 85 Category indicator byte: 50 (proprietary format) + TCK = 94 (correct checksum) Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): NONE find: `/home/vbox/.cache/smartcard_list.txt': No such file or directory Your card is not present in the database. Please submit your unknown card at: http://smartcard-atr.appspot.com/parse?ATR=3B8C800150773B2DBD0000001100818594 $opensc-tool –n Using reader with a card: ACS ACR122U 00 00 Failed to connect to card: Card is invalid or cannot be handled From: William Roberts [via OpenSC] [mailto:ml-node+[hidden email]]
I am using that same reader with no issues. I have been able to use both HCE Android devices implementing smart cards, as well as PIV cards with NFC support. I have seen issues with a loaded pn533 driver and you need to make sure you have udev rules that make the USB device accessable to OpenSC framework. Try looking at syslog for errors. If you get something about device busy, check to see if the pn533 module is loaded, if so you can either black list it or remove the associated package. That driver claims the interface that opensc is trying to open with libusb. On Wed, Jan 28, 2015 at 1:37 PM, Linda Yu <[hidden email]> wrote: Hi,
-- Respectfully,
If you reply to this email, your message will be added to the discussion below: To unsubscribe from Seeking recommendation of any NFC compliant smart card reader,
click here. |
What applet is loaded onto it? Someone needs to issue a select with the AID, and based on your logs it looks like that never happened. OpenSC seems to keep going if ATRs arn't matched (which is my case) and tries the installed card drivers untill a select returns 90 00. Did you see any APDU query?
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
TI’s NFC tag has “hello world” message saved as NDEF format on its SRAM. My smart phone can read “hello word” back. I turned on debugging and got the following
info: $
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug –apdu > log.txt 2>&1 00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug 00003821 debuglog.c:298:DebugLogSetCategory() Debug options: APDU 00000190 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d 00000045 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .. 00000017 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin 00000068 configfile.l:266:DBGetReaderListDir() Skipping non regular file: . 00000012 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready. 00041089 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001 00000128 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001 00000072 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x80EE, PID: 0x0021, path: /dev/bus/usb/001/002 00000064 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001 00000068 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x072F, PID: 0x2200, path: /dev/bus/usb/001/008 00000017 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x072F, PID: 0x2200, path: /dev/bus/usb/001/008 00000005 hotplug_libudev.c:321:HPAddDevice() Adding USB device: ACS ACR122U 00000027 readerfactory.c:989:RFInitializeReader() Attempting startup of ACS ACR122U 00 00 using /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so 00000210 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0 00000027 ifdhandler.c:2577:init_driver() Driver version: 1.1.0 00000188 ifdhandler.c:2594:init_driver() LogLevel: 0x0003 00000006 ifdhandler.c:2605:init_driver() DriverOptions: 0x0000 00000005 ifdhandler.c:2613:init_driver() ACSDriverOptions: 0x0003 00000004 ifdhandler.c:2621:init_driver() ACR38CardVoltage: 0 00000005 ifdhandler.c:2629:init_driver() ACR38CardType: 0 00000022 ifdhandler.c:2642:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F 00000007 ifdhandler.c:104:CreateChannelByNameOrChannel() Lun: 0, device: usb:072f/2200:libudev:0:/dev/bus/usb/001/008 00000014 ccid_usb.c:259:OpenUSBByName() Reader index: 0, Device: usb:072f/2200:libudev:0:/dev/bus/usb/001/008 00000016 ccid_usb.c:291:OpenUSBByName() interface_number: 0 00000004 ccid_usb.c:307:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist 00000193 ccid_usb.c:325:OpenUSBByName() ifdManufacturerString: Advanced Card Systems Ltd. 00000007 ccid_usb.c:326:OpenUSBByName() ifdProductString: ACS CCID driver 00000004 ccid_usb.c:327:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your
option) any later version. 00000732 ccid_usb.c:469:OpenUSBByName() Checking device: 1/8 00000011 ccid_usb.c:574:OpenUSBByName() Trying to open USB bus/device: 1/8 00064919 ccid_usb.c:687:OpenUSBByName() Found Vendor/Product: 072F/2200 (ACS ACR122U) 00000159 ccid_usb.c:689:OpenUSBByName() Using USB bus/device: 1/8 00000031 ccid_usb.c:851:OpenUSBByName() bNumDataRatesSupported is 0 00010757 -> 000000 63 00 00 00 00 00 00 00 00 00
00008684 <- 000000 81 00 00 00 00 00 00 02 81 00
01000439 ccid_usb.c:1651:InterruptRead() before (0) 00109692 ccid_usb.c:1695:InterruptRead() after (0) (2) 00000037 -> 000000 65 00 00 00 00 00 01 00 00 00
00024661 <- 000000 81 00 00 00 00 00 01 02 81 00
00000036 -> 000000 65 00 00 00 00 00 02 00 00 00
00005921 <- 000000 81 00 00 00 00 00 02 02 81 00
00000030 ifdhandler.c:244:CreateChannelByNameOrChannel() dwFeatures: 0x00020040 00000006 ifdhandler.c:245:CreateChannelByNameOrChannel() wLcdLayout: 0x0000 00000004 ifdhandler.c:246:CreateChannelByNameOrChannel() bPINSupport: 0x00 00000004 ifdhandler.c:247:CreateChannelByNameOrChannel() dwMaxCCIDMessageLength: 271 00000003 ifdhandler.c:248:CreateChannelByNameOrChannel() dwMaxIFSD: 256 00000004 ifdhandler.c:249:CreateChannelByNameOrChannel() dwDefaultClock: 4000 00000004 ifdhandler.c:250:CreateChannelByNameOrChannel() dwMaxDataRate: 250000 00000004 ifdhandler.c:251:CreateChannelByNameOrChannel() bMaxSlotIndex: 0 00000015 ifdhandler.c:252:CreateChannelByNameOrChannel() bCurrentSlotIndex: 0 00000004 ifdhandler.c:253:CreateChannelByNameOrChannel() bInterfaceProtocol: 0x00 00000004 ifdhandler.c:254:CreateChannelByNameOrChannel() bNumEndpoints: 3 00000004 ifdhandler.c:255:CreateChannelByNameOrChannel() bVoltageSupport: 0x07 00000007 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB3, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000005 readerfactory.c:332:RFAddReader() Using the reader polling thread 00000007 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000005 -> 000000 65 00 00 00 00 00 03 00 00 00
00006114 <- 000000 81 00 00 00 00 00 03 02 81 00
00000036 ifdhandler.c:2558:IFDHICCPresence() Card absent 00000148 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFAE, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000020 ifdhandler.c:530:IFDHGetCapabilities() Reader supports 1 slot(s) 00000068 readerfactory.c:1330:RFWaitForReaderInit() Waiting init for reader: ACS ACR122U 00 00 00000209 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000022 -> 000000 65 00 00 00 00 00 04 00 00 00
00005446 <- 000000 81 00 00 00 00 00 04 02 81 00
00000031 ifdhandler.c:2558:IFDHICCPresence() Card absent 00000012 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000011 -> 000000 65 00 00 00 00 00 05 00 00 00
00005964 <- 000000 81 00 00 00 00 00 05 02 81 00
00000089 ifdhandler.c:2558:IFDHICCPresence() Card absent 00000015 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 600000 ms 00000011 ccid_usb.c:1651:InterruptRead() before (0) 34252220 ccid_usb.c:1695:InterruptRead() after (0) (0) 00000040 NotifySlotChange: 50 03
00000007 ccid_usb.c:1725:InterruptRead() 1/8: Slot 0: 0x00 00000007 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000007 -> 000000 65 00 00 00 00 00 06 00 00 00
00044394 <- 000000 81 00 00 00 00 00 06 00 81 00
00000073 ifdhandler.c:2558:IFDHICCPresence() Card present 00000019 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000016 -> 000000 65 00 00 00 00 00 07 00 00 00
00006182 <- 000000 81 00 00 00 00 00 07 00 81 00
00000069 ifdhandler.c:2558:IFDHICCPresence() Card present 00000018 ifdhandler.c:1307:IFDHPowerICC() action: PowerUp, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000071 -> 000000 62 00 00 00 00 00 08 01 00 00
00005839 <- 000000 80 11 00 00 00 00 08 00 81 00 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000110 eventhandler.c:381:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 00000010 eventhandler.c:396:EHStatusHandlerThread() Card inserted into ACS ACR122U 00 00 00000010 Card ATR: 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000007 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 5000 ms 00000007 ccid_usb.c:1651:InterruptRead() before (0) 01977709 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival 00000042 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 14 00000009 pcscdaemon.c:111:SVCServiceRunLoop() A new context thread creation is requested: 14 00000062 winscard_svc.c:301:ContextThread() Thread is started: dwClientID=14, threadContext @0x812d60 00000192 winscard_svc.c:319:ContextThread() Received command: CMD_VERSION from client 14 00000045 winscard_svc.c:331:ContextThread() Client is protocol version 4:3 00000012 winscard_svc.c:351:ContextThread() CMD_VERSION rv=0x0 for client 14 00000050 winscard_svc.c:319:ContextThread() Received command: ESTABLISH_CONTEXT from client 14 00000031 winscard.c:193:SCardEstablishContext() Establishing Context: 0x1640AF55 00000007 winscard_svc.c:412:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 14 00000038 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000031 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000054 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000038 winscard_svc.c:319:ContextThread() Received command: CONNECT from client 14 00000023 winscard.c:235:SCardConnect() Attempting Connect to ACS ACR122U 00 00 using protocol: 3 00000008 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1 00000005 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE 00000010 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1 00000008 ifdhandler.c:762:IFDHSetProtocolParameters() protocol T=1, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000006 ifdhandler.c:776:IFDHSetProtocolParameters() Timeout: 3000 ms 00000005 winscard.c:409:SCardConnect() Active Protocol: T=1 00000006 winscard.c:429:SCardConnect() hCard Identity: 2848abd3 00000121 winscard.c:490:SCardConnect() UnrefReader() count was: 2 00000011 winscard_svc.c:453:ContextThread() CONNECT rv=0x0 for client 14 00000045 winscard_svc.c:319:ContextThread() Received command: CONTROL from client 14 00000022 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000010 ifdhandler.c:1737:IFDHControl() ControlCode: 0x42000D48, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000005 Control TxBuffer:
00000008 Control RxBuffer: 12 04 42 33 00 12 13 04 42 00 0D AC
00000006 winscard.c:1350:SCardControl() UnrefReader() count was: 2 00000005 winscard_svc.c:652:ContextThread() CONTROL rv=0x0 for client 14 00000035 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from client 14 00000019 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000007 winscard.c:850:SCardDisconnect() Active Contexts: 1 00000005 winscard.c:851:SCardDisconnect() dwDisposition: 0 00000006 winscard.c:1016:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD 00000006 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB2, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000005 winscard.c:1030:SCardDisconnect() Stopping polling thread 00000006 ifdhandler.c:398:IFDHStopPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00016303 ccid_usb.c:1695:InterruptRead() after (0) (3) 00000067 ccid_usb.c:1738:InterruptRead() InterruptRead (1/8): Resource temporarily unavailable 00000018 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2 00000011 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 14 00001747 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000064 winscard_svc.c:319:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 14 00000051 winscard_svc.c:319:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 14 00000021 winscard_svc.c:393:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 14 00000024 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000268 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000035 winscard_svc.c:319:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 14 00000072 winscard_svc.c:319:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 14 00000025 winscard_svc.c:393:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 14 00000024 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000045 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000355 winscard_svc.c:319:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 14 00000047 winscard_svc.c:319:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 14 00000020 winscard_svc.c:393:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 14 00000023 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14 00000028 winscard_svc.c:319:ContextThread() Received command: CONNECT from client 14 00000020 winscard.c:235:SCardConnect() Attempting Connect to ACS ACR122U 00 00 using protocol: 3 00000020 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1 00000007 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE 00000006 winscard.c:409:SCardConnect() Active Protocol: T=1 00000007 winscard.c:429:SCardConnect() hCard Identity: 15bcad7a 00000006 winscard.c:490:SCardConnect() UnrefReader() count was: 2 00000007 winscard_svc.c:453:ContextThread() CONNECT rv=0x0 for client 14 00000320 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14 00000228 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000011 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000 00000006 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2 00000006 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14 00000062 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14 00000224 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000013 winscard.c:1587:SCardTransmit() Send Protocol: T=1 00000008 APDU: 00 CA DF 30 05
00000012 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000011 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 5 bytes 00000009 -> 000000 6F 05 00 00 00 00 09 00 00 00 00 CA DF 30 05
00371840 <- 000000 80 00 00 00 00 00 09 00 FE 00
00000038 SW:
00000009 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2 00000007 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14 00000141 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14 00000018 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000007 winscard.c:1225:SCardEndTransaction() Status: 0x00000000 00000004 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2 00000006 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14 00009356 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14 00000040 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000008 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000 00000005 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2 00000028 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14 00000054 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14 00000013 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000006 winscard.c:1587:SCardTransmit() Send Protocol: T=1 00000008 APDU: 00 A4 04 00 05 A0 00 00 00 01
00000007 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000006 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 10 bytes 00000009 -> 000000 6F 0A 00 00 00 00 0A 00 00 00 00 A4 04 00 05 A0 00 00 00 01
00406102 <- 000000 80 00 00 00 00 00 0A 00 FE 00
00000092 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000021 -> 000000 65 00 00 00 00 00 0B 00 00 00
00000085 SW:
00000019 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2 00000014 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14 00000315 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14 00000038 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000013 winscard.c:1225:SCardEndTransaction() Status: 0x00000000 00000010 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2 00000011 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14 00005162 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14 00000074 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000017 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000 00000010 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2 00000012 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14 00000077 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14 00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000037 winscard.c:1587:SCardTransmit() Send Protocol: T=1 00000018 APDU: 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00037734 <- 000000 81 00 00 00 00 00 0B 00 81 00
00000222 ifdhandler.c:2558:IFDHICCPresence() Card present 00000038 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 600000 ms 00000015 ccid_usb.c:1651:InterruptRead() before (0) 00000053 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000016 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 15 bytes 00000021 -> 000000 6F 0F 00 00 00 00 0C 00 00 00 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00374649 <- 000000 80 00 00 00 00 00 0C 00 FE 00
00000075 SW:
00000017 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2 00000015 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14 00000188 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14 00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000014 winscard.c:1225:SCardEndTransaction() Status: 0x00000000 00000010 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2 00000011 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14 00006759 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14 00000066 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000016 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000 00000011 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2 00000012 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14 00000075 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14 00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000012 winscard.c:1587:SCardTransmit() Send Protocol: T=1 00000018 APDU: 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00000015 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000068 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 15 bytes 00000025 -> 000000 6F 0F 00 00 00 00 0D 00 00 00 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00408625 <- 000000 80 00 00 00 00 00 0D 00 FE 00
00000075 SW:
00000017 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2 00000015 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14 00000264 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14 00000036 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000014 winscard.c:1225:SCardEndTransaction() Status: 0x00000000 00000010 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2 00000011 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14 00008024 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14 00000134 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000018 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000 00000011 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2 00000013 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14 00000082 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14 00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000012 winscard.c:1587:SCardTransmit() Send Protocol: T=1 00000013 APDU: 00 C0 00 00 00
00000016 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000012 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 5 bytes 00000018 -> 000000 6F 05 00 00 00 00 0E 00 00 00 00 C0 00 00 00
00386841 <- 000000 80 00 00 00 00 00 0E 00 FE 00
00000041 SW:
00000009 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2 00000008 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14 00000139 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14 00000017 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000007 winscard.c:1225:SCardEndTransaction() Status: 0x00000000 00000020 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2 00000006 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14 00008987 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from client 14 00000029 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1 00000006 winscard.c:850:SCardDisconnect() Active Contexts: 1 00000006 winscard.c:851:SCardDisconnect() dwDisposition: 1 00000009 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000009 -> 000000 65 00 00 00 00 00 0F 00 00 00
00035121 <- 000000 81 00 00 00 00 00 0F 00 81 00
00000210 ifdhandler.c:2558:IFDHICCPresence() Card present 00000027 ifdhandler.c:1307:IFDHPowerICC() action: Reset, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000017 -> 000000 62 00 00 00 00 00 10 01 00 00
00005885 <- 000000 80 11 00 00 00 00 10 00 81 00 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000046 winscard.c:917:SCardDisconnect() Reset complete. 00000018 Card ATR: 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000015 winscard.c:1016:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD 00000013 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB2, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000010 winscard.c:1030:SCardDisconnect() Stopping polling thread 00000011 ifdhandler.c:398:IFDHStopPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000656 ccid_usb.c:1695:InterruptRead() after (0) (3) 00000042 ccid_usb.c:1738:InterruptRead() InterruptRead (1/8): Resource temporarily unavailable 00000023 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2 00000016 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 14 00000240 winscard_svc.c:319:ContextThread() Received command: RELEASE_CONTEXT from client 14 00000032 winscard.c:204:SCardReleaseContext() Releasing Context: 0x1640AF55 00000015 winscard_svc.c:427:ContextThread() RELEASE_CONTEXT rv=0x0 for client 14 00001612 winscard_svc.c:311:ContextThread() Client die: 14 00000053 winscard_svc.c:933:MSGCleanupClient() Thread is stopping: dwClientID=14, threadContext @0x812d60 00000012 winscard_svc.c:939:MSGCleanupClient() Freeing SCONTEXT @0x812d60 00398080 eventhandler.c:467:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 00000040 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000009 -> 000000 65 00 00 00 00 00 11 00 00 00
00013198 <- 000000 81 00 00 00 00 00 11 00 81 00
00000025 ifdhandler.c:2558:IFDHICCPresence() Card present 00000007 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 5000 ms 00000005 ccid_usb.c:1651:InterruptRead() before (0) 02320956 ccid_usb.c:1695:InterruptRead() after (0) (0) 00000088 NotifySlotChange: 50 02
00000015 ccid_usb.c:1725:InterruptRead() 1/8: Slot 0: 0x02 00000011 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000009 -> 000000 65 00 00 00 00 00 12 00 00 00
00043667 <- 000000 81 00 00 00 00 00 12 02 81 00
00000036 ifdhandler.c:2558:IFDHICCPresence() Card absent 00000006 eventhandler.c:455:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED 00000006 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000005 -> 000000 65 00 00 00 00 00 13 00 00 00
00005937 <- 000000 81 00 00 00 00 00 13 02 81 00
00000031 ifdhandler.c:2558:IFDHICCPresence() Card absent 00000005 eventhandler.c:335:EHStatusHandlerThread() Card Removed From ACS ACR122U 00 00 00000007 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 600000 ms 00000005 ccid_usb.c:1651:InterruptRead() before (0) 02858453 pcscdaemon.c:726:signal_trap() Received signal: 2 00000041 pcscdaemon.c:745:signal_trap() Preparing for suicide 01000107 readerfactory.c:1273:RFCleanupReaders() entering cleaning function 00000044 readerfactory.c:1282:RFCleanupReaders() Stopping reader: ACS ACR122U 00 00 00000029 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1 00000008 eventhandler.c:156:EHDestroyEventHandler() Stomping thread. 00000022 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB1, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000007 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB2, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000005 eventhandler.c:181:EHDestroyEventHandler() Request stopping of polling thread 00000006 ifdhandler.c:398:IFDHStopPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00019624 ccid_usb.c:1695:InterruptRead() after (0) (3) 00000042 ccid_usb.c:1738:InterruptRead() InterruptRead (1/8): Resource temporarily unavailable 00401255 eventhandler.c:478:EHStatusHandlerThread() Die 00000248 eventhandler.c:196:EHDestroyEventHandler() Thread stomped. 00000028 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of ACS ACR122U 00 00. 00000025 ifdhandler.c:324:IFDHCloseChannel() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 00000018 -> 000000 63 00 00 00 00 00 14 00 00 00
00023966 <- 000000 81 00 00 00 00 00 14 02 81 00
00000079 ccid_usb.c:1244:CloseUSB() Closing USB device: 1/8 00000014 ccid_usb.c:1254:CloseUSB() Last slot closed. Release resources 00000539 ccid_usb.c:214:close_libusb_if_needed() libusb_exit 00000359 readerfactory.c:911:RFUnloadReader() Unloading reader driver. 00000154 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0 00000016 pcscdaemon.c:670:at_exit() cleaning /var/run/pcscd From: William Roberts [via OpenSC] [mailto:ml-node+[hidden email]]
What applet is loaded onto it? Someone needs to issue a select with the AID, and based on your logs it looks like that never happened. OpenSC seems to keep going if ATRs arn't matched (which is my case) and tries the installed card drivers
untill a select returns 90 00. Did you see any APDU query?
If you reply to this email, your message will be added to the discussion below: To unsubscribe from Seeking recommendation of any NFC compliant smart card reader,
click here. |
Use libnfc to read NDEF, not opensc. On Feb 11, 2015 1:32 PM, "Linda Yu" <[hidden email]> wrote:
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
You meant I can’t use opensc to read raw bytes at all? From: William Roberts [via OpenSC] [mailto:ml-node+[hidden email]]
Use libnfc to read NDEF, not opensc. On Feb 11, 2015 1:32 PM, "Linda Yu" <[hidden email]> wrote: TI’s NFC tag has “hello world” message saved as NDEF format on its SRAM. My smart phone can read
“hello word” back. I turned on debugging and got the following info: $
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug –apdu > log.txt 2>&1
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00003821 debuglog.c:298:DebugLogSetCategory() Debug options: APDU
00000190 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000045 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
00000017 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000068 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
00000012 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
00041089 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000128 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000072 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x80EE, PID: 0x0021, path: /dev/bus/usb/001/002
00000064 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000068 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x072F, PID: 0x2200, path: /dev/bus/usb/001/008
00000017 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x072F, PID: 0x2200, path: /dev/bus/usb/001/008
00000005 hotplug_libudev.c:321:HPAddDevice() Adding USB device: ACS ACR122U
00000027 readerfactory.c:989:RFInitializeReader() Attempting startup of ACS ACR122U 00 00 using /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
00000210 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
00000027 ifdhandler.c:2577:init_driver() Driver version: 1.1.0
00000188 ifdhandler.c:2594:init_driver() LogLevel: 0x0003
00000006 ifdhandler.c:2605:init_driver() DriverOptions: 0x0000
00000005 ifdhandler.c:2613:init_driver() ACSDriverOptions: 0x0003
00000004 ifdhandler.c:2621:init_driver() ACR38CardVoltage: 0
00000005 ifdhandler.c:2629:init_driver() ACR38CardType: 0
00000022 ifdhandler.c:2642:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000007 ifdhandler.c:104:CreateChannelByNameOrChannel() Lun: 0, device: usb:072f/2200:libudev:0:/dev/bus/usb/001/008
00000014 ccid_usb.c:259:OpenUSBByName() Reader index: 0, Device: usb:072f/2200:libudev:0:/dev/bus/usb/001/008
00000016 ccid_usb.c:291:OpenUSBByName() interface_number: 0
00000004 ccid_usb.c:307:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
00000193 ccid_usb.c:325:OpenUSBByName() ifdManufacturerString: Advanced Card Systems Ltd.
00000007 ccid_usb.c:326:OpenUSBByName() ifdProductString: ACS CCID driver
00000004 ccid_usb.c:327:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00000732 ccid_usb.c:469:OpenUSBByName() Checking device: 1/8
00000011 ccid_usb.c:574:OpenUSBByName() Trying to open USB bus/device: 1/8
00064919 ccid_usb.c:687:OpenUSBByName() Found Vendor/Product: 072F/2200 (ACS ACR122U)
00000159 ccid_usb.c:689:OpenUSBByName() Using USB bus/device: 1/8
00000031 ccid_usb.c:851:OpenUSBByName() bNumDataRatesSupported is 0
00010757 -> 000000 63 00 00 00 00 00 00 00 00 00
00008684 <- 000000 81 00 00 00 00 00 00 02 81 00
01000439 ccid_usb.c:1651:InterruptRead() before (0)
00109692 ccid_usb.c:1695:InterruptRead() after (0) (2)
00000037 -> 000000 65 00 00 00 00 00 01 00 00 00
00024661 <- 000000 81 00 00 00 00 00 01 02 81 00
00000036 -> 000000 65 00 00 00 00 00 02 00 00 00
00005921 <- 000000 81 00 00 00 00 00 02 02 81 00
00000030 ifdhandler.c:244:CreateChannelByNameOrChannel() dwFeatures: 0x00020040
00000006 ifdhandler.c:245:CreateChannelByNameOrChannel() wLcdLayout: 0x0000
00000004 ifdhandler.c:246:CreateChannelByNameOrChannel() bPINSupport: 0x00
00000004 ifdhandler.c:247:CreateChannelByNameOrChannel() dwMaxCCIDMessageLength: 271
00000003 ifdhandler.c:248:CreateChannelByNameOrChannel() dwMaxIFSD: 256
00000004 ifdhandler.c:249:CreateChannelByNameOrChannel() dwDefaultClock: 4000
00000004 ifdhandler.c:250:CreateChannelByNameOrChannel() dwMaxDataRate: 250000
00000004 ifdhandler.c:251:CreateChannelByNameOrChannel() bMaxSlotIndex: 0
00000015 ifdhandler.c:252:CreateChannelByNameOrChannel() bCurrentSlotIndex: 0
00000004 ifdhandler.c:253:CreateChannelByNameOrChannel() bInterfaceProtocol: 0x00
00000004 ifdhandler.c:254:CreateChannelByNameOrChannel() bNumEndpoints: 3
00000004 ifdhandler.c:255:CreateChannelByNameOrChannel() bVoltageSupport: 0x07
00000007 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB3, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000005 readerfactory.c:332:RFAddReader() Using the reader polling thread
00000007 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000005 -> 000000 65 00 00 00 00 00 03 00 00 00
00006114 <- 000000 81 00 00 00 00 00 03 02 81 00
00000036 ifdhandler.c:2558:IFDHICCPresence() Card absent
00000148 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFAE, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000020 ifdhandler.c:530:IFDHGetCapabilities() Reader supports 1 slot(s)
00000068 readerfactory.c:1330:RFWaitForReaderInit() Waiting init for reader: ACS ACR122U 00 00
00000209 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000022 -> 000000 65 00 00 00 00 00 04 00 00 00
00005446 <- 000000 81 00 00 00 00 00 04 02 81 00
00000031 ifdhandler.c:2558:IFDHICCPresence() Card absent
00000012 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000011 -> 000000 65 00 00 00 00 00 05 00 00 00
00005964 <- 000000 81 00 00 00 00 00 05 02 81 00
00000089 ifdhandler.c:2558:IFDHICCPresence() Card absent
00000015 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 600000 ms
00000011 ccid_usb.c:1651:InterruptRead() before (0)
34252220 ccid_usb.c:1695:InterruptRead() after (0) (0)
00000040 NotifySlotChange: 50 03
00000007 ccid_usb.c:1725:InterruptRead() 1/8: Slot 0: 0x00
00000007 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000007 -> 000000 65 00 00 00 00 00 06 00 00 00
00044394 <- 000000 81 00 00 00 00 00 06 00 81 00
00000073 ifdhandler.c:2558:IFDHICCPresence() Card present
00000019 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000016 -> 000000 65 00 00 00 00 00 07 00 00 00
00006182 <- 000000 81 00 00 00 00 00 07 00 81 00
00000069 ifdhandler.c:2558:IFDHICCPresence() Card present
00000018 ifdhandler.c:1307:IFDHPowerICC() action: PowerUp, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000071 -> 000000 62 00 00 00 00 00 08 01 00 00
00005839 <- 000000 80 11 00 00 00 00 08 00 81 00 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000110 eventhandler.c:381:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000010 eventhandler.c:396:EHStatusHandlerThread() Card inserted into ACS ACR122U 00 00
00000010 Card ATR: 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000007 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 5000 ms
00000007 ccid_usb.c:1651:InterruptRead() before (0)
01977709 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000042 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 14
00000009 pcscdaemon.c:111:SVCServiceRunLoop() A new context thread creation is requested: 14
00000062 winscard_svc.c:301:ContextThread() Thread is started: dwClientID=14, threadContext @0x812d60
00000192 winscard_svc.c:319:ContextThread() Received command: CMD_VERSION from client 14
00000045 winscard_svc.c:331:ContextThread() Client is protocol version 4:3
00000012 winscard_svc.c:351:ContextThread() CMD_VERSION rv=0x0 for client 14
00000050 winscard_svc.c:319:ContextThread() Received command: ESTABLISH_CONTEXT from client 14
00000031 winscard.c:193:SCardEstablishContext() Establishing Context: 0x1640AF55
00000007 winscard_svc.c:412:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 14
00000038 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000031 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000054 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000038 winscard_svc.c:319:ContextThread() Received command: CONNECT from client 14
00000023 winscard.c:235:SCardConnect() Attempting Connect to ACS ACR122U 00 00 using protocol: 3
00000008 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1
00000005 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE
00000010 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1
00000008 ifdhandler.c:762:IFDHSetProtocolParameters() protocol T=1, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000006 ifdhandler.c:776:IFDHSetProtocolParameters() Timeout: 3000 ms
00000005 winscard.c:409:SCardConnect() Active Protocol: T=1
00000006 winscard.c:429:SCardConnect() hCard Identity: 2848abd3
00000121 winscard.c:490:SCardConnect() UnrefReader() count was: 2
00000011 winscard_svc.c:453:ContextThread() CONNECT rv=0x0 for client 14
00000045 winscard_svc.c:319:ContextThread() Received command: CONTROL from client 14
00000022 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000010 ifdhandler.c:1737:IFDHControl() ControlCode: 0x42000D48, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000005 Control TxBuffer:
00000008 Control RxBuffer: 12 04 42 33 00 12 13 04 42 00 0D AC
00000006 winscard.c:1350:SCardControl() UnrefReader() count was: 2
00000005 winscard_svc.c:652:ContextThread() CONTROL rv=0x0 for client 14
00000035 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from client 14
00000019 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000007 winscard.c:850:SCardDisconnect() Active Contexts: 1
00000005 winscard.c:851:SCardDisconnect() dwDisposition: 0
00000006 winscard.c:1016:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
00000006 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB2, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000005 winscard.c:1030:SCardDisconnect() Stopping polling thread
00000006 ifdhandler.c:398:IFDHStopPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00016303 ccid_usb.c:1695:InterruptRead() after (0) (3)
00000067 ccid_usb.c:1738:InterruptRead() InterruptRead (1/8): Resource temporarily unavailable
00000018 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2
00000011 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 14
00001747 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000064 winscard_svc.c:319:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 14
00000051 winscard_svc.c:319:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 14
00000021 winscard_svc.c:393:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 14
00000024 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000268 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000035 winscard_svc.c:319:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 14
00000072 winscard_svc.c:319:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 14
00000025 winscard_svc.c:393:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 14
00000024 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000045 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000355 winscard_svc.c:319:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 14
00000047 winscard_svc.c:319:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 14
00000020 winscard_svc.c:393:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 14
00000023 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000028 winscard_svc.c:319:ContextThread() Received command: CONNECT from client 14
00000020 winscard.c:235:SCardConnect() Attempting Connect to ACS ACR122U 00 00 using protocol: 3
00000020 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1
00000007 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE
00000006 winscard.c:409:SCardConnect() Active Protocol: T=1
00000007 winscard.c:429:SCardConnect() hCard Identity: 15bcad7a
00000006 winscard.c:490:SCardConnect() UnrefReader() count was: 2
00000007 winscard_svc.c:453:ContextThread() CONNECT rv=0x0 for client 14
00000320 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14
00000228 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000011 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000
00000006 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2
00000006 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14
00000062 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14
00000224 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000013 winscard.c:1587:SCardTransmit() Send Protocol: T=1
00000008 APDU: 00 CA DF 30 05
00000012 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000011 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 5 bytes
00000009 -> 000000 6F 05 00 00 00 00 09 00 00 00 00 CA DF 30 05
00371840 <- 000000 80 00 00 00 00 00 09 00 FE 00
00000038 SW:
00000009 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
00000007 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14
00000141 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14
00000018 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000007 winscard.c:1225:SCardEndTransaction() Status: 0x00000000
00000004 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2
00000006 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14
00009356 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14
00000040 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000008 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000
00000005 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2
00000028 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14
00000054 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14
00000013 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000006 winscard.c:1587:SCardTransmit() Send Protocol: T=1
00000008 APDU: 00 A4 04 00 05 A0 00 00 00 01
00000007 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000006 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 10 bytes
00000009 -> 000000 6F 0A 00 00 00 00 0A 00 00 00 00 A4 04 00 05 A0 00 00 00 01
00406102 <- 000000 80 00 00 00 00 00 0A 00 FE 00
00000092 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000021 -> 000000 65 00 00 00 00 00 0B 00 00 00
00000085 SW:
00000019 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
00000014 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14
00000315 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14
00000038 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000013 winscard.c:1225:SCardEndTransaction() Status: 0x00000000
00000010 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2
00000011 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14
00005162 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14
00000074 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000017 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000
00000010 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2
00000012 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14
00000077 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14
00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000037 winscard.c:1587:SCardTransmit() Send Protocol: T=1
00000018 APDU: 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00037734 <- 000000 81 00 00 00 00 00 0B 00 81 00
00000222 ifdhandler.c:2558:IFDHICCPresence() Card present
00000038 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 600000 ms
00000015 ccid_usb.c:1651:InterruptRead() before (0)
00000053 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000016 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 15 bytes
00000021 -> 000000 6F 0F 00 00 00 00 0C 00 00 00 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00374649 <- 000000 80 00 00 00 00 00 0C 00 FE 00
00000075 SW:
00000017 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
00000015 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14
00000188 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14
00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000014 winscard.c:1225:SCardEndTransaction() Status: 0x00000000
00000010 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2
00000011 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14
00006759 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14
00000066 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000016 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000
00000011 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2
00000012 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14
00000075 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14
00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000012 winscard.c:1587:SCardTransmit() Send Protocol: T=1
00000018 APDU: 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00000015 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000068 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 15 bytes
00000025 -> 000000 6F 0F 00 00 00 00 0D 00 00 00 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
00408625 <- 000000 80 00 00 00 00 00 0D 00 FE 00
00000075 SW:
00000017 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
00000015 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14
00000264 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14
00000036 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000014 winscard.c:1225:SCardEndTransaction() Status: 0x00000000
00000010 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2
00000011 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14
00008024 winscard_svc.c:319:ContextThread() Received command: BEGIN_TRANSACTION from client 14
00000134 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000018 winscard.c:1082:SCardBeginTransaction() Status: 0x00000000
00000011 winscard.c:1085:SCardBeginTransaction() UnrefReader() count was: 2
00000013 winscard_svc.c:505:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 14
00000082 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from client 14
00000028 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000012 winscard.c:1587:SCardTransmit() Send Protocol: T=1
00000013 APDU: 00 C0 00 00 00
00000016 ifdhandler.c:1536:IFDHTransmitToICC() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000012 commands.c:1753:CmdXfrBlockTPDU_T0() T=0: 5 bytes
00000018 -> 000000 6F 05 00 00 00 00 0E 00 00 00 00 C0 00 00 00
00386841 <- 000000 80 00 00 00 00 00 0E 00 FE 00
00000041 SW:
00000009 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
00000008 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 14
00000139 winscard_svc.c:319:ContextThread() Received command: END_TRANSACTION from client 14
00000017 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000007 winscard.c:1225:SCardEndTransaction() Status: 0x00000000
00000020 winscard.c:1228:SCardEndTransaction() UnrefReader() count was: 2
00000006 winscard_svc.c:521:ContextThread() END_TRANSACTION rv=0x0 for client 14
00008987 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from client 14
00000029 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
00000006 winscard.c:850:SCardDisconnect() Active Contexts: 1
00000006 winscard.c:851:SCardDisconnect() dwDisposition: 1
00000009 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000009 -> 000000 65 00 00 00 00 00 0F 00 00 00
00035121 <- 000000 81 00 00 00 00 00 0F 00 81 00
00000210 ifdhandler.c:2558:IFDHICCPresence() Card present
00000027 ifdhandler.c:1307:IFDHPowerICC() action: Reset, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000017 -> 000000 62 00 00 00 00 00 10 01 00 00
00005885 <- 000000 80 11 00 00 00 00 10 00 81 00 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000046 winscard.c:917:SCardDisconnect() Reset complete.
00000018 Card ATR: 3B 8C 80 01 50 77 3B 2D BD 00 00 00 11 00 81 85 94
00000015 winscard.c:1016:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
00000013 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB2, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000010 winscard.c:1030:SCardDisconnect() Stopping polling thread
00000011 ifdhandler.c:398:IFDHStopPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000656 ccid_usb.c:1695:InterruptRead() after (0) (3)
00000042 ccid_usb.c:1738:InterruptRead() InterruptRead (1/8): Resource temporarily unavailable
00000023 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2
00000016 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 14
00000240 winscard_svc.c:319:ContextThread() Received command: RELEASE_CONTEXT from client 14
00000032 winscard.c:204:SCardReleaseContext() Releasing Context: 0x1640AF55
00000015 winscard_svc.c:427:ContextThread() RELEASE_CONTEXT rv=0x0 for client 14
00001612 winscard_svc.c:311:ContextThread() Client die: 14
00000053 winscard_svc.c:933:MSGCleanupClient() Thread is stopping: dwClientID=14, threadContext @0x812d60
00000012 winscard_svc.c:939:MSGCleanupClient() Freeing SCONTEXT @0x812d60
00398080 eventhandler.c:467:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000040 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000009 -> 000000 65 00 00 00 00 00 11 00 00 00
00013198 <- 000000 81 00 00 00 00 00 11 00 81 00
00000025 ifdhandler.c:2558:IFDHICCPresence() Card present
00000007 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 5000 ms
00000005 ccid_usb.c:1651:InterruptRead() before (0)
02320956 ccid_usb.c:1695:InterruptRead() after (0) (0)
00000088 NotifySlotChange: 50 02
00000015 ccid_usb.c:1725:InterruptRead() 1/8: Slot 0: 0x02
00000011 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000009 -> 000000 65 00 00 00 00 00 12 00 00 00
00043667 <- 000000 81 00 00 00 00 00 12 02 81 00
00000036 ifdhandler.c:2558:IFDHICCPresence() Card absent
00000006 eventhandler.c:455:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
00000006 ifdhandler.c:2348:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000005 -> 000000 65 00 00 00 00 00 13 00 00 00
00005937 <- 000000 81 00 00 00 00 00 13 02 81 00
00000031 ifdhandler.c:2558:IFDHICCPresence() Card absent
00000005 eventhandler.c:335:EHStatusHandlerThread() Card Removed From ACS ACR122U 00 00
00000007 ifdhandler.c:362:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0) 600000 ms
00000005 ccid_usb.c:1651:InterruptRead() before (0)
02858453 pcscdaemon.c:726:signal_trap() Received signal: 2
00000041 pcscdaemon.c:745:signal_trap() Preparing for suicide
01000107 readerfactory.c:1273:RFCleanupReaders() entering cleaning function
00000044 readerfactory.c:1282:RFCleanupReaders() Stopping reader: ACS ACR122U 00 00
00000029 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
00000008 eventhandler.c:156:EHDestroyEventHandler() Stomping thread.
00000022 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB1, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000007 ifdhandler.c:433:IFDHGetCapabilities() tag: 0xFB2, usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000005 eventhandler.c:181:EHDestroyEventHandler() Request stopping of polling thread
00000006 ifdhandler.c:398:IFDHStopPolling() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00019624 ccid_usb.c:1695:InterruptRead() after (0) (3)
00000042 ccid_usb.c:1738:InterruptRead() InterruptRead (1/8): Resource temporarily unavailable
00401255 eventhandler.c:478:EHStatusHandlerThread() Die
00000248 eventhandler.c:196:EHDestroyEventHandler() Thread stomped.
00000028 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of ACS ACR122U 00 00.
00000025 ifdhandler.c:324:IFDHCloseChannel() usb:072f/2200:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000018 -> 000000 63 00 00 00 00 00 14 00 00 00
00023966 <- 000000 81 00 00 00 00 00 14 02 81 00
00000079 ccid_usb.c:1244:CloseUSB() Closing USB device: 1/8
00000014 ccid_usb.c:1254:CloseUSB() Last slot closed. Release resources
00000539 ccid_usb.c:214:close_libusb_if_needed() libusb_exit
00000359 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
00000154 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0
00000016 pcscdaemon.c:670:at_exit() cleaning /var/run/pcscd From: William Roberts [via OpenSC]
[mailto:[hidden email][hidden email]]
What applet is loaded onto it? Someone needs to issue a select with the AID, and based on your logs it looks like that never happened. OpenSC seems to keep going if ATRs arn't matched
(which is my case) and tries the installed card drivers untill a select returns 90 00. Did you see any APDU query?
If you reply to this email, your message will be added to the discussion below:
To unsubscribe from Seeking recommendation of any NFC compliant smart card reader, click here. View this message in context:
RE: Seeking recommendation of any NFC compliant smart card reader
If you reply to this email, your message will be added to the discussion below: To unsubscribe from Seeking recommendation of any NFC compliant smart card reader,
click here. |
On Wed, Feb 11, 2015 at 2:18 PM, Linda Yu <[hidden email]> wrote:
I am no NFC expert so let me attempt, a poor explination. OpenSC is really meant for establishing commuications with applets on a smart card. The transport, in essence is irrelevant. Their are 2 parts to any smart card system, a card driver that knows how to talk apdu's to the applet on the card, and the reader driver which knows how to deliver those apdus. For instance, in this email, our card driver is english, and our transport is email. In the actual world, your applet might be OpenPGP and your transport might be physical. What the ACR122u does, is provide a CCID USB interface reader. Thus, it follows a standard where PC's see it as a smart card reader device, and things like OpenSC can use it to send the apdu's generated by their card driver. NDEF tags, are essentially a seperate thing. The protocol on which they work I am not familiar with. However, its different then smart cards in that you dont send apdu's and have all this abstraction. You usually just read and right simple ndef tags with libnfc directly. However, you can't really implement logic in an ndef tag, as their just simple storage objects, where as smart cards are actually running applets, and code, and thus are more of an active rather than passive entity.
Respectfully,
William C Roberts ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/opensc-devel |
Free forum by Nabble | Edit this page |