ibgithub / javaemvreader

Automatically exported from code.google.com/p/javaemvreader
Apache License 2.0
4 stars 5 forks source link

Internal authenticate fails for some cards #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For some cards (for example, Maestro issued in the Netherlands), the INTERNAL 
AUTHENTICATE command fails (with code "69 85 - Command not allowed; conditions 
of use not satisfied") if not issued immediatly after READ RECORD(s).

To solve the problem, the Offline Data Authentication step must be executed 
immediatly after Read Application Data and before any other methods such as GET 
DATA.

I have attached a patch that reverses the order of INTERNAL AUTHENTICATE and 
GET DATA in the Explorer class.

Original issue reported on code.google.com by doruc...@gmail.com on 9 Nov 2012 at 10:17

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sasc...@gmail.com on 9 Nov 2012 at 7:51

GoogleCodeExporter commented 9 years ago

Original comment by sasc...@gmail.com on 9 Nov 2012 at 7:53

GoogleCodeExporter commented 9 years ago
Fixed in the latest version (0.4.0)

Original comment by sasc...@gmail.com on 17 Nov 2012 at 9:28