Questions tagged [smartcard]
A smartcard is a card with an embedded chip that may store cryptographic keys and/or perform cryptographic functions. Smartcards are often use as employee ID badges or in contactless credit/debit cards.
1,928
questions
0
votes
0
answers
24
views
JMRTD Doing Chip Authentication returns Invalid Data Objects
Using the below code with JMRTD JMTD Library, I am trying to read the card contactless with an Android device. I am getting the following error while doing CHIP AUTHENTICATION which I can not ...
0
votes
2
answers
35
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
29
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
0
answers
25
views
How to sign in PAdES with Nodejs
I'm trying to create a function in nodejs for digital signature from smart card for signing pdf documents in pades format. I used the pkcs11js library to retrieve the certificate and private key. I ...
0
votes
0
answers
34
views
MailKit.Security.SslHandshakeException thrown when unplugging / replugging a smartcard with embedded authentication certificate for TLS connection
I'm getting a MailKit.Security.SslHandshakeException while trying to connect to an email server using Mailkit. The authentication is based on TLS 1.2 and uses a certificate that is embedded in a ...
-4
votes
1
answer
29
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
35
views
Gemalto SmartCard Get status issue
I’m programming an applet for a Java Card. During this process, I’ve encountered a unique byte sequence that I’m having difficulty comprehending. According to the documentation, it’s related to the ‘...
0
votes
0
answers
48
views
Java Card Eclipse Plug-in: APDU I/O API is hanging on powerUp()
My development environment:
I downloaded an example for APDU I/O API: https://github.com/RimGazzeh/JavaCard_Wallet.git
Eclipse IDE for Java Developers (includes Incubating components)
Version: 2023-...
1
vote
2
answers
104
views
What are the correct steps to have a supplementary security domain with DAP verification?
It has been a time that I am searching for a best practice on installing and configuring a supplementary security domain (SSD) with its own secure channel keyset and DAP verification so that no one ...
0
votes
0
answers
13
views
Android SSL Client authentication error using PKI applet client certificate and private key
I'm trying to send a HTTPS request to Tax Core API. It worked fine until Android 10, but ever since it came out I'm having trouble sending HTTPS requests, because client authentication is unsuccessful....
1
vote
1
answer
81
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
39
views
Digital tachograph. Company card remote authentication error
I'm trying to perform remote authentication between a tachograph company smart card and an SE5000 tachograph.
I'm going through the path partially well, but after the key exchange, when I try to read ...
0
votes
1
answer
50
views
mTLS auth fails, unclear why
I'm trying to implement smartcard login on my website. I have NodeJS and my own CA to generate the client cert.
Everything works when the cert is imported in the cert store on the client PC, I can ...
0
votes
2
answers
57
views
Is it possible to use a sim slot in a Samsung phone as a generic PSAM reader?
There is an NXP JCOP 4 smart card with java applet on it (https://www.cardlogix.com/product/nxp-jcop-4-java-card-3-0-5-classic/), there is also an Android phone with dual sim and Android 13 (Samsung ...
1
vote
1
answer
67
views
Is there a way to use PC/SC in web application or extensions without using middlewares?
I'm trying to use smartcards in web environment, but I'm unable to find a way for doing it rather than using middlewares to pass the data to my extension or PWA. The target application for reading ...
0
votes
1
answer
71
views
How to load and install an applet onto the smart card via Java Code
I want to write a Java Programm that downloads and installs an Applet onto a Java Smartcard. I am using ACOSJ-DI 95K Java Card, https://www.cardomatic.de/en/p/acosj-di-95k-java-card-pack-of-5. Can ...
0
votes
0
answers
135
views
Smartcard setup in RHEL8 using Active Directory without IDM
Here is some background: my organization is moving from RHEL7 using the UI/Coolkey Smartcard setup for autolock on removal and authenticating to the AD. We are in the process of upgrading to RHEL8 in ...
-1
votes
1
answer
41
views
How can Java application running in docker, read from the smart card reader?
I have a Java application running via Docker. This application has an endpoint which I can hit from other services to sign PDF documents. To sign these documents, Java app must read data from a smart ...
0
votes
0
answers
37
views
ACR1255U-J1 How to send a command
I have been trying to figure out for days on how to send a command to this smart card reader. According to the documentation at https://www.acs.com.hk/download-manual/7664/REF-ACR1255U-J1-1.13.pdf at ...
0
votes
0
answers
49
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
26
views
Can I use install for personalization two times for a SD?
I couldn't find in Global Platform Specifications v2.3.1. neither Global Platform Common Implementation Configurations what happens when I:
Install for personalization a Applet SD with AID1 first ...
0
votes
0
answers
52
views
Why the exception is 0x6982 and not 0x6985?
I am sending a DAP block to the SD. That SD doesn't have Mandated DAP Verification Privilege nor DAP Verification Privilege. But is in personalize state.
I have this scenario:
Install for load an SD ...
0
votes
0
answers
83
views
Is it possible to program custom SmartcardCredentialProvider on windows login screen?
I want to write CredentialProvider similar to builtin SmartcardCredentialProvider used in domain, but with one difference:
When the PIN field is displayed, do automatic submit with empty PIN and let ...
0
votes
1
answer
72
views
How to change javacard's ATR without installing any applet?
I got a card which is not possible to install applets on it! even GP Verify is not executable! I asked the vendor about this and they told me to change ATR to get it working.
How Can I change card ATR ...
0
votes
1
answer
128
views
How can I use a Yubikey from Yubico to Sign an XML File with C#?
I have two Smart Cards:
YubiKey 5C NFC from Yubico
SafeNet eToken 5110 Series
I installed all necessary drivers and tools for both Smart Cards.
Now the goal is to create a C# method that signs an ...
0
votes
0
answers
27
views
idemia tablet for integration card readiing and fingerprint sdk
I am using idemia tablet sdk for cardreading and fingerprint android. I am getting below error
E/com.idemia.smartcardlibrary.SmartCardLibrary: Open failed : Please use connect API first.
Any idea on ...
0
votes
0
answers
112
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 ...
0
votes
0
answers
80
views
How to read specific sector of MIFARE CLASSIC 1K card
I'm complete novice with smart cards (yesterday i've started some research on the subject). What i need is to read 1 block of data where employee ID is stored.
I'm using MiFare NuGet package to ...
0
votes
1
answer
43
views
How can I tell which reason code an exception has thrown in JavaCard?
I'm trying to find out why a CryptoException has been thrown in my applet but I'm struggling.
I've tried this:
catch (CryptoException e) {
if (e instanceof CryptoException.ILLEGAL_USE) {
//...
1
vote
1
answer
45
views
Why is my ACOSJ Javacard applet failing to install?
I'm writing an applet for an ACOSJ card in JCIDE and I keep getting the error message: 'Install Applet failed' with the response APDU 69 85.
This is my install method
public static void install(...
0
votes
1
answer
140
views
What does the SCARD_W_UNRESPONSIVE_CARD error on GlobalPlatform Pro indicate about the state of the card?
I'm getting this message SCARD_W_UNRESPONSIVE_CARD when trying to do anything with a specific ACOSJ card.
I have a card reader that I'm using with multiple cards of the same type, no problems, and no ...
0
votes
0
answers
57
views
Importing pfx/p12 file into smartcard using swift/Objective C
Is there any way to import PFX/p12 file to smartcard programmatically using swift/Objective C?
Actually, I am able to extract the certificate from certificate chain(.p7b). Then instead of saving the ...
1
vote
0
answers
79
views
Problems with digital signature
my name is Mateo and I'm developing a software that signs files using digital signature, with the uruguayan identification card.
I made a program in C# whose objetive is to import signature to PDF ...
0
votes
0
answers
48
views
Getting CKA_TEMPLATE_INCONSISTENT while importing certificate using swift and Safenet sdk(Programmatically)
I am trying to import certificate in safenet dongle using swift and safenet's sdk. I have used encoder and decoder from the below linked code https://github.com/filom/ASN1Decoder. My swift side code ...
0
votes
0
answers
48
views
Sign multiple pdfs with iText7 without inputting Smart Card Pin multiple times
I'm attempting to sign multiple seperate PDFs with iText7. I'm able to do so, but it asks for my smart card pin for every file that it signs. I wish for it to only need the pin once, and then sign all ...
1
vote
1
answer
54
views
Problem using PBKDF2 algorithm on javacard to convert mnemonic phrase to seed
I am trying to Convert cryptocurrency mnemonic phrase to seed using a smart card. I have seen this question and the perfect answer. I am trying to use the same code for my conversion with a little ...
1
vote
1
answer
55
views
Do I (and how do I) need to write my own ACOSJ Javacard garbage collection, or is it automatic?
Do I need to write my own garbage collection when using an ACOSJ javacard? Or is it done automatically?
If I do need to write my own - are there any useful guides online that show me how I can do this?...
0
votes
0
answers
33
views
Unable to delete apps off ACOSJ Card
I'm unable to delete an app off of my ACOSJ card. It was working okay until today when I started to get the 6F00 response to every command. I tried to delete the app with global platform pro and got ...
2
votes
1
answer
70
views
JavaCard AES128 Cipher DoFinal Exception
I called split() method in order to hash PIN (MD5) and use it as a key for AES128. But I got the error 0x6306, which means CryptoException.ILLEGAL_USE. I have read this documentation: https://docs....
0
votes
0
answers
33
views
how do i create a my own inplementation of pkcs11.h
I have a smart card that i want to use later such that, i can retrieve the certificate inside and use that to sign a PDFs or what not with digital signature.
so i was trying to use opensc for that, ...
1
vote
0
answers
73
views
Performing certificate authentication using golang
I tried to implement below link for smart card authentication from what I understood that smart card have private key and we can’t extract it. But can we simulate similar authentication method that ...
0
votes
0
answers
35
views
Getting ANR while performing long NFC routines
I am trying to access an ISO-14443-4 NFC tag to read a rather substantial amount of data from the NFC tag and I am getting ANR frequently.
My Activity Code:
public class CardPairingActivity extends ...
0
votes
1
answer
50
views
Displaying Android AlertDialog immediately
I noticed that AlertDialog in Android does not show immediately. The AlertDialog could be rendered after all the codes have fully run it's course and the dialog pops up which is too late in the UI ...
0
votes
1
answer
286
views
HID iClass dl smart card how to get card number
I'm using the HID omnikey 5022 card reader
The card has HID iClass DL written on it.
Facility code is 147
Card number is 4511
using PySmartCard I can read the
ATR = ...
-1
votes
1
answer
46
views
What are the possible methods of performing fingerprint verification as MatchOnCard on MULTOS Cards?
I am trying to perform fingerprint verification on MULTOS cards. However, there are some limitations in this regard, and I am trying to overcome these limitations. I would like to ask for your help in ...
1
vote
2
answers
103
views
JavaCard applet works on simulator but not on card
I’m trying to get a simple applet I’ve written to work on a JavaCard — it seems to work perfectly fine on the simulator, but not on the actual card. It uploads and SELECTs successfully, but returns ...
1
vote
2
answers
417
views
Cryptogram Information Data 9F27 returns AAC in second generated AC but approved from host
I am new to EMV and working on a certification of domestic network. Some of the test cards returns AAC while other returns TC when logging 9F27 despite the transaction was approved from host. We ...
0
votes
1
answer
137
views
CVM limit with contact transaction
One of our terminal provider says that contact card doesn't have CVM limit as it is dependent to what is in tag 8E (CVM List) and 9F33 (Terminal Capabilities). However another terminal provider of us ...
-1
votes
2
answers
250
views
Visa has no CVM List with contactless
Our acquirer required us to have CVM for any transactions that reached x amount, however when we do contactless with Visa cards there is no CVM List hence 3F is the CVM Result while CTQ is 6800. Is ...