796 questions
0
votes
0
answers
20
views
How to get ARA-M rules (e.g. list SHA-1 hashes of allowed apps) of an eUICC?
I have found online that the AID of ARA-M is A00000015141434C00, however trying to select it fails on my Thales eUICC card. Is the ARA-M AID for eUICC different from that of usual UICC?
Here are APDU ...
0
votes
1
answer
29
views
How to know if a SCard includes extra digit in hexa or not?
I have to read ICCID from cards and compare them if they are included in a shipment or not.
I get a list of ICCID which should be includet in the shippment to sort out wrong cards.
Now as I tested ...
1
vote
2
answers
69
views
SCardTransmit returns 87 (0x57), don't know what's wrong. SCardTransmit works with SELECT and READ RECORD
Trying to send GPO with a ACR39U card reader fails with an error code of 87 (0x57), INVALID_PARAMETERS, works with other card readers. It's also working with the SELECT and READ RECORD.
Here's my APDU ...
0
votes
3
answers
54
views
6D00 error when writing to a Data Group (DG) secured with PACE
I am encountering an issue when trying to write to a Data Group (DG) that I have secured with PACE. Here is the context:
The DG is protected for both reading and writing with PACE.
I am able to read ...
0
votes
0
answers
64
views
android nfc reading Driver license
i'm looking for java class like jmrtd as solution to read an nfc driving license based on iso 18013 on android
all what it worked for me until now is the AID = A0000002480200, but i do not know the ...
0
votes
1
answer
61
views
DESFire ev1 write data command fails with 917D (PERMISSION_DENIED)
I am writing to an 8K MIFARE EV1 card.
Once the file is created, when I retrieve the file configuration (F5), it returns 00 00 EE EE 00 0F 00.
Then, I attempt to write to the card with the following ...
0
votes
0
answers
37
views
Xamarin.android HCE ProcessCommandApdu is not work
`I get the id of the Mifera classic card with NFC and I aim to make my phone act like this card id using hce. But ProcessCommandApdu is not work.
1-I open NFC and read the Mifera card from my phone
2-...
0
votes
1
answer
63
views
Signing raw SHA512 digest on my Yubikey - Returns invalid signature
I'm in the process of building a tool to sign cryptocurrency transactions with my Yubikey. For that I need to sign arbitrary data using the SHA512 digest algo on the secp256k1 curve. I dug out the ...
1
vote
1
answer
130
views
Smartcard error 0x8010002f when using Chilkat DLL function "TransmitHex()"
I use:
Gemalto IDBridge K30
Windows 10
Delphi
Chilkat Delphi DLL
I need to get ICCID out of a SmartCard, but when I use TransmitHex() from Chilkat DLL I always get the error code:
0x8010002f
First ...
-1
votes
1
answer
87
views
I cannot communicate with Android HCE with another Android Device in reader mode
I'm developing an app in Flutter to clock in and clock out from work with only tablet ora smartphones, for privacy and security reasons i need to use NFC and not Bluetooth or Wifi.
I decided to ...
0
votes
0
answers
84
views
PACE – GENERIC MAPPING implementation in java for android
I am currently working on a project where I need to translate a C# method to code compatible with Android . Unfortunately, I am facing some difficulties and would like to know if anyone is familiar ...
0
votes
0
answers
31
views
Send APDU command over USB Android Java
I am trying to build plugin for react native that allows me to read data from driver card data, but non stop I am receiving error from data reading.
Here is a code
package com.plainreactnativeapp;
...
0
votes
0
answers
65
views
HostApduService not executing processCommandApdu on cold start
I have an application which interacts with an RFID reader through NFC/HCE. The HostApduService service itself is properly configured, set as START_STICKY, and in a normal state everything works fine. ...
0
votes
0
answers
57
views
How to extract Voucher AID from google wllet using APDU command in Android
I am currently working on a project to read or make transactions with cards stored in my Google Wallet. When I try to read records from my Visa card, everything works fine. I use the SELECT PSE ...
0
votes
0
answers
77
views
Smart Card MAC calculation on APDU for getting secure message
Here is my
Plain APDU : 00 A4 00 00
kSMac: 2F 34 E0 0D 1C 46 76 67 43 BA 6B 26 AB 20 4F D3
SSC:20 29 73 0A 6D 5E 7C C4
I am working on constructing a secure message and I am following an example ...
0
votes
0
answers
152
views
"GET PROCESSING OPTIONS failed" error while reading a smart card with cardpeek software
I'm currently having a problem while reading a card with cardpeek software.
At the starts and end of the operation i keep on getting this error:
GET PROCESSING OPTIONS failed, the script will continue ...
0
votes
1
answer
75
views
Unknown APDU command starting with 1x
the APDU commands I am sniffing do not match with any APDU I've ever seen while the anti-collision part seems to be showing the right commands.
I've been trying to sniff a tag-reader communication for ...
0
votes
1
answer
290
views
SELECT APDU command on PN532 is not working
I have a Waveshare PN532 NFC Raspberry Pi Hat connected to my Raspberry Pi 4 using SPI and I am trying to send an APDU SELECT command to my Android HCE app. I'm using Flutter and this package to build ...
0
votes
0
answers
74
views
How to write APDU for creating an EF?
I am using scriptor on Linux to send APDU commands to a SCOSTA card on an ACR39 card reader. I am new to smart card programming. I am trying to do something simple, writing "Hello World" on ...
0
votes
0
answers
35
views
Writing an EF on a SCOSTA card
I new to programming with smart cards and I have in hand a blank SCOSTA card and an ACR39 Smart card reader. As far as I read, SCOSTA cards are compatible with ISO7816-4, -8 and -9 standards. Its ...
0
votes
1
answer
132
views
C# Secure Messaging decryption method
I'm trying to implement this decryption method from java to c#:
https://github.com/ecsec/open-ecard/blob/f66ae48e7bbb2bb27a524e12d3febabf162c17c7/ifd/ifd-protocols/pace/src/main/java/org/openecard/ifd/...
1
vote
1
answer
199
views
Receiving 67 00 ("Wrong length") for INITIALIZE UPDATE on GlobalPlatform Java Card
I am new to Java Card development, so I might not be correct in my statements, but I have at least tried to do my research.
I am trying to install an applet onto my smart card using a custom program ...
0
votes
1
answer
235
views
Secure Messaging Implementation in C#
After establishing PACE PIN authentication, I am trying to implement secure messaging to be able to send secure APDU commands. I based my implementation on the ICAO 9303 part 11 manual, chapter 9.8, ...
0
votes
1
answer
160
views
SMRequest After PACE PIN Establishement
After setting up the PACE authentication process (PACE - GENERIC MAPPING (INFORMATIVE)) in accordance with ICAO Doc 9303 Part 11, I am able to exchange tokens between the chip and the terminal (see ...
1
vote
2
answers
96
views
How can I read these P1 and P2 parameters in smartcard reference data?
I'm currently reading a lot about smartcard standards (ISO 7816, ECC-IAS...). During my research, I've encountered a lot of APDU commands similar to the one shown below:
In my scenario, I needed ...
0
votes
0
answers
207
views
Get AID from Debit/Credit Card using NFC
I just want to get AID from scanned debit/credit card, many apps are available on Google play store that easily gets the info on scan but i am unable to get the same. The purpose of getting the AID ...
1
vote
1
answer
223
views
How to send and read apdu commads to usb smart card reader in java android
I tried do this using UsbManager, send commads is work but when I wand to read response response data is incorrect
I need send to smart card reader this command {0x00, (byte) 0x83, 0x00, 0x00, 0X00}, ...
0
votes
0
answers
38
views
Secure Channel Protocol 01 and 03 in Win32API DLL
I need to make Extended Auth(APDU:8482000010...) with Secure Channel Protocol version 01 and 03, in order to update IC Card data.
Really stuck on how to demonstrate this in Win32API DLL(Microsoft ...
0
votes
0
answers
41
views
STORE DATA APDU for PPSE info
I have installed PPSE on card, and now I have to add some data to get right response to SELECT command, but can't understand how to do it.
I guesss, I shoul use STORE DATA with FCI template.
My APDU:
...
0
votes
0
answers
196
views
How can I upload a SIM applet through OTA
I have created a simple Java Card applet for SIM, based on 2.2.2 version.
I try to upload to the SIM card using OTA, sms transport, but the SIM cards respond with different type errors, like "...
0
votes
0
answers
442
views
nfcpy reading public information from contactless credit card with APDU commands
I am trying to read the public information from my own contactless credit card such as name, expiry date, pan number and card type using python and the nfcpy library, i am struggling to move beyond ...
0
votes
0
answers
348
views
How to determine in the APDU command from which position to execute READ RECORD?
I'm trying to get the PAN from different cards (VISA, MASTERCARD). I can't understand how to form a READ RECORD command, as it may differ for each card.
Here's the sequence I have after receiving the ...
2
votes
0
answers
127
views
Selecting AID in new eVRCs (after year ~2022)
I've recently implemented eVRC reader (for Slovak vehicle registration cards) using javax.smartcardio and Jevrc library ( https://github.com/grakic/jevrc ), which uses CommandAPDU to communicate with ...
0
votes
1
answer
268
views
Smart Card development- Class not supported error
I am developing application for smart cards using ISO/IEC 7816-4 standard. I sucessfully finished Applet Selection (it uses class 00), but when trying PIN verification (it uses class 88), I ...
1
vote
1
answer
308
views
APDU Command for same Personal ID card returns different response on different readers
I am trying to read Personal ID card on contactless card reader. I have done code in Java for USB Gemalto reader where I`m able to read basic stuff - such as Auth Certificate/Sign in Certificate.
When ...
0
votes
1
answer
174
views
Error 69 82 when doing APDU verify instruction with biometric
I want to implemente match on card verification on my device.
The first two steps (parameter with Threshold and Rotation ) proceed successfully with a 9000 response, but during the verification step, ...
-4
votes
2
answers
154
views
How to find the APDU command from a magnetic strip card
I want to find the APDU command from my magnetic strip
I want to find the APDU command and rewrite it on a blank card.
I want to learn how to read apdu……………….I will pay anyone who can help me please .....
1
vote
0
answers
547
views
Authentication DESFire ev1/ev2: command apdu to respond to the tag challenge
I'm working on implementing an Android application for authentication with DESFire EV1 and EV2 tags. I've successfully obtained the challenge using the APDU 0084000008 for EV1 and Le=10 for EV2. I've ...
0
votes
0
answers
155
views
Why euicc manager get NO_SUCH_ELEMENT aka errcode 3?
Problems:
I got status 3 was error NO_SUCH_ELEMENT when using euicc manager sending apdu.
What I did:
I sorted an euicc chip (ST33G1M2)and pluggin into my phone, and trying to port the euicc manager (...
1
vote
1
answer
326
views
Authentication Method Blocked. Can it be unblocked?
I am working with a smart card and am using a custom C# library used for issuing APDU commands to the smart card.
I am attempting to perform an EXTERNAL AUTHENTICATE which requires a call to "GET ...
0
votes
0
answers
248
views
run APDU commands on NTag424 DNA
I am currently developing an application using Flutter to write to an NTAG424 DNA NFC tag; however, I am encountering some issues with the APDU commands. I am unable to execute a simple APDU command.
...
0
votes
0
answers
278
views
Trying to get GPO command for EMV Card failed
I have been working on a Pos terminal app for Pax A930 device. I was able to AID, card type and etc but when i tried the GPO command, it throws 6985 error. I am not sure issues is from my end or ...
0
votes
0
answers
236
views
Can I edit the information placed on a RFID chip with the ISO 14443-4 Type A?
Can I edit the information placed on a RFID chip with the ISO 14443-4 Type A?
I’m trying to figure out if this is possible, and what hardware do I need to edit this type of chip, however, I can’t find ...
2
votes
1
answer
312
views
Send APDU commands to SIM card in android 11
In Android 11 (API level 30), these functions have been deprecated:
iccExchangeSimIO
iccTransmitApduBasicChannel
iccTransmitApduLogicalChannel
Is there any way to send an APDU command to a SIM card ...
0
votes
0
answers
150
views
acr1252 + Android HCE (host card emulator emulate) physical card
I try to emulate emv card on Android device. And it will be read on acr1252 over some software. It's work fine, software can read card but identifies like token, but in emv answer I set it like ...
0
votes
0
answers
495
views
How to read the visual ID or human readable id printed on the smart card using HID OMNIKEY 5321 CL reader
I am using reader HID OMNIKEY 5321 CL to read the Mifare DESFire card. With the help of a python code given below, I am able to read unique identification number (UID). But I need to read the visual ...
1
vote
0
answers
360
views
Authenticate NTAG215 with ACR122U
I have an ACR122U reader and several NTAG215 cards,and then I use C#、PCSC sharp to develop it.
I want to set a password and authenticate it,I think the default key is "00 00 00 00" or "...
0
votes
0
answers
171
views
Unable to generate application cryptogram (ac) - VISA Contactless transaction
I'm trying to simulate a visa contactless transaction.
The CDOL1 data is 9F02069F03069F1A0295055F2A029A039C019F3704, which translates to:
"9F02" + "06";
"9F03" + "...
0
votes
1
answer
362
views
APDU response "6985: Conditions of use not satisfied" on data sign
I need to sign some data with a SmartCard and for it I'm using the following APDU commands:
// some code with PIN validation, etc...
await sendAPDUCommand(scContext, cardContext, "...
1
vote
1
answer
242
views
Tachograph decryption of DSRC messages with a smartcard
I have a problem decrypting DSRC-RTMdata. According to the "COMMISSION IMPLEMENTING REGULATION (EU) 2016/799 of 18 March 2016" I should do it with the PROCESS DSRC MESSAGE command.
How ...