kaoh / globalplatform

C library + command-line for Open- / GlobalPlatform smart cards
https://kaoh.github.io/globalplatform/
Other
72 stars 30 forks source link

GP211_store_data sets Lc/P3 to 0 incorrectly. #4

Closed kaoh closed 4 years ago

kaoh commented 17 years ago

store_data -storeData 4205A000000068 // GP2.1.1, p.137, 9.11 STORE DATA Command, Tag '45': Issuer Identification Number Store Data (7): 42 05 A0 00 00 00 68 --> 80E2800000 <-- 6E00 store_data() returns 0x80206E00 (6E00: Wrong CLA byte.)

Lc/P3 should be 7 for the example above.

Reported by: rpao

kaoh commented 17 years ago

Logged In: YES user_id=59611 Originator: YES

http://sourceforge.net/tracker/index.php?func=detail&aid=1682532&group_id=143343&atid=755203

Original comment by: rpao