apdu

Set own authentication keys MiFare Classic with APDU C#

社会主义新天地 提交于 2019-11-27 16:56:10
问题 I'm using the SMARTCARD API from CardWerk. How can I change the default key ( (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF ) using an APDU? The APDU consits of a CLASS, an INSTRUCTION, P1, P2. I have been reading documentation but I'm unable to find what parameters do I need to change the actual key to a new one. 回答1: The process for changing the keys of a MIFARE Classic card is like this: Authenticate to the secor for which you want to change the key. Read the

Card emulation via software NFC

你。 提交于 2019-11-27 15:33:20
问题 After reading a lot of questions, i decided to post this one. I read that stock version of android does not support API's for card emulation. Also, we cannot write custom applications to secure element embedded in nfc controllers due to keys managed by google/samsung. I need to emulate a card (mifare or desfire etc). The option i can see is doing it via software. I have a ACR122U reader and i've tested that NFC P2P mode works fine with the Nexus-S that i have. 1) I came across a site that

Android NFC : Tag lost when APDU command sent to a smart card

一笑奈何 提交于 2019-11-27 13:16:22
问题 I am doing an EMV application on Android OS (Samsung Galaxy). I am able to send several APDU commands without problem but when I am trying to send the internal authentication command. I have this error : Tag lost. Have you got any idea concerning the purpose of this error ? I am not an experimented developer on Android, It may I have forgotten some stuff. the command is correct. I can replace by another command, it works (I mean I can recover a response). In which cases a NFC communication

Getting Parser error on request for GPO command for EMV card

天涯浪子 提交于 2019-11-27 09:50:00
I have some issues with the GET PROCESSING OPTIONS (GPO) command for a VISA card. Following is my response to the SELECT command for the VISA application: 6F408407A0000000031010A535500A564953412044454249549F380C9F66049F02069F37049F1A025F2D02656EBF0C1242034761735F550255539F5A0511084008409000 I extracted the following PDOL from this: 9F66049F02069F37049F1A02 I'm not sure about tag 9F66 . My GPO command then looks like this: 80a800000100000001000000001000823DDE7A12400 But I get a parser error as response: 6A80 Your GPO command seems to have quite a lot of issues: 80 A8 0000 01 00000001

APDU command to get smart card uid

别等时光非礼了梦想. 提交于 2019-11-27 02:49:32
问题 i am looking for APDU to find UID of contact less ISO 14443 smart card and how to use it to print in Linux terminal. Problem is that i found many people talking about it, but there is no solution. Can anyone help is this regard??? Thanks 回答1: See the other answer, it is likely that most readers do support the pass through to the card reader by now. Nobody can help as the UID is specified in the ISO 14443 T=CL transport protocol while APDU's are specified in the ISO 7816 application layer

Android NFC communication with Mifare DESFire EV1

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 02:27:00
问题 Using a Nexus 4 and the latest Android API level 18 to communicate with a Mifare DESFire EV1 AES tag is giving me a headache. Following the NXP native protocol in order to write and read this type of tag, these steps must be followed: Select application Authenticate Write or Read To do it so, I use Android's IsoDep class which provides access to ISO 14443-4 properties and I/O operations. The very weird thing about it is that once I send the select application native command I get an

Getting Parser error on request for GPO command for EMV card

≯℡__Kan透↙ 提交于 2019-11-26 17:52:25
问题 I have some issues with the GET PROCESSING OPTIONS (GPO) command for a VISA card. Following is my response to the SELECT command for the VISA application: 6F408407A0000000031010A535500A564953412044454249549F380C9F66049F02069F37049F1A025F2D02656EBF0C1242034761735F550255539F5A0511084008409000 I extracted the following PDOL from this: 9F66049F02069F37049F1A02 I'm not sure about tag 9F66 . My GPO command then looks like this: 80a800000100000001000000001000823DDE7A12400 But I get a parser error as