jay-to-the-dee / javaemvreader

Automatically exported from Google Code as a backup - I am NOT the original author!

Home Page:https://code.google.com/p/javaemvreader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal authenticate fails for some cards

GoogleCodeExporter opened this issue · comments

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:

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

  • Changed state: Started

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

  • Added labels: Priority-High
  • Removed labels: Priority-Medium
Fixed in the latest version (0.4.0)

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

  • Changed state: Fixed