Created
December 21, 2011 12:50
-
-
Save pklaus/1505934 to your computer and use it in GitHub Desktop.
First usage and test of the REINER SCT komfort RFID smart card reader on Mac OS X 10.7.2 using several terminal commands. See http://blog.philippklaus.de/2011/12/reiner-sct-cyberjack-rfid-komfort/ for more information.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philipp@lion:~$ opensc-tool --list-readers | |
# Detected readers (pcsc) | |
Nr. Card Features Name | |
0 No PIN pad REINER SCT cyberJack RFID komfort 00 00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philipp@lion:~$ pcsc_scan | |
PC/SC device scanner | |
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> | |
Compiled with PC/SC lite version: 1.4.0 | |
Plug'n play reader name not supported. Using polling every 1000 ms. | |
Scanning present readers... | |
0: REINER SCT cyberJack RFID komfort 00 00 | |
Wed Dec 21 14:50:14 2011 | |
Reader 0: REINER SCT cyberJack RFID komfort 00 00 | |
Card state: Card inserted, | |
ATR: 3B 8A 80 01 80 31 F8 73 F7 41 E0 82 90 00 75 | |
ATR: 3B 8A 80 01 80 31 F8 73 F7 41 E0 82 90 00 75 | |
+ TS = 3B --> Direct Convention | |
+ T0 = 8A, Y(1): 1000, K: 10 (historical bytes) | |
TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0 | |
----- | |
TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1 | |
----- | |
+ Historical bytes: 80 31 F8 73 F7 41 E0 82 90 00 | |
Category indicator byte: 80 (compact TLV data object) | |
Tag: 3, len: 1 (card service data byte) | |
Card service data byte: F8 | |
- Application selection: by full DF name | |
- Application selection: by partial DF name | |
- BER-TLV data objects available in EF.DIR | |
- BER-TLV data objects available in EF.ATR | |
- EF.DIR and EF.ATR access services: by READ BINARY command | |
- Card with MF | |
Tag: 7, len: 3 (card capabilities) | |
Selection methods: F7 | |
- DF selection by full DF name | |
- DF selection by partial DF name | |
- DF selection by path | |
- DF selection by file identifier | |
- Short EF identifier supported | |
- Record number supported | |
- Record identifier supported | |
Data coding byte: 41 | |
- Behaviour of write functions: write OR | |
- Value 'FF' for the first byte of BER-TLV tag fields: invalid | |
- Data unit in quartets: 2 | |
Command chaining, length fields and logical channels: E0 | |
- Command chaining | |
- Extended Lc and Le fields | |
- RFU (should not happen) | |
- Logical channel number assignment: No logical channel | |
- Maximum number of logical channels: 1 | |
Tag: 8, len: 2 (status indicator) | |
SW: 9000 | |
+ TCK = 75 (correct checksum) | |
Possibly identified card (using /usr/local/share/pcsc/smartcard_list.txt): | |
3B 8A 80 01 80 31 F8 73 F7 41 E0 82 90 00 75 | |
ePerso - German ID card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philipp@lion:~$ pcsc_scan | |
PC/SC device scanner | |
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> | |
Compiled with PC/SC lite version: 1.4.0 | |
Plug'n play reader name not supported. Using polling every 1000 ms. | |
Scanning present readers... | |
0: REINER SCT cyberJack RFID komfort 00 00 | |
Wed Dec 21 15:23:07 2011 | |
Reader 0: REINER SCT cyberJack RFID komfort 00 00 | |
Card state: Card inserted, | |
ATR: 3B FF 18 00 FF 81 31 FE 45 65 63 11 08 66 01 56 00 11 16 10 04 22 06 20 2A | |
ATR: 3B FF 18 00 FF 81 31 FE 45 65 63 11 08 66 01 56 00 11 16 10 04 22 06 20 2A | |
+ TS = 3B --> Direct Convention | |
+ T0 = FF, Y(1): 1111, K: 15 (historical bytes) | |
TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU | |
129032 bits/s at 4 MHz, fMax for Fi = 5 MHz => 161290 bits/s | |
TB(1) = 00 --> VPP is not electrically connected | |
TC(1) = FF --> Extra guard time: 255 (special value) | |
TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1 | |
----- | |
TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1 | |
----- | |
TA(3) = FE --> IFSC: 254 | |
TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5 | |
+ Historical bytes: 65 63 11 08 66 01 56 00 11 16 10 04 22 06 20 | |
Category indicator byte: 65 (proprietary format) | |
+ TCK = 2A (correct checksum) | |
Possibly identified card (using /usr/local/share/pcsc/smartcard_list.txt): | |
3B FF 18 00 FF 81 31 FE 45 65 63 11 08 66 01 56 00 11 16 10 04 22 06 20 2A | |
3B FF .. 00 FF 81 31 .. 45 65 63 .. .. .. .. .. .. .. .. .. .. .. .. .. .. | |
Debit card (Germany): ec-cash, GeldKarte(EUR), Maestro, Cirrus, ... | |
3B FF 18 00 FF 81 31 FE 45 65 63 11 08 66 01 56 00 11 16 10 04 22 06 20 2A | |
3B FF 18 00 FF 81 31 .. 45 65 63 .. .. .. .. .. .. .. .. .. .. .. .. .. .. | |
Geldkarte (generic ATR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philipp@lion:~$ pcsc_scan | |
PC/SC device scanner | |
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> | |
Compiled with PC/SC lite version: 1.4.0 | |
Plug'n play reader name not supported. Using polling every 1000 ms. | |
Scanning present readers... | |
0: REINER SCT cyberJack RFID komfort 00 00 | |
Wed Dec 21 15:19:27 2011 | |
Reader 0: REINER SCT cyberJack RFID komfort 00 00 | |
Card state: Card inserted, | |
ATR: 3B 6E 00 00 00 31 C0 71 C6 65 71 0C 04 35 36 83 90 00 | |
ATR: 3B 6E 00 00 00 31 C0 71 C6 65 71 0C 04 35 36 83 90 00 | |
+ TS = 3B --> Direct Convention | |
+ T0 = 6E, Y(1): 0110, K: 14 (historical bytes) | |
TB(1) = 00 --> VPP is not electrically connected | |
TC(1) = 00 --> Extra guard time: 0 | |
+ Historical bytes: 00 31 C0 71 C6 65 71 0C 04 35 36 83 90 00 | |
Category indicator byte: 00 (compact TLV data object) | |
Tag: 3, len: 1 (card service data byte) | |
Card service data byte: C0 | |
- Application selection: by full DF name | |
- Application selection: by partial DF name | |
- EF.DIR and EF.ATR access services: by GET RECORD(s) command | |
- Card with MF | |
Tag: 7, len: 1 (card capabilities) | |
Selection methods: C6 | |
- DF selection by full DF name | |
- DF selection by partial DF name | |
- Short EF identifier supported | |
- Record number supported | |
Tag: 6, len: 5 (pre-issuing data) | |
Data: 71 0C 04 35 36 | |
Mandatory status indicator (3 last bytes) | |
LCS (life card cycle): 83 (Proprietary) | |
SW: 9000 (Normal processing.) | |
Possibly identified card (using /usr/local/share/pcsc/smartcard_list.txt): | |
NONE | |
Your card is not present in the database. | |
You can get the latest version of the database from | |
http://ludovic.rousseau.free.fr/softwares/pcsc-tools/smartcard_list.txt | |
or use: curl http://ludovic.rousseau.free.fr/softwares/pcsc-tools/smartcard_list.txt --output /Users/pklaus/.smartcard_list.txt | |
If your ATR is still not in the latest version then please send a mail | |
to <ludovic.rousseau@free.fr> containing: | |
- your ATR | |
- a card description (in english) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philipp@lion:~$ pcsc_scan | |
PC/SC device scanner | |
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> | |
Compiled with PC/SC lite version: 1.4.0 | |
Plug'n play reader name not supported. Using polling every 1000 ms. | |
Scanning present readers... | |
0: REINER SCT cyberJack RFID komfort 00 00 | |
Wed Dec 21 13:41:10 2011 | |
Reader 0: REINER SCT cyberJack RFID komfort 00 00 | |
Card state: Card inserted, | |
ATR: 3B FF 13 00 00 81 31 FE 45 4F 57 4F 4B 31 30 2D 4A 33 31 34 30 32 34 31 AC | |
ATR: 3B FF 13 00 00 81 31 FE 45 4F 57 4F 4B 31 30 2D 4A 33 31 34 30 32 34 31 AC | |
+ TS = 3B --> Direct Convention | |
+ T0 = FF, Y(1): 1111, K: 15 (historical bytes) | |
TA(1) = 13 --> Fi=372, Di=4, 93 cycles/ETU | |
43010 bits/s at 4 MHz, fMax for Fi = 5 MHz => 53763 bits/s | |
TB(1) = 00 --> VPP is not electrically connected | |
TC(1) = 00 --> Extra guard time: 0 | |
TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1 | |
----- | |
TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1 | |
----- | |
TA(3) = FE --> IFSC: 254 | |
TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5 | |
+ Historical bytes: 4F 57 4F 4B 31 30 2D 4A 33 31 34 30 32 34 31 | |
Category indicator byte: 4F (proprietary format) | |
+ TCK = AC (correct checksum) | |
Possibly identified card (using /usr/local/share/pcsc/smartcard_list.txt): | |
3B FF 13 00 00 81 31 FE 45 4F 57 4F 4B 31 30 2D 4A 33 31 34 30 32 34 31 AC | |
3B FF 13 00 00 81 31 FE 45 4F 57 4F 4B 31 30 2D 4A .. .. .. .. .. .. .. .. | |
OWOK (One Web, One Key) login card, http://www.reiner-sct.com/owok/ | |
Reiner SCT loginCard https://cardlogin.reiner-sct.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philipp@lion:~$ pcsctest | |
MUSCLE PC/SC Lite Test Program | |
Testing SCardEstablishContext : Command successful. | |
Testing SCardGetStatusChange | |
Please insert a working reader : Command successful. | |
Testing SCardListReaders : Command successful. | |
Reader 01: REINER SCT cyberJack RFID komfort 00 00 | |
Enter the reader number : 01 | |
Waiting for card insertion | |
: Command successful. | |
Testing SCardConnect : Command successful. | |
Testing SCardStatus : Command successful. | |
Current Reader Name : REINER SCT cyberJack RFID komfort 00 00 | |
Current Reader State : 0x34 | |
Current Reader Protocol : 0x1 | |
Current Reader ATR Size : 25 (0x19) | |
Current Reader ATR Value : 3B FF 13 00 00 81 31 FE 45 4F 57 4F 4B 31 30 2D 4A 33 31 34 30 32 34 31 AC | |
Testing SCardDisconnect : Command successful. | |
Testing SCardReleaseContext : Command successful. | |
Testing SCardEstablishContext : Command successful. | |
Testing SCardGetStatusChange | |
Please insert a working reader : Command successful. | |
Testing SCardListReaders : Command successful. | |
Reader 01: REINER SCT cyberJack RFID komfort 00 00 | |
Enter the reader number : 01 | |
Waiting for card insertion | |
: Command successful. | |
Testing SCardConnect : Command successful. | |
Testing SCardStatus : Command successful. | |
Current Reader Name : REINER SCT cyberJack RFID komfort 00 00 | |
Current Reader State : 0x34 | |
Current Reader Protocol : 0x1 | |
Current Reader ATR Size : 25 (0x19) | |
Current Reader ATR Value : 3B FF 13 00 00 81 31 FE 45 4F 57 4F 4B 31 30 2D 4A 33 31 34 30 32 34 31 AC | |
Testing SCardDisconnect : Command successful. | |
Testing SCardReleaseContext : Command successful. | |
PC/SC Test Completed Successfully ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment