apdu

Android application to mimic a physical RFID card

♀尐吖头ヾ 提交于 2019-12-03 03:43:38
问题 Is it possible for an Android application to send a previously stored RFID card ID to a NFC reader? The aim would be to use an Android device to enable access to a room instead of a physical RFID card. Having read a lot of other threads about NFC/RFID & card-emulation, I came to the conclusion it was not available for now in Android but I'm still kinda confused if it apply to this particular case. Can't the application simply send the card ID within a NDEF message or an APDU command or I'm

How to get AID for reader Host based card emulation

拥有回忆 提交于 2019-12-03 00:23:13
I'm trying to do Host card emulation on an Android device using this example using ACR1281U NFC tag reader. This is the kind of application I want to make. As per the Android documentation and the example, it is required to register an AID in the Android project: <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" android:description="@string/servicedesc" android:requireDeviceUnlock="false"> <aid-group android:description="@string/aiddescription" android:category="other"> <aid-filter android:name="F0010203040506"/> <aid-filter android:name="F0394148148100"/> </aid

What does “Security condition not satisfied” response APDU mean?

北慕城南 提交于 2019-12-02 20:32:01
问题 I am playing with my NFC card with Android NFC API. I am stuck at this APDU response: Security condition not satisfied (SW1=69, SW2=82). Can anyone explain to me what this response means? Here is a related issue: 69 82Security condition not satisfied ADPU resposne with android NFC 回答1: The status word 69 82 ("Security status not satisfied") typically means that your current authentication state is insufficient to access a certain resource on the card. E.g. if you get that in response to an

Android application to mimic a physical RFID card

ぐ巨炮叔叔 提交于 2019-12-02 17:10:52
Is it possible for an Android application to send a previously stored RFID card ID to a NFC reader? The aim would be to use an Android device to enable access to a room instead of a physical RFID card. Having read a lot of other threads about NFC/RFID & card-emulation, I came to the conclusion it was not available for now in Android but I'm still kinda confused if it apply to this particular case. Can't the application simply send the card ID within a NDEF message or an APDU command or I'm just completely dreaming? Well, strictly speaking. For what you want to do you don't need card emulation.

Sending APDU with winscard.dll (PC/SC) without a smart card connected

爷,独闯天下 提交于 2019-12-02 16:04:45
问题 I'm trying to send APDU commands to the card reader itself instead of the Smart Card. The test command I'm using turns the RF field on and off. This commands sends over SCardTransmit if I first connected to a smart card. But as soon as the RF field is off, the card disconnects and I cant send another APDU to turn the field on. Basically is there any way to send APDU's over pc/sc without a card present. I want to configure certain parts of the reader before reading a card. Thanks in advance. -

Difference between verification and authentication?

有些话、适合烂在心里 提交于 2019-12-02 10:27:10
问题 As you know, we prove to the card that we are the authentic user, via INITIAL UPDATE and EXTERNAL AUTHENTICATION commands, as follow : < 80 50 00 00 08 | Host Challenge > ... < 84 82 03 00 10 | Host Cryptogram | MAK > ... I want to know, what is the differece between this authentication process and the VERIFYING process with CLA 20 P1 P2 Lc Data Le APDU? All cards support both? or each card use one of this mechanism? Update: As you see, I upload and install my applet on the card successfully

Sending APDU with winscard.dll (PC/SC) without a smart card connected

徘徊边缘 提交于 2019-12-02 09:25:12
I'm trying to send APDU commands to the card reader itself instead of the Smart Card. The test command I'm using turns the RF field on and off. This commands sends over SCardTransmit if I first connected to a smart card. But as soon as the RF field is off, the card disconnects and I cant send another APDU to turn the field on. Basically is there any way to send APDU's over pc/sc without a card present. I want to configure certain parts of the reader before reading a card. Thanks in advance. -----Edit----- As FPGA Warrior mentioned I need to use SCardControl to send APDU commands to the card

Difference between verification and authentication?

£可爱£侵袭症+ 提交于 2019-12-02 06:36:28
As you know, we prove to the card that we are the authentic user, via INITIAL UPDATE and EXTERNAL AUTHENTICATION commands, as follow : < 80 50 00 00 08 | Host Challenge > ... < 84 82 03 00 10 | Host Cryptogram | MAK > ... I want to know, what is the differece between this authentication process and the VERIFYING process with CLA 20 P1 P2 Lc Data Le APDU? All cards support both? or each card use one of this mechanism? Update: As you see, I upload and install my applet on the card successfully , [Without using Verification]! So why I need verificatin : C:\Users\ghasemi\Desktop\gpj-20120310>gpj

Upload a .cap file on Smart Card?

孤街醉人 提交于 2019-12-02 06:25:14
问题 I have a fresh card with the below code as its ATR. 3B 68 00 00 00 73 C8 40 12 00 90 00 I searched this ATR in google and finally I know this is a "Brazilian e-CPF card". the question is how I can use this card? I mean what APDUs for example it supports? is there any datasheet for it? is it a javacard? [if yes] how I can upload a .cap file in it? is there any default key for it? and a lot of this kind of questions. the mainly question is that : what kind of data I can gain from an ATR? btw I

Upload a .cap file on Smart Card?

自作多情 提交于 2019-12-02 01:12:18
I have a fresh card with the below code as its ATR. 3B 68 00 00 00 73 C8 40 12 00 90 00 I searched this ATR in google and finally I know this is a "Brazilian e-CPF card". the question is how I can use this card? I mean what APDUs for example it supports? is there any datasheet for it? is it a javacard? [if yes] how I can upload a .cap file in it? is there any default key for it? and a lot of this kind of questions. the mainly question is that : what kind of data I can gain from an ATR? btw I use ACR38 SmartCard reader. and I create a .cap javacard program in Eclipse. Next Question: I use GPJ