Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Apdu may be illegel

JavaCard Applet Development Related Questions and Answers.
hinata
Posts: 5
Joined: Sun Nov 13, 2016 9:32 am
Points :76
Contact:

Apdu may be illegel

Post by hinata » Wed Nov 16, 2016 1:50 pm

I play around with some Ecdsa codes when I got this error in debugshell command..

Code: Select all

>> /send 00D3020030350218345FBACE367196E4FEF900CA6CFB7B410621BABA1B28AF660219009DC2B6ECCB7CDE2855E88F6FD8D0B2349588AB503087C45E
>> 00 D3 02 00 30 35 02 18 34 5F BA CE 36 71 96 E4 FE F9 00 CA 6C FB 7B 41 06 21 BA BA 1B 28 AF 66 02 19 00 9D C2 B6 EC CB 7C DE 28 55 E8 8F 6F D8 D0 B2 34 95 88 AB 50 30 87 C4 5E
<< 90 00

Apdu may be illegel.Decoding conventions for command APDU should obey the rule in  7816-3  section 12.1.3


What does it mean, Apdu may be illegel.Decoding conventions for command APDU should obey the rule in 7816-3 section 12.1.3...?

But the code is still works, right? :')

Thank you in advance.

wumindejia
Posts: 55
Joined: Thu Sep 22, 2016 5:05 am
Points :784
Contact:

Re: Apdu may be illegel

Post by wumindejia » Wed Nov 16, 2016 9:56 pm

00D3020030350218345FBACE367196E4FEF900CA6CFB7B410621BABA1B28AF660219009DC2B6ECCB7CDE2855E88F6FD8D0B2349588AB503087C45E
00D30200 30 :length of the data field is 48,but "350218345FBACE367196E4FEF900CA6CFB7B410621BABA1B28AF660219009DC2B6ECCB7CDE2855E88F6FD8D0B2349588AB503087C45E" the length is 54.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Apdu may be illegel

Post by UNKNwYSHSA » Wed Nov 16, 2016 10:02 pm

I usually use pyApdutool. Input data field, the LC is automatically calculated.
You do not have the required permissions to view the files attached to this post. Please login first.
sense and simplicity

hinata
Posts: 5
Joined: Sun Nov 13, 2016 9:32 am
Points :76
Contact:

Re: Apdu may be illegel

Post by hinata » Wed Nov 16, 2016 10:04 pm

oh. thank you @wumindejia and @UNKNwYSHSA

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Apdu may be illegel

Post by UNKNwYSHSA » Wed Nov 16, 2016 10:13 pm

:D
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 63 guests

JavaCard OS : Disclaimer