smartcard-reader

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

给你一囗甜甜゛ 提交于 2019-11-30 04:15:30
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 card reader, I get the following information: Smart Card Name: iCLASS 16KS UID:EE 74 0E 00 FB FF 12 E0

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

醉酒当歌 提交于 2019-11-29 17:08:20
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. Under this key, you can find the subkey which matches the card reader's "service" (which I found by

working with IC card reader and SLE5528 smart card

允我心安 提交于 2019-11-29 16:51:46
Am having an IC contact card reader and SLE5528 smart cards.Am wondering how to get started working with these items really. The reader is being read and i see no effect when i insert the smart card . i also installed the smart card shell of opensmart from http://www.openscdp.org/ but i can't get to read any card reader with it.Am wondering whether it has compatibility issues. Please i know i may have asked the question inappropriately, but am kindly asking anyone there to help me out on this. Any relevant links or helpful information to get me started and done will be of great help Thanks in

How to send commands to smart card reader (and not to the smart card) while no card present?

我是研究僧i 提交于 2019-11-29 11:31:04
问题 Preface: I have a dual interface smart card reader that has some extended capabilities (other than sending APDU commands to card and receiving APDU responses). For example in its document it is mentioned that you can get firmware version of your reader using following command: GET_FIRMWARE_VERSION: FF 69 44 42 05 68 92 00 05 00 In its tool, there is a button for this function and it works fine: I even sniffed USB port to see what exactly exchanged in the connection between my PC and my reader

Set own authentication keys MiFare Classic with APDU C#

99封情书 提交于 2019-11-29 02:37:38
I'm using the SMARTCARD API from CardWerk. How can I change the default key ( (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF ) using an APDU? The APDU consits of a CLASS, an INSTRUCTION, P1, P2. I have been reading documentation but I'm unable to find what parameters do I need to change the actual key to a new one. The process for changing the keys of a MIFARE Classic card is like this: Authenticate to the secor for which you want to change the key. Read the sector trailer using normal read operation (or generate a new sector trailer containing the access bytes you want

working with IC card reader and SLE5528 smart card

十年热恋 提交于 2019-11-28 10:32:14
问题 Am having an IC contact card reader and SLE5528 smart cards.Am wondering how to get started working with these items really. The reader is being read and i see no effect when i insert the smart card . i also installed the smart card shell of opensmart from http://www.openscdp.org/ but i can't get to read any card reader with it.Am wondering whether it has compatibility issues. Please i know i may have asked the question inappropriately, but am kindly asking anyone there to help me out on this

SmartCard reader “Access denied” while claiming interface with Webusb on chrome

感情迁移 提交于 2019-11-28 10:29:56
I am developing a javascript library to perform smart card operations using the CCID protocol over chrome webusb API. Everything goes well when I plug the smart card reader on Linux and MacOS, however I get stuck on windows when I try to claim the interface. I tried to run chrome as an administrator, disable smart card services / CCID drivers on windows in case those were claiming the interface, but nothing does it. I keep having the "Failed to claim interface: Access denied (insufficient permissions)" message. Is it really a permission problem ? Or is it some windows service I am not aware of

Communicate with smartcard reader through Android USB host

谁说胖子不能爱 提交于 2019-11-28 07:51:49
I'm trying to send a command to a smart card. I use a Gemalto IDBridge CT30 (PC TWIN reader) and a IDBridge K30 connected to the Android device over USB. I try to send a SELECT APDU command over USB: boolean claim = openedConnection.claimInterface(usbInterface, true); byte[] data = new byte[]{ (byte) 0x00, (byte) 0xA4, (byte) 0x04, (byte) 0x0C, (byte) 0x07, (byte) 0xA0, (byte) 0x00, (byte) 0x00, (byte) 0x01, (byte) 0x18, (byte) 0x45, (byte) 0x4E}; After that I receive an answer: final int dataTransferred = this.openedConnection.bulkTransfer(endPointOut, data, data.length, TIMEOUT_MS); if(!

Smartcard reader access from a web browser?

十年热恋 提交于 2019-11-28 07:26:06
Is it possible to access a smartcard reader connected to a computer from a web browser running on the same machine, i.e. from an ActionScript, JavaScript or whatsoever script running therein? For example, I read something about the flash.external.ExternalInterface class in ActionScript. Can it be used for accessing a smartcard reader or is the Sandbox impenetrable? Q: is it possible to access smartcard reader connected to a computer from a web browser running on the same machine? A: Yes, it is possible. I was able to do that by using a signed JAVA applet. The java applet needs to be signed

Selecting DF (Dedicated File) in Smart Card, Return Error 6981

99封情书 提交于 2019-11-28 02:10:15
问题 I have written a program to communicate with a smart card (Gemalto Company MPCOS applet). I could successfully connect to card and transmit commands and fetch data. However I have a problem: When I used 00 A4 01 00 02 02 00 command to select DF(Dedicated File), It returned error 69 81 (file indicator is incorrect). This is so weird because after this command I used another command to fetch sub-file of this DF and it returned success 61 12 . command1(Select MPCOS Applet): 00 A4 04 00 10 A0 00