amheydari / cardpeek

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

Mifare reader fails after UID read #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to read mifare clasic 1K card with cardpeak 0.8 using Gemalto Prox 
Dual reader. After UID read mifare script stops and following error is 
displayed on status bar:
0036 ERROR   backtrace: called at [string "mifare reader.lua"]

I have tried with cardpeek compiled from source on 64 bit Linux and with 
provided installer on Windows 7 64 bit.

Full log output:
0000 INFO    Adding atr.lua script to menu
0001 INFO    Adding belgian eID.lua script to menu
0002 INFO    Adding calypso.lua script to menu
0003 INFO    Adding emv.lua script to menu
0004 INFO    Adding e-passport.lua script to menu
0005 INFO    Adding gsm (beta).lua script to menu
0006 INFO    Adding mifare reader.lua script to menu
0007 INFO    Adding moneo.lua script to menu
0008 INFO    Adding vitale_2.lua script to menu
0009 INFO    Running Cardpeek 0.8 on Linux 3.11.0-12-generic x86_64
0010 DEBUG   Found directory '/home/vasil/.cardpeek/'
0011 DEBUG   Scripts are up to date.
0012 DEBUG   Lua is loaded.
0013 DEBUG   Loading configuration script /home/vasil/.cardpeek/config.lua
0014 DEBUG   Running user configuration script 
/home/vasil/.cardpeek/cardpeekrc.lua
0015 DEBUG   Found 4 PCSC readers
0016 INFO    Selected 'pcsc://Gemalto Prox Dual USB PC LinkReader [Prox-DU 
Contactless_12400310] 01 00'
0017 DEBUG   smartcard_list.txt will be scheduled for update in less than a day.
0018 WARNING The script 'mifare reader.lua' does not contain version 
information, and may use an older incompatible API
0019 WARNING To remove this warning, add the following line at the begining of 
'mifare reader.lua':
     -- @targets 0.8
0020 INFO    Running script mifare reader.lua (please wait)
0021 DEBUG   Attempting to connect to 'pcsc://Gemalto Prox Dual USB PC 
LinkReader [Prox-DU Contactless_12400310] 01 00'
0022 INFO    Reader maximum input length is 502 bytes
0023 INFO    Connection successful, protocol is T=1
0024 INFO    ATR is 20 bytes: 3B8F8001804F0CA000000306030001000000006A
0025 INFO    send: FF82200A06A0A1A2A3A4A5 [3S]
0026 INFO    Recv: 9000  [Normal processing]
0027 INFO    send: FF82200B06B0B1B2B3B4B5 [3S]
0028 INFO    Recv: 9000  [Normal processing]
0029 INFO    send: FF82200F06FFFFFFFFFFFF [3S]
0030 INFO    Recv: 9000  [Normal processing]
0031 INFO    send: FFCA000000 [2S]
0032 INFO    Recv: 9000 7E68B8A6 [Normal processing]
0033 ERROR   node.append() takes at most two arguments: a parent and either a 
classname or a table.
0034 ERROR   backtrace: called from append()
0035 ERROR   backtrace: called from MIFARE_scan() in [string "mifare 
reader.lua"][131]
0036 ERROR   backtrace: called at [string "mifare reader.lua"]

Original issue reported on code.google.com by vba...@gmail.com on 7 Nov 2013 at 1:58

GoogleCodeExporter commented 9 years ago
This is mistake on my part: unfortunately, after changing the Cardpeek API in 
0.8, it seems I forgot to upgrade the mifare script. Someone already sent me a 
patch by email and I will integrate it in Cardpeek 0.8.1…

Original comment by L...@gmx.com on 11 Nov 2013 at 5:53

GoogleCodeExporter commented 9 years ago
This should be fixed in the new version of Cardpeek (0.8.1).

Original comment by L...@gmx.com on 24 Nov 2013 at 4:56