Questions tagged [smartcard-reader]

A smartcard reader is a peripheral device that can be connected to computer or an embedded system (or any similar device) in order to empower that device with the capability to communicate with smartcards.

A smartcard reader is a device that enables another device with comutational capabilities to communicate with smartcards () or chip cards in general. Smartcard readers typically support the protocols defined in the ISO/IEC 7816 series of standards. Besides that, smartcard readers may also support other protocols for communication with chip cards and contactless tokens.

While the term "smartcard reader" contains the word "reader", a smartcard reader is not limited to reading data from a smartcard. Instead it can also write data to a card and can even exchange commands with a smartcard chip that are not directly related to reading or writing data but that trigger the processing of algorithms (e.g. cryptographic functions) on the chip.

392 questions
1
vote
1 answer

Card Reader Program works in Local system But not from IIS server

I developed a card reader application using ASP.net MVC5. The card reader used by is HID OMNIKEY 3121. When the card is inserted this application will read the name,gender,dob etc that is encoded in the chip. This is working fine in my local system…
Dravid
  • 21
  • 3
1
vote
2 answers

ACR1222L FF 82 Load Authentication Keys fails with 63 00 Operation Failed

I'm using ACR1222L NFC smartcard reader with Mifare Plus cards (Security Level 0 as of now; manufacturer default keys A and B). I tried a variety of commands to load authentication key into the reader: FF 82 00 00 06 FF FF FF FF FF FF FF 82 00 01 06…
ADTC
  • 8,999
  • 5
  • 68
  • 93
1
vote
0 answers

Authenticate/Read/Write NFC Mifare Classic Using Private Key

With refrence to Michael Roland's answer, I am facing problems in changing the key of a Mifare Classic 4K card. I want to do the personalization of NFC cards using NFC reader ACR122U. I have followed the steps defined in this answer, and…
1
vote
1 answer

Android multithreading in HostApduService (NFC)

I use the processCommandApdu() method in a subclass of HostApduService to react on NFC commands. This method gets called on the Android main thread. These commands should be processed and sent over the NFC channel sequentially. Therefore, I want to…
Epi
  • 322
  • 2
  • 15
1
vote
2 answers

number value to byte[6] array card reader

What's the best way to convert a number to a byte[6] in C#? I'm using MagTek Card reader and trying to display desired amount on device screen, it should be 6-byte array. The amount needs to be used and authorized, EMV Tag 9F02, format…
Nikola Zivkovic
  • 819
  • 1
  • 9
  • 20
1
vote
4 answers

How can i access to smartcard from ASP.NET site?

i need to comunicate with a smartcard from an ASP.NET site. I've create a dll(using Winscard.dll and MCSCM.dll that is the SCM Micro Reader's dll) that work with the cardreader on windows but i'm not able to use it with ASP.NET. The project will run…
LightySnake
  • 78
  • 2
  • 11
1
vote
0 answers

WINDOWS_ERROR_INVALID_PARAMETER When I send a control command to the card reader

I call the verify() method to read the PIN from a card reader (omnikey 3821) but I i have the following exception: WINDOWS_ERROR_INVALID_PARAMETER I think the problem is the second parameter of the method transmitControlCommand that throws the…
Tomy Tomy
  • 27
  • 1
  • 5
1
vote
1 answer

Unable to construct VERIFY_PIN_DIRECT control command

I'm writing a JAVA-app to access my OpenPGP-Card V2.0. The card terminal im using is a "REINER SCT cyberJack RFID standard" which only supports PC/SC under OSX, and now I want to implement the PC/SC 2.0-command "VERIFY_PIN_DIRECT". I tried the…
K. Biermann
  • 1,295
  • 10
  • 22
1
vote
1 answer

APDU MIFARE Classic 4K read value at specific sector/block

I'm trying to read some data from my MiFare Classic 4K smartcard. I already know the exact sector/block location of the data (because of a dump via Android), but I don't know how to show it in SpringCard Prox'N'Roll. I know how to access my card…
KingFox
  • 25
  • 1
  • 7
1
vote
1 answer

Select root folder in SANKYO ICT3K5-3R6940 card reader

I have a project with this type of card reader. There is a testing tool (RS8Test.exe). I can connect to card reader, retrieve card, reject and manipulate with leds. Bu cannot read any data. Smart card is chip based. I found that there are some…
0bj3ct
  • 1,400
  • 4
  • 22
  • 51
1
vote
1 answer

Pcsc -smartcard get UID

I'm trying to read card UID / HCE android device UID from my pcsc java code. But I'm getting the following error javax.smartcardio.CardException: sun.security.smartcardio.PCSCException: Unknown error 0x1f Although I'm able to get ATS bit when I…
Rachita Nanda
  • 4,509
  • 9
  • 42
  • 66
1
vote
0 answers

Accessing javax.smartcardio from windows?

import java.util.*; import javax.smartcardio.*; public class Terminals{ public static void main (String [] args) throws Exception{ TerminalFactory factory = TerminalFactory.getDefault (); System.out.println ("Default factory:…
sonus21
  • 5,178
  • 2
  • 23
  • 48
1
vote
1 answer

Identifying related USB devices

Is there a way using C# to identifying a device and associated child USB device(s)? For example I have a USB Zebra printer with a card reader mounted on it, and wish to know the card reader's name and identifying details i.e. build up a tree of…
wonea
  • 4,783
  • 17
  • 86
  • 139
1
vote
1 answer

Ultralight C, Smartcardio and ACR122

I'm developing in a Java project with a PS/SC ACR122U with the library SmartCardIO. When I put a password and modified the page 0x2A, I am trying to read again the tag. Indeed, I know the protocol and I found here…
Georgevik
  • 539
  • 1
  • 5
  • 18
1
vote
1 answer

List applets on JCOP Cards using GPShell

I have a JCOP smart card (CJ3A080). I wanted to list default applets on the card, so I download last version of GPShell (1.4.4) and run the script named listjcop10.txt. But it failed. This is contets of the script : listjcop10.txt…
TheGoodUser
  • 1,188
  • 4
  • 26
  • 52