mapping of APDU case 4E in python CAPDU class
Closed this issue · 1 comments
sebastien-riou commented
currently CASE 4E APDU generates the following hexstr representations:
- CLA INS P1 P2 LC DATA 00 LE2
- CLA INS P1 P2 00 LC2 DATA LE
- CLA INS P1 P2 00 LC2 DATA 00 LE2
It seems only CLA INS P1 P2 00 LC2 DATA LE2
is mentionned in ISO7816-3, section 12.1.3.
other formats shall be removed from the CAPDU to bytes/hexstr functions. We can nevertheless keep the support for those formats in the other direction (generate standard stuff as output, tolerate reasonable variation around the standard as input).
sebastien-riou commented
fixed by 0256f58