lulufei / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

reading ARA-M with gemalto card fails #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem?

when trying to read ARA-M access rules when access rules are longer than 255 . 
6985 error is returned in the last getData (next)
What steps will reproduce the problem?
1.select ARA-M
2.get data (FF40)
3.get data (next) (FF60)
4.get data (next) returned 6985

What is the expected output? What do you see instead?
calling get data (next) once with Le equal to the available data . the error is 
happening because we tried to read data (next) when all the available data has 
been read 

What version of the product are you using? On what operating system?
Scapi 3.0 on Android 4.1 samsung galaxy s3

Please provide any additional information below.

more logs attached 

Original issue reported on code.google.com by khalfaou...@gmail.com on 23 Sep 2014 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago
Based on GP Secure Element Access Control spec, you should be able to get the 
data length from the GET DATA "FF 40" response.

To your case, the "82 01 4C" is the length of the response data.

Hope it helps.

Original comment by danny.w....@gmail.com on 26 Nov 2014 at 5:23