790 questions
0
votes
1
answer
37
views
Problem using ExtendedLength APDUs on Javacard supporting Javacard 3.1
I'm using the javacard Thales IDCore 140C supporting Javacard 3.1 and extended apdu.
and my applet implements ExtendedLength:
public class crypto_applet extends Applet implements ExtendedLength {
...
1
vote
1
answer
69
views
Java Card applet returns 6700, I can't figure out why
I can't figure out why my applet returns 6700 in response to the command 00 40 00 00 0A 0102030405060708090A.
00 - CLA, 40 - INS, 00 00 - P1 and P2, 0A - Lc, 0102030405060708090A - Data
If I ...
0
votes
0
answers
160
views
ARDUINO: PN532 NFC reader for Google Wallet Passes
I am developing an app on arduino UNO using PN532 to read Google wallet passes via APDU commands. As a reference I am using Google-smart-tap
On the first command (SELECT VAS APPLET), I get a response ...
0
votes
2
answers
150
views
EMV - Sending empty PDOL to GPO fails with 6985
I'm working with a MasterCard EMV Contactless card.
I've selected the MasterCard application (AID A0000000041010) with success (9000).
The card responds to the SELECT APPLICATION command as follows:
...
0
votes
1
answer
66
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 ...
0
votes
3
answers
155
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
1
answer
151
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
votes
1
answer
227
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
109
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
1
answer
585
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 ...
1
vote
1
answer
396
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
303
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 ...
0
votes
0
answers
295
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 ...
0
votes
0
answers
277
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 "...
2
votes
0
answers
144
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 ...
1
vote
1
answer
464
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 ...
-4
votes
2
answers
185
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 .....
0
votes
0
answers
204
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 (...
0
votes
0
answers
342
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
319
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 ...
0
votes
0
answers
163
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 ...
1
vote
0
answers
472
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
1
answer
415
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
1k
views
Is it possible to emulate an NFC Tag with a URL payload on an OMNIKEY 5127CK reader and have that URL automatically opened?
I'm new to NFC but I have searched stack overflow and not been able to resolve some questions. I am using an OMNIKEY 5127CK mini reader that is attached to an Android device. I'm looking for a ...
0
votes
1
answer
819
views
Reading the challenge nonce of a Mifare Classic 1k tag
For a research project I would like to read the challenge nonce that the Mifare Classic 1k tag returns during the first phase of the authentication process.
In a paper I found the following snippet of ...