chemoor / javaemvreader

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

Always get response "67 00" #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I use this library with oracle java-7, and always get response hex "67 00".

The problem seems to be the missing Le-Field in the APDU, so for example 
instead of

[Step 3] SELECT FILE Master File by identifier (if available)
---------------------------------------------------------------------
00 A4 00 00 02 3F 00

it should be sent

[Step 3] SELECT FILE Master File by identifier (if available)
---------------------------------------------------------------------
00 A4 00 00 02 3F 00 00

which results in correct "90 00" response

Original issue reported on code.google.com by folkyvolk@googlemail.com on 22 Oct 2012 at 10:23

GoogleCodeExporter commented 8 years ago
Thanks for the report. This has been fixed, but not committed to google code 
yet.

Original comment by sasc...@gmail.com on 29 Oct 2012 at 7:23