Closed riseansmal closed 1 year ago
Hi @therealri,
you are right, I haven't noticed it. Thank you.
I prepared the desfire example, when I was helping somebody with debugging issues with implementing DESFire authentication protocol.
Working with a Mifare DESFire card is a bit tricky, because DESFire cards' protocol and technical documentation are under NDA meaning that they are not publicly accessible on the Internet. 😄
It looks, that there is a problem with the read command (which is ok, it would be worse, if there was a problem with authentication 😄). Probably the file doesn't exist or something similar.
We need to take a look into documentation and fix the example according to it. Currently, I am too busy to do it right now.
Could you take a look at it? I would highly appreciate it.
PS I don't know your usecase, but it is always good to choose card type according to it. Sou if you don't need the complexity of DESFire cards (which are more expensive btw), Mifare Classic could be OK. I will look into it, right now. I am available for chat here https://discord.gg/bg3yazg.
Hope it helps.
Hi @pokusew In your example, you try to read files stored in the Master app. I'm not sure you can create files on 0x000000 AID (maybe I'm wrong), and not sure that is a good practice to do so :).
I made a PR with the addition of the method GetApplicationIDs onIDs https://github.com/pokusew/nfc-pcsc/pull/35 It's just a draft, so tell me.
Hey @pokusew,
I've noticed the DESFire example doesn't work with a Blank Card. Is there something I am missing? I am currently looking into this option instead of using Mifare Classic.
Thanks again!