smartcard-reader

Reading phantom NFC tags via javax.smartcardio

十年热恋 提交于 2019-12-24 08:39:20
问题 I have an an old NFC reader for the tikitag web service (which was later renamed touchatag, and finally abandoned around 2012). Since the website is no longer available, I could no longer find the original tikitag/touchatag drivers. After some searching, I found this NFC reader is a generic ACS ACR122U USB reader, and installed a suitable driver from here. My system is Windows 7 (64-bits). First, I tried the NFC Tools library for high-level read and write access to NFC tags. I got an error

Sending Extended APDU to Javacard

喜欢而已 提交于 2019-12-22 10:33:18
问题 I have a ACR38 samrt-card-reader and a number of Javacard [2.1.1] compliant with GP Spec [02]. As I know, there is two kind of APDU, Short-APDU [APDU with LC or/and LE shorter than 255 ] and Extended-APDU [APDU with LC or/and LE greater than 255 ]. is that right? We send Short-APDU in T=0 protocol and send Extended-APDU in T=1 protocol. is that right? I sent Short-APDU to my card successfully. [via GPJ , GPShell , OpenSC-Tool ]. And now, I want to know: 1: if I want to use Extended APDU, my

Use APDU commands to get some information for a card

橙三吉。 提交于 2019-12-21 21:21:34
问题 I have a terminal that has its own API to stablish and send commands between chip and terminal, there is a function that transmits the APDU command and returns the answer in a byte array. For example, if a want to read the tag 5A (Application PAN), I send the following command: byte[] byteArrayAPDU = new byte[]{(byte)0x00, (byte)0xCA, (byte)0x00, (byte)0x5A}; int nResult = SmartCardInterface.transmit(nCardHandle, byteArrayAPDU, byteArrayResponse); The variable byteArrayResponse gets the

How to work with a Smart Card

五迷三道 提交于 2019-12-21 18:16:32
问题 My project I am working on a small program which has to set an alarm if the user locks the computer without removing the Smart Card from the computer. I am using C# with WPF and .Net 4.0 and my smartcard is version V4.2C My problem I have all the functionality to work but I simply don't know how to detect if the Smart Card is in the Smart Card Reader. I have tried to search on google but with no result so I hope some of you can help me. 回答1: Well, if I google for "C# smartcard" the first link

Send APDU command to card through HID OMNIKEY 5427 CK

感情迁移 提交于 2019-12-21 12:57:14
问题 I'm trying to pass though APDUs command via HID OMNIKEY 5427 CK to operate MIFARE Card ie. Ultralight C card, on the Windows 10 x64 OS environment using WinSCard.dll. (I'm under NXP NDA and have full access t their documents) I tried to find information online for days now. Seem like no published document for this model except the 2pages brochure. The simple command like GetUID (FFCA000000) is OK, I can get back the actual card UID. But for 'Authentication with Card', reference document from

Parse CV Rule from CVM List for EMV

房东的猫 提交于 2019-12-21 04:51:36
问题 I have succesfully retrieved the CVM List from EMV card. 0000 0000 0000 0000 4103 4203 1E03 1F02 From the EMV specification book 3, the first 4 bytes and second 4 bytes are amount and rest is CV rules. Making these the CV Rule 4103 4203 1E03 1F02 The book also shows how to parse the CV rules, as shown below: I am assuming that I need to convert the first two bytes in a CV rule to binary and match with the table above? But why does the table above have empty cells? Also can someone explain in

Unable to claim USB interface (Device or resource busy)

大城市里の小女人 提交于 2019-12-20 10:37:00
问题 I want to use my ACR122U contact-less smart card reader in Ubuntu 14 smarty. So I installed my required packages and drivers. Finally when I want to use the reader I receive the following error: rc@rc-System-Product-Name:~/Desktop/itsme$ sudo nfc-list [sudo] password for rc: nfc-list uses libnfc 1.7.0 error libnfc.driver.acr122_usb Unable to claim USB interface (Device or resource busy) nfc-list: ERROR: Unable to open NFC device: acr122_usb:001:020 rc@rc-System-Product-Name:~/Desktop/itsme$

SCardTransmit() always return 6d00

十年热恋 提交于 2019-12-18 12:43:39
问题 I'm trying to read name, card number, expiry date etc on Credit Card. but always return 6d00 when call SCardTransmit . I'm using pre-define AID, which i have googled to be valid (correct me if i'm wrong). here's the are : AID_LIST = { "A0000000421010", "A0000000422010", "A0000000031010", "A0000000032010", "A0000000041010", "A0000000042010", "A00000006900", "A0000001850002" } Thanks in advance. 回答1: I am not familiar with this API you are using, but you will have to send the following sequence

Contact-less card through an OmniKey, how to get “UID”?

青春壹個敷衍的年華 提交于 2019-12-18 11:34:41
问题 I am trying to read information off of a smartcard, using a contact-less OmniKey 5321 card reader. Edit : Added a bounty. I'm writing a C# 3 in .NET 3.5 program, so this is a Windows application. The card has some information stamped onto it, that I would assume, in some way, is present in the card data (there is a photo of the card and reader below.) The card has the following information stamped onto it: 1* 00447 21091328-32 When using the Diagnostics application that comes with the OmniKey

How are PCSC smart card reader 'friendly names' constructed?

谁都会走 提交于 2019-12-18 09:11:58
问题 I use WinSCard to list all readers, which gives me a list like this: ASK RDR4x7 0 SCM Microsystems Inc. SCR3320 USB Smart Card Reader 0 SCM Microsystems Inc. SCR3320 USB Smart Card Reader 1 SCM Microsystems Inc. SCR3320 USB Smart Card Reader 2 Which is great, but I have no clue which name belongs to which card reader. Where do these names come from? How are they constructed? What I've found up until now: in the registry, there is a HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services key.