nagyistoce / cardpeek

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

Cardpeek only read the first EMV application when using PSE #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insert a multi-AID PSE containing card 
2. Use the EMV script to dump it

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

Only the first application is dumped.

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

0.8.2 on linux

Please provide any additional information below.

This seems like a simple regression. The current processing of PSE will 
correctly iterate through all records of the PSE, but will only process the 
first tag 4F of each record. Adding a simple for loop over the 4F records (like 
is done in PPSE) will add all the applications.

Original issue reported on code.google.com by nuutti.k...@gmail.com on 6 Jun 2014 at 7:08

GoogleCodeExporter commented 9 years ago
Many thanks for the bug report. All the cards I came across always had one tag 
4F per record, so I missed this.

I've attempted to fix this in SVN revision 569. This can be tested by using the 
attached EMV script in place of the original emv.lua scriot. I was not able to 
test if the fix effectively solves the problem however.

Original comment by L...@gmx.com on 8 Jun 2014 at 5:54

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by L...@gmx.com on 8 Jun 2014 at 5:54

GoogleCodeExporter commented 9 years ago
Fix works, tested on a multi AID card.

Original comment by nuutti.k...@gmail.com on 9 Jun 2014 at 10:37

GoogleCodeExporter commented 9 years ago
OK. I will close this issue.

Original comment by L...@gmx.com on 29 Jun 2014 at 4:34