nagyistoce / cardpeek

Automatically exported from code.google.com/p/cardpeek
Other
1 stars 0 forks source link

Navigo card "doesn't seem to react to file selection commands" #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
**What steps will reproduce the problem?**

1. Click on "Analyzer", select "Calypso"
2. Insert the Navigo card in the SmartCard Reader

**What is the expected output? What do you see instead?**

I'm expecting to see something like in this screenshot:
[cardpeek.googlecode.com/files/sample-navigo.jpg]

Instead, I see the error message: "This script may not work: this card doesn't 
seem to react to file selection commands" then "Connection to card failed"

It successfully reads the cold ATR and the Card Number, though.

**What version of the product are you using? On what operating system?**

I'm using Cardpeek 0.7.1, on Windows Vista Home Premium and Windows Seven Home 
Premium

**Please provide any additional information below.**

I tried on two different computers, with several Navigo cards.

My SmartCard reader is a "Teo by Xiring"

Here's the log:
_____________________________________________
0000 INFO    Adding atr.lua script to menu
0001 INFO    Adding calypso.lua script to menu
0002 INFO    Adding e-passport.lua script to menu
0003 INFO    Adding emv.lua script to menu
0004 INFO    Adding gsm (beta).lua script to menu
0005 INFO    Adding mifare reader.lua script to menu
0006 INFO    Adding moneo.lua script to menu
0007 INFO    Adding vitale_2.lua script to menu
0008 DEBUG   Found directory 'C:\Users\SB\AppData\Roaming/.cardpeek'
0009 DEBUG   Scripts are up to date.
0010 DEBUG   Lua is loaded.
0011 DEBUG   Running configuration script 
C:\Users\SB\AppData\Roaming/.cardpeek/config.lua
0012 DEBUG   Found 1 PCSC readers
0013 INFO    Selected 'pcsc://SCM Microsystems Inc. SCR35xx USB Smart Card 
Reader 0'
0014 INFO    Running script calypso.lua (please wait)
0015 INFO    Waiting for card to be present (current state:  Changed state, 
Card removed)...
0016 INFO    Waiting for card to be present (current state:  Changed state, 
Card removed)...
0017 INFO    Waiting for card to be present (current state:  Changed state, 
Card removed)...
0018 INFO    Waiting for card to be present (current state:  Changed state, 
Card removed)...
0019 DEBUG   Attempting to connect to 'pcsc://SCM Microsystems Inc. SCR35xx USB 
Smart Card Reader 0'
0020 DEBUG   Could not determinate reader maximum input length
0021 INFO    Connection successful, protocol is T=0
0022 INFO    ATR is 19 bytes: 3B6F0000805AXXXXXXXXXXXXXXXXXXXXXXXXXX
0023 INFO    ATR is 19 bytes: 3B6F0000805AXXXXXXXXXXXXXXXXXXXXXXXXXX
0024 INFO    ATR is 19 bytes: 3B6F0000805AXXXXXXXXXXXXXXXXXXXXXXXXXX
0025 INFO    send: 94A40000022010 [3S]
0026 ERROR   Failed to transmit command to card [Unknown error (0x000006F7)]
0027 INFO    Recv: 6FFF  [Cardpeek application-level error]
0028 INFO    send: 94A408000420002010 [3S]
0029 ERROR   Failed to transmit command to card [Unknown error (0x000006F7)]
    //this error is repeated 22 times//
0090 INFO    Recv: 6FFF  [Cardpeek application-level error]
0091 WARNING Could not find data in 'Environement'
0092 ERROR   (DEBUG) [string "calypso.lua"]:168: attempt to concatenate local 
'country' (a boolean value)
0093 ERROR   Called from calypso_process
0094 ERROR   Runtime error in calypso.lua
_____________________________________________

Original issue reported on code.google.com by subwaybu...@gmail.com on 14 Sep 2012 at 12:12

GoogleCodeExporter commented 9 years ago
**What steps will reproduce the problem?**

1. Click on "Analyzer", select "Calypso"
2. Insert the Navigo card in the SmartCard Reader

**What is the expected output? What do you see instead?**

I've the same problem with the SmartCard reader "Teo by Xiring" as 
subwaybu...@gmail.com
I have the same error all the time with all cards :
"# Cardpeek application-level error"

On Ubuntu with vmware : 
0000 INFO    Adding atr.lua script to menu
0001 INFO    Adding calypso.lua script to menu
0002 INFO    Adding emv.lua script to menu
0003 INFO    Adding e-passport.lua script to menu
0004 INFO    Adding gsm (beta).lua script to menu
0005 INFO    Adding mifare reader.lua script to menu
0006 INFO    Adding moneo.lua script to menu
0007 INFO    Adding vitale_2.lua script to menu
0008 DEBUG   Found directory '/home/XXX/.cardpeek'
0009 DEBUG   Scripts are up to date.
0010 DEBUG   Lua is loaded.
0011 DEBUG   Running configuration script /home/XXX/.cardpeek/config.lua
0012 DEBUG   Found 1 PCSC readers
0013 INFO    Selected 'pcsc://VMware Virtual USB CCID 00 00'
0014 INFO    Running script vitale_2.lua (please wait)
0015 DEBUG   Attempting to connect to 'pcsc://VMware Virtual USB CCID 00 00'
0016 INFO    Reader maximum input length is 261 bytes
0017 INFO    Connection successful, protocol is T=0
0018 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0019 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0020 INFO    send: 00A404000BD250000002564954414C45 [3S]
0021 INFO    Recv: 611F  [More bytes available (see SW2)]
0022 INFO    send: 00C000001F [2S]
0023 ERROR   Failed to transmit command to card [Transaction failed.]
0024 INFO    Recv: 6FFF  [Cardpeek application-level error]
0025 INFO    Disconnected reader

On windows : 

0000 INFO    Adding atr.lua script to menu
0001 INFO    Adding calypso.lua script to menu
0002 INFO    Adding e-passport.lua script to menu
0003 INFO    Adding emv.lua script to menu
0004 INFO    Adding gsm (beta).lua script to menu
0005 INFO    Adding mifare reader.lua script to menu
0006 INFO    Adding moneo.lua script to menu
0007 INFO    Adding vitale_2.lua script to menu
0008 DEBUG   Found directory 'C:\Users\XXX\AppData\Roaming/.cardpeek'
0009 DEBUG   Scripts are up to date.
0010 DEBUG   Lua is loaded.
0011 DEBUG   Running configuration script 
C:\Users\XXX\AppData\Roaming/.cardpeek/config.lua
0012 DEBUG   Found 1 PCSC readers
0013 INFO    Selected 'pcsc://SCM Microsystems Inc. SCR35xx USB Smart Card 
Reader 0'
0014 INFO    Running script vitale_2.lua (please wait)
0015 DEBUG   Attempting to connect to 'pcsc://SCM Microsystems Inc. SCR35xx USB 
Smart Card Reader 0'
0016 DEBUG   Could not determinate reader maximum input length
0017 INFO    Connection successful, protocol is T=0
0018 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0019 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0020 INFO    send: 00A404000BD250000002564954414C45 [3S]
0021 ERROR   Failed to transmit command to card [Unknown error (0x000006F7)]
0022 INFO    Recv: 6FFF  [Cardpeek application-level error]
0023 INFO    Disconnected reader

On windows I've one step less : I haven't the step 20 and 21 like with linux 
(this is not happening : "0020 INFO    send: 00A404000BD250000002564954414C45 
[3S]
0021 INFO    Recv: 611F  [More bytes available (see SW2)]" )

What I've to do ?

maybe the "teo by xiring smart card reader" is not able to do this ?
(this is the web site of this reader : 
http://teobyxiring.fr/Le_lecteur_de_carte_a_puce_Teo_by_XIRING-Support-technique
.aspx )

**Please provide any additional information below.**
I've tried with only one reader, but two OS (windows and linux)
I can't read any card (but with other software it's work)

Original comment by poufic...@gmail.com on 4 Dec 2012 at 5:38

GoogleCodeExporter commented 9 years ago
I tried to use the website https://rechargercommandernavigo.fr/
which basically provide online consultation and charging for the Navigo card.
(The RATP provide the reader for 7,00€)
I followed the instructions and it said that "my card wasn't properly inserted 
in the reader" (it couldn't detect it).

So I guess that cardpeek has nothing to do with it and that the Teo by Xiring 
reader unfortunately doesn't work with Navigo cards :/
Let me (us) know if you find a solution.

Original comment by subwaybu...@gmail.com on 4 Dec 2012 at 9:15

GoogleCodeExporter commented 9 years ago
I've tried with a windows XP SP3 32 bits and it work great ! sorry

Original comment by poufic...@gmail.com on 19 Dec 2012 at 7:34

GoogleCodeExporter commented 9 years ago
Subway, I've the same message(this card doesn't seem to react to file selection 
commands) but with the "official" contact reader from the RATP (W1981 by 
Watchdata).

This message appear when I use the script Calypso.lua
Same as you I can read the ATR and the card number.

But I can go on https://rechargercommandernavigo.fr/ without problem.

Original comment by chibi...@gmail.com on 22 Feb 2013 at 11:17

GoogleCodeExporter commented 9 years ago
Cardpeek is unfortunately incompatible with Windows 64 bit platforms. This may 
explain some of the issues decribed here.
I hope that the text version of Cardpeek will be fully 64bit compatible.

Original comment by L...@gmx.com on 27 Feb 2013 at 3:47

GoogleCodeExporter commented 9 years ago
I have downloaded the latest release 0.7.2 and it works fine on (my) Windows 7 
64 bit.
Previous releases failed.

Thanks to L1L1

Original comment by ngc...@gmail.com on 3 May 2013 at 6:18

GoogleCodeExporter commented 9 years ago
The latest build 0.7.2 (on Windows 7 64-bit) fixed it for me too :)

Original comment by Anthony....@gmail.com on 7 May 2013 at 9:40

GoogleCodeExporter commented 9 years ago
All this is good news. Thanks for the feedback. I'll close this issue now.

Original comment by L...@gmx.com on 7 May 2013 at 10:56

GoogleCodeExporter commented 9 years ago
I recently used cardpeek 8.1 on windows vista home 32 bit and I got the problem.

Original comment by cece...@gmail.com on 15 Jan 2015 at 2:06