py_emv_utils icon indicating copy to clipboard operation
py_emv_utils copied to clipboard

Errors on reading some cards

Open michaeleliperez opened this issue 5 years ago • 0 comments

Hi, Ive been able to read a bunch of my cards but for some reason it gives me 2 different errors for 2 different cards.

[1] readers present. reader 1 - OMNIKEY AG 3121 USB 00 00 : card is present using card found in OMNIKEY AG 3121 USB 00 00 Attempting to Select PSE DIRECTORY DEFINITION FILE = 1PAY.SYS.DDF01 STATUS: error - Wrong parameter(s) P1 P2; file not found. SW1:SW2 = 6A-82, len(data) = 0 Error - no PSE / file not found Traceback (most recent call last): File "emv_interrogator.py", line 318, in main() File "emv_interrogator.py", line 310, in main locate_chips_and_interrogate() File "emv_interrogator.py", line 300, in locate_chips_and_interrogate interrogate(connxn) File "emv_interrogator.py", line 16, in interrogate aid = [ord(x) for x in aid] File "emv_interrogator.py", line 16, in aid = [ord(x) for x in aid] TypeError: ord() expected string of length 1, but int found

the second one is


App Label = 'Debit MasterCard', AID = A0.00.00.00.04.10.10, Terminal Lookup Name = US Debit (MC),Mastercard credit or debit

! Unknown PDOL Tag 9F06 Traceback (most recent call last): File "emv_interrogator.py", line 318, in main() File "emv_interrogator.py", line 310, in main locate_chips_and_interrogate() File "emv_interrogator.py", line 300, in locate_chips_and_interrogate interrogate(connxn) File "emv_interrogator.py", line 59, in interrogate afl, aip_byte_list = get_afl_aip_via_processing_options(connection, pdol) File "/home/michael/Downloads/py_emv_utils-master/emv_utils.py", line 273, in get_afl_aip_via_processing_options raise Exception(msg) Exception: ! Unknown PDOL Tag 9F06

Any ideas on what this could be Thank you.

michaeleliperez avatar Jun 01 '19 08:06 michaeleliperez