The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

change package-AID but download and install successfully

JavaCard Applet Development Related Questions and Answers.
User avatar
conliaOdk
Posts: 20
Joined: Fri Aug 14, 2015 4:56 am
Points :9
Contact:

change package-AID but download and install successfully

Post by conliaOdk » Tue Aug 18, 2015 2:46 am

I used JCIDE to debug my applet with the package's AID=0102030405 and applet'AID=010203040501. And converted my applet to .cap file.

Then I change my package's AID via WinHex, as follows:
original AID:

changed AID:

After that I used pyApdutool to download and install the .cap file.In my opinion,it wouldn't succeed at all. Unexpectedly, 90 00. What a strange issue!
download:

install:

I have changed the package's AID,that is the first 5 bytes of package'AID and applet'AID are not equal. Why succeed?

Can anyone clarify my doubts? any help is appreciated!

Addtionally, I also tried to change the package- AID' length- 91 82 73 64 55 32,it download successfully either!
You do not have the required permissions to view the files attached to this post. Please login first.

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :136
Contact:

Re: change package-AID but download and install successfully

Post by horse dream » Tue Aug 18, 2015 3:44 am

A very interesting issue. Maybe it results from card implementation. I'm not sure.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer